summaryrefslogtreecommitdiffstats
path: root/jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java
diff options
context:
space:
mode:
authorYohann Roussel <yroussel@google.com>2015-02-23 18:05:22 +0100
committerYohann Roussel <yroussel@google.com>2015-02-23 18:05:22 +0100
commit5a3347a67437daaae0e42c375ae9b15152c4f672 (patch)
tree9485ae9070c88c7c0ac1d174adbc747692a8369e /jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java
parentc6300f79c97f5cde80aaa0d7b6e349ed691a1e67 (diff)
downloadtoolchain_jack-5a3347a67437daaae0e42c375ae9b15152c4f672.tar.gz
toolchain_jack-5a3347a67437daaae0e42c375ae9b15152c4f672.tar.bz2
toolchain_jack-5a3347a67437daaae0e42c375ae9b15152c4f672.zip
Get rid of shrob.test043
The test was flaky and we found no good way to fix it. Change-Id: Id5c0470378039c223f5018a9e4023a290f5a5238
Diffstat (limited to 'jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java')
-rw-r--r--jack-tests/tests/com/android/jack/shrob/ObfuscationWithoutMappingTests.java19
1 files changed, 1 insertions, 18 deletions
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");
- }
}