
58 changed files with 168 additions and 150 deletions
@ -1,4 +1,4 @@ |
|||
package foundation.pEp.jniadapter.test.framework; |
|||
package foundation.pEp.jniadapter.test.pitytest; |
|||
|
|||
public abstract class AbstractTestContext implements TestContextInterface{ |
|||
private boolean isInitialized = false; |
@ -1,4 +1,4 @@ |
|||
package foundation.pEp.jniadapter.test.framework; |
|||
package foundation.pEp.jniadapter.test.pitytest; |
|||
|
|||
public interface TestContextInterface { |
|||
void init() throws Throwable; |
@ -1,11 +1,11 @@ |
|||
package foundation.pEp.jniadapter.test.framework; |
|||
package foundation.pEp.jniadapter.test.pitytest; |
|||
|
|||
import foundation.pEp.jniadapter.test.framework.utils.TestUtils; |
|||
import foundation.pEp.jniadapter.test.pitytest.utils.TestUtils; |
|||
|
|||
import java.io.BufferedReader; |
|||
import java.io.InputStreamReader; |
|||
|
|||
import static foundation.pEp.jniadapter.test.framework.utils.TestUtils.*; |
|||
import static foundation.pEp.jniadapter.test.pitytest.utils.TestUtils.*; |
|||
|
|||
public class TestLogger { |
|||
static { |
@ -1,4 +1,4 @@ |
|||
package foundation.pEp.jniadapter.test.framework; |
|||
package foundation.pEp.jniadapter.test.pitytest; |
|||
|
|||
public enum TestResult { |
|||
UNEVALUATED, |
@ -1,4 +1,4 @@ |
|||
package foundation.pEp.jniadapter.test.framework; |
|||
package foundation.pEp.jniadapter.test.pitytest; |
|||
|
|||
public enum TestState { |
|||
UNEVALUATED, |
@ -1,10 +1,10 @@ |
|||
package foundation.pEp.jniadapter.test.framework; |
|||
package foundation.pEp.jniadapter.test.pitytest; |
|||
|
|||
import foundation.pEp.jniadapter.test.framework.utils.TestUtils; |
|||
import foundation.pEp.jniadapter.test.pitytest.utils.TestUtils; |
|||
|
|||
import static foundation.pEp.jniadapter.test.framework.TestLogger.*; |
|||
import static foundation.pEp.jniadapter.test.framework.utils.TestUtils.TermColor; |
|||
import static foundation.pEp.jniadapter.test.framework.utils.TestUtils.colorString; |
|||
import static foundation.pEp.jniadapter.test.pitytest.TestLogger.*; |
|||
import static foundation.pEp.jniadapter.test.pitytest.utils.TestUtils.TermColor; |
|||
import static foundation.pEp.jniadapter.test.pitytest.utils.TestUtils.colorString; |
|||
|
|||
import java.util.function.Consumer; |
|||
|
@ -1,9 +1,9 @@ |
|||
JAVA_PKG_BASENAME=foundation.pEp.jniadapter.test.framework.examples |
|||
JAVA_PKG_BASEPATH=foundation/pEp/jniadapter/test/framework/examples |
|||
JAVA_PKG_BASENAME=foundation.pEp.jniadapter.test.pitytest.examples |
|||
JAVA_PKG_BASEPATH=foundation/pEp/jniadapter/test/pitytest/examples |
|||
JAVA_CWD=../../../../../../../ |
|||
JAVA=java |
|||
JAVA=java -enableassertions |
|||
|
|||
JAVA_CLASSES_FRAMEWORK= \
|
|||
JAVA_CLASSES_PITYTEST= \
|
|||
../../TestSuite.class \
|
|||
../../TestUnit.class \
|
|||
../../TestContextInterface.class \
|
@ -1,13 +1,13 @@ |
|||
package foundation.pEp.jniadapter.test.framework.examples.testsuite; |
|||
import static foundation.pEp.jniadapter.test.framework.TestLogger.*; |
|||
import foundation.pEp.jniadapter.test.framework.*; |
|||
package foundation.pEp.jniadapter.test.pitytest.examples.testsuite; |
|||
import static foundation.pEp.jniadapter.test.pitytest.TestLogger.*; |
|||
import foundation.pEp.jniadapter.test.pitytest.*; |
|||
|
|||
class TestSuiteContext extends AbstractTestContext { |
|||
String name; |
|||
|
|||
@Override |
|||
public void init() throws Throwable { |
|||
name = "UnitTestFrameWorkWithoutAName"; |
|||
name = "PityTest"; |
|||
} |
|||
} |
|||
|
@ -1,4 +1,4 @@ |
|||
package foundation.pEp.jniadapter.test.framework.utils; |
|||
package foundation.pEp.jniadapter.test.pitytest.utils; |
|||
|
|||
public class Pair<K, V> { |
|||
private K key = null; |
Loading…
Reference in new issue