#include "components/history/core/browser/url_database.h"
#include <limits>
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "components/history/core/browser/features.h"
#include "components/history/core/browser/keyword_search_term.h"
#include "components/history/core/browser/keyword_search_term_util.h"
#include "sql/database.h"
#include "testing/gtest/include/gtest/gtest.h"
Time;
namespace history {
namespace {
bool IsURLRowEqual(const URLRow& a,
const URLRow& b) { … }
}
class URLDatabaseTest : public testing::Test,
public URLDatabase { … };
TEST_F(URLDatabaseTest, AddAndUpdateURL) { … }
TEST_F(URLDatabaseTest, KeywordSearchTerms_Prefix) { … }
TEST_F(URLDatabaseTest, KeywordSearchTerms_ZeroPrefix) { … }
TEST_F(URLDatabaseTest, KeywordSearchTerms_MostRepeated) { … }
TEST_F(URLDatabaseTest, DeleteURLDeletesKeywordSearchTermVisit) { … }
TEST_F(URLDatabaseTest, EnumeratorForSignificant) { … }
TEST_F(URLDatabaseTest, GetAndDeleteKeywordSearchTermByTerm) { … }
TEST_F(URLDatabaseTest, MigrationURLTableForAddingAUTOINCREMENT) { … }
TEST_F(URLDatabaseTest, URLTableContainsAUTOINCREMENTTest) { … }
TEST_F(URLDatabaseTest, CreateTemporaryURLTableDropsExistingTable) { … }
}