From 5576275998ed8c81f4369ab46e87531dadb3659b Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Fri, 26 Feb 2016 23:48:04 +0300 Subject: [PATCH] Improving JUnit test runner --- .idea/runConfigurations/run_tests.xml | 2 +- .../teavm/classlib/java/util/TTimeZone.java | 4 +- .../teavm/classlib/java/util/TestService.java | 8 - tests/teavm-tests.iml | 16 +- .../java/org/teavm/cli/TeaVMTestRunner.java | 215 ------------------ tools/junit/pom.xml | 2 +- .../java/org/teavm/junit/ExceptionHelper.java | 4 - .../org/teavm/junit/HtmlUnitRunStrategy.java | 53 +++-- .../org/teavm/junit/SeleniumRunStrategy.java | 5 +- .../java/org/teavm/junit/TeaVMTestRunner.java | 63 +++-- .../main/java/org/teavm/junit/TestRun.java | 15 +- .../java/org/teavm/junit/TestRunCallback.java | 2 +- .../java/org/teavm/junit/TestRunStrategy.java | 2 +- .../main/java/org/teavm/junit/TestRunner.java | 51 ++++- .../main/resources/teavm-htmlunit-adapter.js | 65 +++--- .../main/resources/teavm-selenium-adapter.js | 2 +- tools/junit/teavm-junit.iml | 16 +- 17 files changed, 192 insertions(+), 333 deletions(-) delete mode 100644 tools/cli/src/main/java/org/teavm/cli/TeaVMTestRunner.java diff --git a/.idea/runConfigurations/run_tests.xml b/.idea/runConfigurations/run_tests.xml index 1ee65a010..91d14d00b 100644 --- a/.idea/runConfigurations/run_tests.xml +++ b/.idea/runConfigurations/run_tests.xml @@ -13,7 +13,7 @@