From d7e8a1a082408eae02d90e7b4bdd11807cbe14ca Mon Sep 17 00:00:00 2001 From: "elena.parovyshnaya" Date: Mon, 15 Jun 2020 14:13:36 +0300 Subject: [PATCH] Bug 564282 - API revision | question extensibility - add single workable test among all the abstract ones to 'api.tests' bundle to make sure-fire go Signed-off-by: elena.parovyshnaya --- .../passage/lic/api/tests/TemporaryTest.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/TemporaryTest.java diff --git a/tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/TemporaryTest.java b/tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/TemporaryTest.java new file mode 100644 index 000000000..0e080b068 --- /dev/null +++ b/tests/org.eclipse.passage.lic.api.tests/src/org/eclipse/passage/lic/api/tests/TemporaryTest.java @@ -0,0 +1,26 @@ +package org.eclipse.passage.lic.api.tests; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +public final class TemporaryTest { + /** + *

+ * There only contract (meaning abstract) tests in this bundle. Nonetheless, + * it's still recognized as 'tests' bundle. All the special treatments are + * applied: sure-fire plug-in is applied. This one fails on a bundle where is + * nothing to run. + *

+ * + *

+ * Thus we add a single deadly stupid but workable test especially for sure-fire + * to make it go. + *

+ */ + @Test + public void singleWorkableTestInABundleFullOfAbstractTest() { + assertTrue(System.currentTimeMillis() > 0); + } + +}