summaryrefslogtreecommitdiffstats
path: root/jack/tests
diff options
context:
space:
mode:
authorJean-Marie Henaff <jmhenaff@google.com>2014-10-14 09:01:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-10-14 09:01:38 +0000
commit49a98b36373d336c5e0a7bb818c5864a89264ab7 (patch)
treeb79da1babbf1c156c46ed5c6d83ff6ce12d19a05 /jack/tests
parent450e01e84f4f3db76cc5c95a6589e389911e3421 (diff)
parentf265ce821c48ed54ad8d00060664b55a8f8e1bb7 (diff)
downloadtoolchain_jack-49a98b36373d336c5e0a7bb818c5864a89264ab7.zip
toolchain_jack-49a98b36373d336c5e0a7bb818c5864a89264ab7.tar.gz
toolchain_jack-49a98b36373d336c5e0a7bb818c5864a89264ab7.tar.bz2
Merge "WIP Use JUnit for jack-tests." into ub-jack
Diffstat (limited to 'jack/tests')
-rw-r--r--jack/tests/com/android/jack/AllTestsWithoutKnownBugs.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/jack/tests/com/android/jack/AllTestsWithoutKnownBugs.java b/jack/tests/com/android/jack/AllTestsWithoutKnownBugs.java
new file mode 100644
index 0000000..683e265
--- /dev/null
+++ b/jack/tests/com/android/jack/AllTestsWithoutKnownBugs.java
@@ -0,0 +1,34 @@
+/*
+ * 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.jack;
+
+import com.android.jack.category.KnownBugs;
+
+import org.junit.experimental.categories.Categories;
+import org.junit.experimental.categories.Categories.ExcludeCategory;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+/**
+ * Test suite containing all tests (except for regression tests that must be run from the command
+ * line).
+ */
+@RunWith(Categories.class)
+@ExcludeCategory(KnownBugs.class)
+@SuiteClasses(value = {AllTests.class})
+public class AllTestsWithoutKnownBugs {
+}