chromium/third_party/leveldatabase/src/db/corruption_test.cc

// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.

#include <sys/types.h>

#include "gtest/gtest.h"
#include "db/db_impl.h"
#include "db/filename.h"
#include "db/log_format.h"
#include "db/version_set.h"
#include "leveldb/cache.h"
#include "leveldb/db.h"
#include "leveldb/table.h"
#include "leveldb/write_batch.h"
#include "util/logging.h"
#include "util/testutil.h"

namespace leveldb {

static const int kValueSize =;

class CorruptionTest : public testing::Test {};

TEST_F(CorruptionTest, Recovery) {}

TEST_F(CorruptionTest, RecoverWriteError) {}

TEST_F(CorruptionTest, NewFileErrorDuringWrite) {}

TEST_F(CorruptionTest, TableFile) {}

TEST_F(CorruptionTest, TableFileRepair) {}

TEST_F(CorruptionTest, TableFileIndexData) {}

TEST_F(CorruptionTest, MissingDescriptor) {}

TEST_F(CorruptionTest, SequenceNumberRecovery) {}

TEST_F(CorruptionTest, CorruptedDescriptor) {}

TEST_F(CorruptionTest, CompactionInputError) {}

TEST_F(CorruptionTest, CompactionInputErrorParanoid) {}

TEST_F(CorruptionTest, UnrelatedKeys) {}

}  // namespace leveldb