MCPcopy Create free account
hub / github.com/ElementsProject/elements / TmpDir

Function TmpDir

src/leveldb/util/testharness.cc:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64std::string TmpDir() {
65 std::string dir;
66 Status s = Env::Default()->GetTestDirectory(&dir);
67 ASSERT_TRUE(s.ok()) << s.ToString();
68 return dir;
69}
70
71int RandomSeed() {
72 const char* env = getenv("TEST_RANDOM_SEED");

Callers 11

TESTFunction · 0.85
NewDBMethod · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
RecoveryTestMethod · 0.85
DBTestMethod · 0.85
TESTFunction · 0.85
BM_LogAndApplyFunction · 0.85
AutoCompactTestMethod · 0.85
FaultInjectionTestMethod · 0.85

Calls 2

GetTestDirectoryMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected