diff --git a/pom.xml b/pom.xml index 7776072..acf55d3 100644 --- a/pom.xml +++ b/pom.xml @@ -31,6 +31,19 @@ Supplementary extension to JUnit patterns, providing common functions and abstractions related to unit testing. + + org.libj + lang + 0.8.0-SNAPSHOT + test-jar + test + + + org.javassist + javassist + 3.29.2-GA + provided + org.openjax.xml dom diff --git a/src/main/java/org/libj/test/DeclarativeOrderTestClass.java b/src/main/java/org/libj/test/DeclarativeOrderTestClass.java index 2aa3421..c95de1b 100644 --- a/src/main/java/org/libj/test/DeclarativeOrderTestClass.java +++ b/src/main/java/org/libj/test/DeclarativeOrderTestClass.java @@ -49,8 +49,12 @@ protected void scanAnnotatedMembers(final Map,List. + */ + +package org.libj.test; + +import org.junit.runner.RunWith; +import org.libj.lang.DeclarativeOrderTest0; + +@RunWith(TestRunner.class) +public class DeclarativeOrderTestClassTest extends DeclarativeOrderTest0 { +} \ No newline at end of file diff --git a/src/test/java/org/libj/test/TestRunner.java b/src/test/java/org/libj/test/TestRunner.java new file mode 100644 index 0000000..e0f35db --- /dev/null +++ b/src/test/java/org/libj/test/TestRunner.java @@ -0,0 +1,26 @@ +/* Copyright (c) 2023 LibJ + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * You should have received a copy of The MIT License (MIT) along with this + * program. If not, see . + */ + +package org.libj.test; + +import org.junit.runners.BlockJUnit4ClassRunner; +import org.junit.runners.model.InitializationError; + +public class TestRunner extends BlockJUnit4ClassRunner { + public TestRunner(final Class testClass) throws InitializationError { + super(new DeclarativeOrderTestClass(testClass)); + } +} \ No newline at end of file