-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6445aa
commit da46d00
Showing
11 changed files
with
316 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.quarkus.deployment.dev.testing; | ||
|
||
import io.quarkus.deployment.dev.testing.runner.TestState; | ||
|
||
public interface TestController { | ||
|
||
TestState currentState(); | ||
|
||
void runAllTests(); | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package io.quarkus.deployment.dev.testing; | ||
|
||
import java.util.function.Consumer; | ||
|
||
public interface TestListener { | ||
|
||
default void listenerRegistered(TestController testController) { | ||
|
||
} | ||
|
||
default void testsEnabled() { | ||
} | ||
|
||
default void testsDisabled() { | ||
|
||
} | ||
|
||
default void testRunStarted(Consumer<TestRunListener> listenerConsumer) { | ||
|
||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
core/deployment/src/main/java/io/quarkus/deployment/dev/testing/TestRunListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package io.quarkus.deployment.dev.testing; | ||
|
||
import org.junit.platform.launcher.TestIdentifier; | ||
|
||
public interface TestRunListener { | ||
|
||
default void runStarted(long toRun) { | ||
|
||
} | ||
|
||
default void testComplete(TestResult result) { | ||
|
||
} | ||
|
||
default void runComplete(TestRunResults results) { | ||
|
||
} | ||
|
||
default void runAborted() { | ||
|
||
} | ||
|
||
default void testStarted(TestIdentifier testIdentifier, String className) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.