summaryrefslogtreecommitdiffstats
path: root/jack-tests
diff options
context:
space:
mode:
authorBenoit Lamarche <benoitlamarche@google.com>2015-05-28 16:53:21 +0200
committerBenoit Lamarche <benoitlamarche@google.com>2015-05-29 12:06:06 +0200
commitfc023a96016b05d8906bed57761de19f5d5d095a (patch)
tree5c51fb11e529c04409f60ac157418ba0937a7eec /jack-tests
parentedfcedaf3de656690374ae7c56e74235d406298b (diff)
downloadtoolchain_jack-fc023a96016b05d8906bed57761de19f5d5d095a.tar.gz
toolchain_jack-fc023a96016b05d8906bed57761de19f5d5d095a.tar.bz2
toolchain_jack-fc023a96016b05d8906bed57761de19f5d5d095a.zip
Temporarly deactivate tests that are broken because of CaseInsensitiveFS
They will need to be modified Bug: 21486756 (cherry picked from commit 02859f0c0a29d30e6b8561c7854fd992271c4760) Change-Id: If5c39e4f4e1d3be9772a33493b3cb178412ebe19
Diffstat (limited to 'jack-tests')
-rw-r--r--jack-tests/tests/com/android/jack/error/FileAccessErrorTest.java4
-rw-r--r--jack-tests/tests/com/android/jack/experimental/incremental/DependenciesTest009.java4
-rw-r--r--jack-tests/tests/com/android/jack/fileconflict/FileConflictTests.java9
-rw-r--r--jack-tests/tests/com/android/jack/multidex/MultiDexTests.java4
-rw-r--r--jack-tests/tests/com/android/jack/resource/ResourceTests.java3
-rw-r--r--jack-tests/tests/com/android/jack/withphantom/WithPhantomTests.java4
6 files changed, 28 insertions, 0 deletions
diff --git a/jack-tests/tests/com/android/jack/error/FileAccessErrorTest.java b/jack-tests/tests/com/android/jack/error/FileAccessErrorTest.java
index 2268a95e..8cb6472e 100644
--- a/jack-tests/tests/com/android/jack/error/FileAccessErrorTest.java
+++ b/jack-tests/tests/com/android/jack/error/FileAccessErrorTest.java
@@ -22,6 +22,7 @@ import com.android.jack.Main;
import com.android.jack.backend.jayce.JayceFileImporter;
import com.android.jack.library.LibraryIOException;
import com.android.jack.library.LibraryReadingException;
+import com.android.jack.test.category.KnownBugs;
import com.android.jack.test.helper.ErrorTestHelper;
import com.android.jack.test.toolchain.AbstractTestTools;
import com.android.jack.test.toolchain.JackApiToolchainBase;
@@ -33,7 +34,9 @@ import com.android.sched.util.file.WrongPermissionException;
import junit.framework.Assert;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
+import org.junit.experimental.categories.Category;
import java.io.ByteArrayOutputStream;
import java.io.File;
@@ -165,6 +168,7 @@ public class FileAccessErrorTest {
* Checks that compilation fails correctly when jack file is not readable.
*/
@Test
+ @Ignore
public void testFileAccessError004() throws Exception {
ErrorTestHelper te = new ErrorTestHelper();
diff --git a/jack-tests/tests/com/android/jack/experimental/incremental/DependenciesTest009.java b/jack-tests/tests/com/android/jack/experimental/incremental/DependenciesTest009.java
index 1c5a7590..fce94f95 100644
--- a/jack-tests/tests/com/android/jack/experimental/incremental/DependenciesTest009.java
+++ b/jack-tests/tests/com/android/jack/experimental/incremental/DependenciesTest009.java
@@ -22,6 +22,7 @@ import com.android.jack.library.FileType;
import com.android.jack.library.FileTypeDoesNotExistException;
import com.android.jack.library.InputJackLibrary;
import com.android.jack.library.JackLibraryFactory;
+import com.android.jack.test.category.KnownBugs;
import com.android.jack.test.helper.IncrementalTestHelper;
import com.android.jack.test.toolchain.AbstractTestTools;
import com.android.sched.util.file.CannotReadException;
@@ -35,7 +36,9 @@ import com.android.sched.vfs.InputVFile;
import junit.framework.Assert;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
+import org.junit.experimental.categories.Category;
import java.io.IOException;
import java.io.InputStreamReader;
@@ -60,6 +63,7 @@ public class DependenciesTest009 {
* identical.
*/
@Test
+ @Ignore
public void testDependency001() throws Exception {
IncrementalTestHelper ite =
new IncrementalTestHelper(AbstractTestTools.createTempDir());
diff --git a/jack-tests/tests/com/android/jack/fileconflict/FileConflictTests.java b/jack-tests/tests/com/android/jack/fileconflict/FileConflictTests.java
index 094d72c2..9537ffed 100644
--- a/jack-tests/tests/com/android/jack/fileconflict/FileConflictTests.java
+++ b/jack-tests/tests/com/android/jack/fileconflict/FileConflictTests.java
@@ -124,6 +124,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test001a() throws Exception {
File jackOutput = AbstractTestTools.createTempDir();
ByteArrayOutputStream errOut = new ByteArrayOutputStream();
@@ -146,6 +147,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test001b() throws Exception {
File jackOutput = AbstractTestTools.createTempDir();
ByteArrayOutputStream errOut = new ByteArrayOutputStream();
@@ -169,6 +171,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test001c() throws Exception {
File jackOutput = AbstractTestTools.createTempDir();
ByteArrayOutputStream errOut = new ByteArrayOutputStream();
@@ -218,6 +221,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test002a() throws Exception {
File jackOutput;
ByteArrayOutputStream errOut = new ByteArrayOutputStream();
@@ -241,6 +245,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test002b() throws Exception {
File jackOutput;
ByteArrayOutputStream errOut = new ByteArrayOutputStream();
@@ -265,6 +270,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test002c() throws Exception {
File jackOutput;
ByteArrayOutputStream errOut = new ByteArrayOutputStream();
@@ -282,6 +288,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test002d() throws Exception {
File jackOutput;
ByteArrayOutputStream errOut = new ByteArrayOutputStream();
@@ -305,6 +312,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test002e() throws Exception {
File jackOutput;
ByteArrayOutputStream errOut = new ByteArrayOutputStream();
@@ -370,6 +378,7 @@ public class FileConflictTests {
* @throws Exception
*/
@Test
+ @Ignore
public void test003a() throws Exception {
// compile source files to a Jack dir
File jackOutput = AbstractTestTools.createTempDir();
diff --git a/jack-tests/tests/com/android/jack/multidex/MultiDexTests.java b/jack-tests/tests/com/android/jack/multidex/MultiDexTests.java
index 80888fd9..303a6729 100644
--- a/jack-tests/tests/com/android/jack/multidex/MultiDexTests.java
+++ b/jack-tests/tests/com/android/jack/multidex/MultiDexTests.java
@@ -27,6 +27,7 @@ import com.android.jack.dx.io.DexBuffer;
import com.android.jack.library.FileType;
import com.android.jack.preprocessor.PreProcessor;
import com.android.jack.shrob.ListingComparator;
+import com.android.jack.test.category.KnownBugs;
import com.android.jack.test.category.SlowTests;
import com.android.jack.test.comparator.Comparator;
import com.android.jack.test.comparator.ComparatorException;
@@ -44,6 +45,7 @@ import com.android.sched.util.TextUtils;
import junit.framework.Assert;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
@@ -386,6 +388,7 @@ public class MultiDexTests {
@Test
@Category(SlowTests.class)
+ @Ignore
public void legacyAppTest002b_auto() throws Exception {
File testFolder = AbstractTestTools.getTestRootDir("com.android.jack.multidex.test002.jack");
File autoLibrary = prepareLibrary(frameworks);
@@ -476,6 +479,7 @@ public class MultiDexTests {
}
@Test
+ @Ignore
public void legacyAppTest002b_auto_withoutAnnotations() throws Exception {
File testFolder = AbstractTestTools.getTestRootDir("com.android.jack.multidex.test002.jack");
File autoLibrary = prepareLibrary(frameworks);
diff --git a/jack-tests/tests/com/android/jack/resource/ResourceTests.java b/jack-tests/tests/com/android/jack/resource/ResourceTests.java
index ca8ee9b0..d0e82206 100644
--- a/jack-tests/tests/com/android/jack/resource/ResourceTests.java
+++ b/jack-tests/tests/com/android/jack/resource/ResourceTests.java
@@ -26,6 +26,7 @@ import com.android.sched.util.stream.ByteStreamSucker;
import junit.framework.Assert;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
@@ -183,6 +184,7 @@ public class ResourceTests {
}
@Test
+ @Ignore
public void testJackArchiveToJackDir() throws Exception {
// compile source file to a Jack archive and add resources
File jackAr = createJackArchiveWithResources();
@@ -203,6 +205,7 @@ public class ResourceTests {
}
@Test
+ @Ignore
public void testJackDirToJackDir() throws Exception {
// compile source file to a Jack dir
File jackFolder = AbstractTestTools.createTempDir();
diff --git a/jack-tests/tests/com/android/jack/withphantom/WithPhantomTests.java b/jack-tests/tests/com/android/jack/withphantom/WithPhantomTests.java
index 8967a4d5..98f8bca7 100644
--- a/jack-tests/tests/com/android/jack/withphantom/WithPhantomTests.java
+++ b/jack-tests/tests/com/android/jack/withphantom/WithPhantomTests.java
@@ -26,6 +26,7 @@ import com.android.jack.test.toolchain.LegacyJillToolchain;
import junit.framework.Assert;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
@@ -55,6 +56,7 @@ public class WithPhantomTests {
}
@Test
+ @Ignore
public void testPhantomOuter() throws Exception {
File tempJackFolder = AbstractTestTools.createTempDir();
List<Class<? extends IToolchain>> exclude = new ArrayList<Class<? extends IToolchain>>();
@@ -100,6 +102,7 @@ public class WithPhantomTests {
}
@Test
+ @Ignore
public void testPhantomInner() throws Exception {
File tempJackFolder = AbstractTestTools.createTempDir();
List<Class<? extends IToolchain>> exclude = new ArrayList<Class<? extends IToolchain>>();
@@ -185,6 +188,7 @@ public class WithPhantomTests {
}
@Test
+ @Ignore
public void testPhantomLocalOuter() throws Exception {
File tempJackFolder = AbstractTestTools.createTempDir();
List<Class<? extends IToolchain>> exclude = new ArrayList<Class<? extends IToolchain>>();