MCPcopy Create free account
hub / github.com/apache/arrow / TestMoveContainerToPath

Function TestMoveContainerToPath

cpp/src/arrow/filesystem/azurefs_test.cc:2035–2047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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();

Callers

nothing calls this directly

Calls 3

fsFunction · 0.85
ContainerPathMethod · 0.80
MoveMethod · 0.45

Tested by

no test coverage detected