#include "components/send_tab_to_self/send_tab_to_self_entry.h"
#include <memory>
#include "base/strings/utf_string_conversions.h"
#include "base/test/gtest_util.h"
#include "base/test/simple_test_tick_clock.h"
#include "components/send_tab_to_self/proto/send_tab_to_self.pb.h"
#include "components/sync/protocol/send_tab_to_self_specifics.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace send_tab_to_self {
namespace {
bool IsEqualForTesting(const SendTabToSelfEntry& a,
const SendTabToSelfEntry& b) { … }
bool IsEqualForTesting(const SendTabToSelfEntry& entry,
const sync_pb::SendTabToSelfSpecifics& specifics) { … }
TEST(SendTabToSelfEntry, CompareEntries) { … }
TEST(SendTabToSelfEntry, SharedTime) { … }
TEST(SendTabToSelfEntry, AsProto) { … }
TEST(SendTabToSelfEntry, FromRequiredFields) { … }
TEST(SendTabToSelfEntry, FromProto) { … }
TEST(SendTabToSelfEntry, IsExpired) { … }
TEST(SendTabToSelfEntry, InvalidStrings) { … }
TEST(SendTabToSelfEntry, MarkAsOpened) { … }
}
}