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

Function TestMoveContainerToPath

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

fsFunction · 0.85
ContainerPathMethod · 0.80
MoveMethod · 0.45

Tested by

no test coverage detected