| 83 | |
| 84 | |
| 85 | TEST_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 | |
| 106 | TEST_F(PathsTest, ParseExecutorRunPath) |
nothing calls this directly
no test coverage detected