Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.docs.epub.tests/src/org/eclipse/mylyn/docs/epub/tests/AllTests.java')
-rw-r--r--org.eclipse.mylyn.docs.epub.tests/src/org/eclipse/mylyn/docs/epub/tests/AllTests.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.docs.epub.tests/src/org/eclipse/mylyn/docs/epub/tests/AllTests.java b/org.eclipse.mylyn.docs.epub.tests/src/org/eclipse/mylyn/docs/epub/tests/AllTests.java
new file mode 100644
index 000000000..89fb97b00
--- /dev/null
+++ b/org.eclipse.mylyn.docs.epub.tests/src/org/eclipse/mylyn/docs/epub/tests/AllTests.java
@@ -0,0 +1,41 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Torkild U. Resheim.
+ *
+ * All rights reserved. This program and the accompanying materials are made
+ * available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: Torkild U. Resheim - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.mylyn.docs.epub.tests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.eclipse.mylyn.docs.epub.tests.api.TestEPUB;
+import org.eclipse.mylyn.docs.epub.tests.api.TestOPS2Publication;
+import org.eclipse.mylyn.docs.epub.tests.api.TestOPSPublication;
+import org.eclipse.mylyn.docs.epub.tests.core.TestOPS2Validator;
+import org.eclipse.mylyn.docs.epub.tests.core.TestTOCGenerator;
+
+public class AllTests {
+ public static Test suite() {
+ return suite(false);
+ }
+
+ public static Test suite(boolean defaultOnly) {
+ TestSuite suite = new TestSuite("Tests for org.eclipse.mylyn.docs.epub");
+ // API tests
+ suite.addTestSuite(TestEPUB.class);
+ suite.addTestSuite(TestOPS2Publication.class);
+ suite.addTestSuite(TestOPSPublication.class);
+ // Core tests
+ suite.addTestSuite(TestOPS2Validator.class);
+ suite.addTestSuite(TestTOCGenerator.class);
+ // Ant tests
+ // TODO: Also execute ANT tests.
+ // suite.addTestSuite(TestAntTask.class);
+ return suite;
+ }
+}

Back to the top