From 9b117ac91e780144b38b880fc2a69832becf6e96 Mon Sep 17 00:00:00 2001 From: Googler Date: Mon, 8 Oct 2018 14:18:32 -0700 Subject: [PATCH] Automatic code cleanup. PiperOrigin-RevId: 216248219 --- .../build/android/resources/RClassGeneratorTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;