#include "components/autofill/core/browser/strike_databases/strike_database.h"
#include <utility>
#include <vector>
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/autofill/core/browser/proto/strike_data.pb.h"
#include "components/leveldb_proto/public/proto_database.h"
#include "components/leveldb_proto/public/proto_database_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
namespace {
class TestStrikeDatabase : public StrikeDatabase { … };
}
class StrikeDatabaseTest : public ::testing::Test { … };
TEST_F(StrikeDatabaseTest, GetStrikesForMissingKeyTest) { … }
TEST_F(StrikeDatabaseTest, GetStrikeForNonZeroStrikesTest) { … }
TEST_F(StrikeDatabaseTest, ClearStrikesForMissingKeyTest) { … }
TEST_F(StrikeDatabaseTest, ClearStrikesForNonZeroStrikesTest) { … }
TEST_F(StrikeDatabaseTest, ClearStrikesForMultipleNonZeroStrikesTest) { … }
TEST_F(StrikeDatabaseTest, ClearStrikesForMultipleNonZeroStrikesEntriesTest) { … }
TEST_F(StrikeDatabaseTest, ClearAllProtoStrikesTest) { … }
TEST_F(StrikeDatabaseTest, GetAllStrikeKeysForProject) { … }
TEST_F(StrikeDatabaseTest, ClearStrikesForKeys) { … }
TEST_F(StrikeDatabaseTest, LastUpdateTimestamp) { … }
}