| 2033 | } |
| 2034 | |
| 2035 | void TestMoveContainerToPath() { |
| 2036 | auto data = SetUpPreexistingData(); |
| 2037 | ASSERT_MOVE("missing-container", data.ContainerPath("new-subdir"), ENOENT); |
| 2038 | EXPECT_RAISES_WITH_MESSAGE_THAT( |
| 2039 | Invalid, |
| 2040 | HasDirMoveToSubdirMessage(data.container_name, data.ContainerPath("new-subdir")), |
| 2041 | fs()->Move(data.container_name, data.ContainerPath("new-subdir"))); |
| 2042 | EXPECT_RAISES_WITH_MESSAGE_THAT( |
| 2043 | NotImplemented, |
| 2044 | HasCrossContainerNotImplementedMessage(data.container_name, |
| 2045 | "missing-container/new-subdir"), |
| 2046 | fs()->Move(data.container_name, "missing-container/new-subdir")); |
| 2047 | } |
| 2048 | |
| 2049 | void TestCreateContainerFromPath() { |
| 2050 | auto data = SetUpPreexistingData(); |
nothing calls this directly
no test coverage detected