MCPcopy Create free account
hub / github.com/apache/mesos / TEST_F

Function TEST_F

src/tests/paths_tests.cpp:85–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84
85TEST_F(PathsTest, CreateExecutorDirectory)
86{
87 Try<string> result = paths::createExecutorDirectory(
88 rootDir, slaveId, frameworkId, executorId, containerId);
89
90 // Expected directory layout.
91 string dir = path::join(
92 rootDir,
93 "slaves",
94 slaveId.value(),
95 "frameworks",
96 frameworkId.value(),
97 "executors",
98 executorId.value(),
99 "runs",
100 containerId.value());
101
102 ASSERT_SOME_EQ(dir, result);
103}
104
105
106TEST_F(PathsTest, ParseExecutorRunPath)

Callers

nothing calls this directly

Calls 15

createExecutorDirectoryFunction · 0.85
getExecutorRunPathFunction · 0.85
getExecutorPathFunction · 0.85
parseExecutorRunPathFunction · 0.85
getMetaRootDirFunction · 0.85
getProvisionerDirFunction · 0.85
getBootIdPathFunction · 0.85
getLatestSlavePathFunction · 0.85
getSlavePathFunction · 0.85
getFrameworkPathFunction · 0.85
getLibprocessPidPathFunction · 0.85
getTaskPathFunction · 0.85

Tested by

no test coverage detected