diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/android/RClassGeneratorActionTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/android/RClassGeneratorActionTest.java | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/test/java/com/google/devtools/build/android/RClassGeneratorActionTest.java b/src/test/java/com/google/devtools/build/android/RClassGeneratorActionTest.java index 2f3ae78549..e03348cdaa 100644 --- a/src/test/java/com/google/devtools/build/android/RClassGeneratorActionTest.java +++ b/src/test/java/com/google/devtools/build/android/RClassGeneratorActionTest.java @@ -109,7 +109,7 @@ public class RClassGeneratorActionTest { Path jarPath = tempDir.resolve("app_resources.jar"); RClassGeneratorAction.main( - ImmutableList.of( + ImmutableList.<String>of( "--primaryRTxt", binarySymbols.toString(), "--primaryManifest", @@ -165,7 +165,7 @@ public class RClassGeneratorActionTest { Path jarPath = tempDir.resolve("app_resources.jar"); RClassGeneratorAction.main( - ImmutableList.of( + ImmutableList.<String>of( "--library", libFooSymbols + "," + libFooManifest, "--library", @@ -212,12 +212,11 @@ public class RClassGeneratorActionTest { Path jarPath = tempDir.resolve("app_resources.jar"); - RClassGeneratorAction.main( - ImmutableList.of( - "--primaryRTxt", binarySymbols.toString(), - "--primaryManifest", binaryManifest.toString(), - "--classJarOutput", jarPath.toString()) - .toArray(new String[0])); + RClassGeneratorAction.main(ImmutableList.<String>of( + "--primaryRTxt", binarySymbols.toString(), + "--primaryManifest", binaryManifest.toString(), + "--classJarOutput", jarPath.toString() + ).toArray(new String[0])); assertThat(Files.exists(jarPath)).isTrue(); assertThat(Files.getLastModifiedTime(jarPath)).isEqualTo(FileTime.fromMillis(0)); @@ -240,8 +239,9 @@ public class RClassGeneratorActionTest { @Test public void noBinary() throws Exception { Path jarPath = tempDir.resolve("app_resources.jar"); - RClassGeneratorAction.main( - ImmutableList.of("--classJarOutput", jarPath.toString()).toArray(new String[0])); + RClassGeneratorAction.main(ImmutableList.<String>of( + "--classJarOutput", jarPath.toString() + ).toArray(new String[0])); assertThat(Files.exists(jarPath)).isTrue(); assertThat(Files.getLastModifiedTime(jarPath)).isEqualTo(FileTime.fromMillis(0)); @@ -271,7 +271,7 @@ public class RClassGeneratorActionTest { "int string ok 0x1"); Path jarPath = tempDir.resolve("app_resources.jar"); RClassGeneratorAction.main( - ImmutableList.of( + ImmutableList.<String>of( "--primaryRTxt", binarySymbols.toString(), "--primaryManifest", @@ -313,13 +313,13 @@ public class RClassGeneratorActionTest { Path binarySymbols = createFile("R.txt", ""); Path jarPath = tempDir.resolve("app_resources.jar"); RClassGeneratorAction.main( - ImmutableList.of( - "--primaryRTxt", - binarySymbols.toString(), - "--primaryManifest", - binaryManifest.toString(), - "--classJarOutput", - jarPath.toString()) + ImmutableList.<String>of( + "--primaryRTxt", + binarySymbols.toString(), + "--primaryManifest", + binaryManifest.toString(), + "--classJarOutput", + jarPath.toString()) .toArray(new String[0])); assertThat(Files.exists(jarPath)).isTrue(); |