use of com.google.devtools.build.lib.actions.BaseSpawn in project bazel by bazelbuild.
the class PopulateTreeArtifactActionTest method testSpawnArguments.
@Test
public void testSpawnArguments() throws Exception {
PopulateTreeArtifactAction action = createPopulateTreeArtifactAction();
BaseSpawn spawn = (BaseSpawn) action.createSpawn();
assertThat(spawn.getArguments()).containsExactly("unzipBinary", "x", "myArchive.zip", "-d", "test/archive_member", "@archiveManifest.txt").inOrder();
}