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