| 2053 | } |
| 2054 | |
| 2055 | void TestMoveContainerToPath() { |
| 2056 | auto data = SetUpPreexistingData(); |
| 2057 | ASSERT_MOVE("missing-container", data.ContainerPath("new-subdir"), ENOENT); |
| 2058 | EXPECT_RAISES_WITH_MESSAGE_THAT( |
| 2059 | Invalid, |
| 2060 | HasDirMoveToSubdirMessage(data.container_name, data.ContainerPath("new-subdir")), |
| 2061 | fs()->Move(data.container_name, data.ContainerPath("new-subdir"))); |
| 2062 | EXPECT_RAISES_WITH_MESSAGE_THAT( |
| 2063 | NotImplemented, |
| 2064 | HasCrossContainerNotImplementedMessage(data.container_name, |
| 2065 | "missing-container/new-subdir"), |
| 2066 | fs()->Move(data.container_name, "missing-container/new-subdir")); |
| 2067 | } |
| 2068 | |
| 2069 | void TestCreateContainerFromPath() { |
| 2070 | auto data = SetUpPreexistingData(); |
nothing calls this directly
no test coverage detected