#include "leveldb/env.h"
#include <algorithm>
#include "gtest/gtest.h"
#include "port/port.h"
#include "port/thread_annotations.h"
#include "util/mutexlock.h"
#include "util/testutil.h"
namespace leveldb {
class EnvTest : public testing::Test { … };
TEST_F(EnvTest, ReadWrite) { … }
TEST_F(EnvTest, RunImmediately) { … }
TEST_F(EnvTest, RunMany) { … }
struct State { … };
static void ThreadBody(void* arg) { … }
TEST_F(EnvTest, StartThread) { … }
TEST_F(EnvTest, TestOpenNonExistentFile) { … }
TEST_F(EnvTest, ReopenWritableFile) { … }
TEST_F(EnvTest, ReopenAppendableFile) { … }
}