#include "components/services/storage/indexed_db/scopes/leveldb_scopes_tasks.h"
#include <limits>
#include "base/functional/callback_helpers.h"
#include "base/strings/stringprintf.h"
#include "components/services/storage/indexed_db/scopes/leveldb_scopes_coding.h"
#include "components/services/storage/indexed_db/scopes/leveldb_scopes_test_utils.h"
#include "components/services/storage/indexed_db/scopes/scopes_metadata.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace {
class LevelDBScopesTasksTest : public LevelDBScopesTestBase { … };
TEST_F(LevelDBScopesTasksTest, CleanupExecutesTasks) { … }
TEST_F(LevelDBScopesTasksTest, CleanupDeletesAllScopeKeys) { … }
TEST_F(LevelDBScopesTasksTest, CleanupIgnoresTasks) { … }
TEST_F(LevelDBScopesTasksTest, CleanupAbortsOnDestructionRequested) { … }
TEST_F(LevelDBScopesTasksTest, RevertExecutesTasks) { … }
TEST_F(LevelDBScopesTasksTest, RevertOnlyDeletesUndoLog) { … }
TEST_F(LevelDBScopesTasksTest, RevertAndCleanup) { … }
TEST_F(LevelDBScopesTasksTest, ErrorsDuringCleanupArePropagated) { … }
TEST_F(LevelDBScopesTasksTest, ErrorsDuringRevertArePropagated) { … }
}
}