Search in sources :

Example 6 with FlagDescription

use of com.android.tools.build.bundletool.commands.CommandHelp.FlagDescription in project bundletool by google.

the class CommandHelpTest method flagDescriptionPrintForDescription_notOptional.

@Test
public void flagDescriptionPrintForDescription_notOptional() {
    FlagDescription flagDesc = FlagDescription.builder().setFlagName("foo").setDescription("This is foo.").build();
    assertThat(flagDesc.getPrintForDescription()).isEqualTo("--foo: This is foo.");
}
Also used : FlagDescription(com.android.tools.build.bundletool.commands.CommandHelp.FlagDescription) Test(org.junit.Test)

Aggregations

FlagDescription (com.android.tools.build.bundletool.commands.CommandHelp.FlagDescription)6 Test (org.junit.Test)6