use of com.google.devtools.build.lib.analysis.actions.CustomCommandLine.CustomMultiArgv in project bazel by bazelbuild.
the class CustomCommandLineTest method testCustomMultiArgs.
@Test
public void testCustomMultiArgs() {
CustomCommandLine cl = CustomCommandLine.builder().add(new CustomMultiArgv() {
@Override
public ImmutableList<String> argv() {
return ImmutableList.of("--arg1", "--arg2");
}
}).build();
assertEquals(ImmutableList.of("--arg1", "--arg2"), cl.arguments());
}
Aggregations