summaryrefslogtreecommitdiffstats
path: root/jill/tests/com/android/jill/compile/androidtree
diff options
context:
space:
mode:
Diffstat (limited to 'jill/tests/com/android/jill/compile/androidtree')
-rw-r--r--jill/tests/com/android/jill/compile/androidtree/bouncycastle/BouncycastleCompilationTest.java46
-rw-r--r--jill/tests/com/android/jill/compile/androidtree/core/CoreCompilationTest.java42
-rw-r--r--jill/tests/com/android/jill/compile/androidtree/frameworks/FrameworksBaseCompilationTest.java51
-rw-r--r--jill/tests/com/android/jill/compile/androidtree/services/ServicesCompilationTest.java55
4 files changed, 0 insertions, 194 deletions
diff --git a/jill/tests/com/android/jill/compile/androidtree/bouncycastle/BouncycastleCompilationTest.java b/jill/tests/com/android/jill/compile/androidtree/bouncycastle/BouncycastleCompilationTest.java
deleted file mode 100644
index d26f042..0000000
--- a/jill/tests/com/android/jill/compile/androidtree/bouncycastle/BouncycastleCompilationTest.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2012 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.jill.compile.androidtree.bouncycastle;
-
-import com.android.jack.JarJarRules;
-import com.android.jack.ProguardFlags;
-import com.android.jack.category.SlowTests;
-import com.android.jill.JillTestTools;
-
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import java.io.File;
-
-public class BouncycastleCompilationTest {
-
- private static final File SOURCELIST = JillTestTools.getTargetLibSourcelist("bouncycastle");
-
- private static final JarJarRules JARJAR_RULES = new JarJarRules(
- JillTestTools.getFromAndroidTree("external/bouncycastle/jarjar-rules.txt"));
-
- @Test
- @Category(SlowTests.class)
- public void compareBouncycastleStructureWithJill() throws Exception {
- JillTestTools.checkStructureWithJill(
- null,
- SOURCELIST,
- false /* compareDebugInfoBinary */,
- JARJAR_RULES,
- (ProguardFlags[]) null);
- }
-}
diff --git a/jill/tests/com/android/jill/compile/androidtree/core/CoreCompilationTest.java b/jill/tests/com/android/jill/compile/androidtree/core/CoreCompilationTest.java
deleted file mode 100644
index 10a5ca5..0000000
--- a/jill/tests/com/android/jill/compile/androidtree/core/CoreCompilationTest.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2012 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.jill.compile.androidtree.core;
-
-import com.android.jack.category.SlowTests;
-import com.android.jill.JillTestTools;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import java.io.File;
-
-public class CoreCompilationTest {
-
- private static final File SOURCELIST = JillTestTools.getTargetLibSourcelist("core");
-
- @BeforeClass
- public static void setUpClass() {
- CoreCompilationTest.class.getClassLoader().setDefaultAssertionStatus(true);
- }
-
- @Test
- @Category(SlowTests.class)
- public void compareLibCoreStructureWithJill() throws Exception {
- JillTestTools.checkStructureWithJill(null, SOURCELIST, false /*withDebugInfo*/);
- }
-}
diff --git a/jill/tests/com/android/jill/compile/androidtree/frameworks/FrameworksBaseCompilationTest.java b/jill/tests/com/android/jill/compile/androidtree/frameworks/FrameworksBaseCompilationTest.java
deleted file mode 100644
index 723b2e8..0000000
--- a/jill/tests/com/android/jill/compile/androidtree/frameworks/FrameworksBaseCompilationTest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (C) 2012 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.jill.compile.androidtree.frameworks;
-
-import com.android.jack.category.SlowTests;
-import com.android.jill.JillTestTools;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import java.io.File;
-
-public class FrameworksBaseCompilationTest {
-
- private final static File[] CLASSPATH = new File[] {
- JillTestTools.getFromAndroidTree(
- "out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar"),
- JillTestTools.getFromAndroidTree(
- "out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar"),
- JillTestTools.getFromAndroidTree(
- "out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar")};
-
- private static final File SOURCELIST = JillTestTools.getTargetLibSourcelist("framework");
-
- @BeforeClass
- public static void setUpClass() {
- FrameworksBaseCompilationTest.class.getClassLoader().setDefaultAssertionStatus(true);
- }
-
- @Test
- @Category(SlowTests.class)
- public void compareFrameworksStructureWithJill() throws Exception {
- JillTestTools.checkStructureWithJill(CLASSPATH, SOURCELIST,
- false /*withDebugInfo*/);
- }
-}
diff --git a/jill/tests/com/android/jill/compile/androidtree/services/ServicesCompilationTest.java b/jill/tests/com/android/jill/compile/androidtree/services/ServicesCompilationTest.java
deleted file mode 100644
index dc9bf1b..0000000
--- a/jill/tests/com/android/jill/compile/androidtree/services/ServicesCompilationTest.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (C) 2012 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.android.jill.compile.androidtree.services;
-
-import com.android.jack.category.SlowTests;
-import com.android.jill.JillTestTools;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import java.io.File;
-
-public class ServicesCompilationTest {
-
- private static final File[] CLASSPATH = new File[] {
- JillTestTools.getFromAndroidTree(
- "out/target/common/obj/JAVA_LIBRARIES/android.policy_intermediates/classes.jar"),
- JillTestTools.getFromAndroidTree(
- "out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar"),
- JillTestTools.getFromAndroidTree(
- "out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar"),
- JillTestTools.getFromAndroidTree(
- "out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar"), JillTestTools.getFromAndroidTree("out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar")};
-
- private static final File SOURCELIST = JillTestTools.getTargetLibSourcelist("services");
-
- @BeforeClass
- public static void setUpClass() {
- ServicesCompilationTest.class.getClassLoader().setDefaultAssertionStatus(true);
- }
-
- @Test
- @Category(SlowTests.class)
- public void compareServicesStructureWithJill() throws Exception {
- JillTestTools.checkStructureWithJill(
- CLASSPATH,
- SOURCELIST,
- false /* withDebugInfo */);
- }
-}