Source code
Revision control
Copy as Markdown
Other Tools
/* Any copyright is dedicated to the Public Domain.
#include "gtest/gtest.h"
extern "C" {
void Rust_SkvStoreTestUnderMaintenance();
void Rust_SkvStoreTestClosingDuringMaintenance();
void Rust_SkvStoreTestMaintenanceSucceeds();
void Rust_SkvStoreTestMaintenanceFails();
void Rust_SkvStoreTestRenamesCorruptDatabaseFile();
} // extern "C"
TEST(SkvStoreTest, UnderMaintenance)
{ Rust_SkvStoreTestUnderMaintenance(); }
TEST(SkvStoreTest, ClosingDuringMaintenance)
{ Rust_SkvStoreTestClosingDuringMaintenance(); }
TEST(SkvStoreTest, MaintenanceSucceeds)
{ Rust_SkvStoreTestMaintenanceSucceeds(); }
TEST(SkvStoreTest, MaintenanceFails)
{ Rust_SkvStoreTestMaintenanceFails(); }
TEST(SkvStoreTest, RenamesCorruptDatabaseFile)
{ Rust_SkvStoreTestRenamesCorruptDatabaseFile(); }