From 5a3347a67437daaae0e42c375ae9b15152c4f672 Mon Sep 17 00:00:00 2001 From: Yohann Roussel Date: Mon, 23 Feb 2015 18:05:22 +0100 Subject: Get rid of shrob.test043 The test was flaky and we found no good way to fix it. Change-Id: Id5c0470378039c223f5018a9e4023a290f5a5238 --- .../jack/shrob/ObfuscationWithoutMappingTests.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java') diff --git a/jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java b/jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java index 77bf6d0e..bd7030f4 100644 --- a/jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java +++ b/jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java @@ -44,15 +44,6 @@ public class ObfuscationWithoutMappingTests extends AbstractTest { @Nonnull String flagNumber, @Nonnull String mappingNumber) throws Exception { - runTest(testNumber, flagNumber, mappingNumber, "rot13"); - } - - protected void runTest( - @Nonnull String testNumber, - @Nonnull String flagNumber, - @Nonnull String mappingNumber, - @Nonnull String nameProvider) - throws Exception { String testPackageName = "com.android.jack.shrob.test" + testNumber; File testFolder = AbstractTestTools.getTestRootDir(testPackageName); @@ -63,7 +54,7 @@ public class ObfuscationWithoutMappingTests extends AbstractTest { GrammarActions.parse("proguard.flags" + flagNumber, testFolder.getAbsolutePath(), flags); File refFolder = new File(testFolder, "refsObfuscationWithoutMapping"); - toolchain.addProperty(NameProviderFactory.NAMEPROVIDER.getName(), nameProvider); + toolchain.addProperty(NameProviderFactory.NAMEPROVIDER.getName(), "rot13"); toolchain.addProperty(Options.METHOD_FILTER.getName(), "supported-methods"); File candidateOutputMapping = AbstractTestTools.createTempFile("mapping", ".txt"); @@ -100,12 +91,4 @@ public class ObfuscationWithoutMappingTests extends AbstractTest { public void test35_001() throws Exception { super.test35_001(); } - - @Test - public void test43_001() throws Exception { - /* Use "lower-case" name provider because a rot13 has invalid behavior on sources that would - * allow to reproduce the problem. Using "lower-case" makes it a very fragile test anyway - */ - runTest("043", "001", "", "lower-case"); - } } -- cgit v1.2.3