Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 216248219
  • Loading branch information
Googler authored and Copybara-Service committed Oct 8, 2018
1 parent e778de4 commit 9b117ac
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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;
Expand Down

0 comments on commit 9b117ac

Please sign in to comment.