diff --git a/src/test/java/com/google/devtools/build/android/resources/RClassGeneratorTest.java b/src/test/java/com/google/devtools/build/android/resources/RClassGeneratorTest.java index f18fb99a8f82ad..193e36af26ba0d 100644 --- a/src/test/java/com/google/devtools/build/android/resources/RClassGeneratorTest.java +++ b/src/test/java/com/google/devtools/build/android/resources/RClassGeneratorTest.java @@ -122,11 +122,6 @@ public void checkFileWriteThrowsOnExisting() throws Exception { checkFileWriteThrowsOnExisting(SdkConstants.FN_COMPILED_RESOURCE_CLASS); } - @Test - public void checkInnerFileWriteThrowsOnExisting() throws Exception { - checkFileWriteThrowsOnExisting("R$string.class"); - } - private void checkFileWriteThrowsOnExisting(String existingFile) throws Exception { ResourceSymbols symbolValues = createSymbolFile("R.txt", "int string ok 0x7f100001"); ResourceSymbols symbolsInLibrary = createSymbolFile("lib.R.txt", "int string ok 0x1"); @@ -147,6 +142,11 @@ private void checkFileWriteThrowsOnExisting(String existingFile) throws Exceptio throw new Exception("Expected to throw a FileAlreadyExistsException"); } + @Test + public void checkInnerFileWriteThrowsOnExisting() throws Exception { + checkFileWriteThrowsOnExisting("R$string.class"); + } + @Test public void emptyIntArrays() throws Exception { boolean finalFields = true;