Skip to content

Instantly share code, notes, and snippets.

@sormuras
Last active September 11, 2017 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sormuras/32ece436447ba5a3eac24e9db5842fb5 to your computer and use it in GitHub Desktop.
Save sormuras/32ece436447ba5a3eac24e9db5842fb5 to your computer and use it in GitHub Desktop.
// See https://github.com/sormuras/sawdust/blob/master/module-discoverer/build.jsh for the script that produced this output
C:\Dev\Java\jdk-9\bin\jshell.exe --show-version --execution local build.jsh
jshell 9
treeDelete(root:'target')
DEMO 1
running javac with 6 argument(s)
javac
-d
target/demo
--module-path
modules-automatic
demo/src/module-info.java
demo/src/demo/DemoExtension.java
running java with 9 argument(s)
java
-ea
-Duser.language=us
-Djava.util.logging.config.file=logging.properties
-Djunit.jupiter.extensions.autodetection.enabled=true
--module-path
target/demo;modules-automatic
--module
org.junit.platform.console/org.junit.platform.console.ConsoleLauncher
--scan-class-path
Sep 11, 2017 11:06:34 AM org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry loadTestEngines
CONFIG: Discovered TestEngines with IDs: [junit-jupiter (group ID: org.junit.jupiter, artifact ID: junit-jupiter-engine, version: DEVELOPMENT, location: jar:file:///R:/dev/github/sormuras/sawdust/module-discoverer/modules-automatic/junit-jupiter-engine-5.0.0.jar!/org/junit/jupiter/engine/JupiterTestEngine.class)]
Sep 11, 2017 11:06:34 AM org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry loadListeners
CONFIG: Loaded TestExecutionListener instances: []
Sep 11, 2017 11:06:34 AM org.junit.jupiter.engine.extension.ExtensionRegistry registerAutoDetectedExtensions
CONFIG: Registering auto-detected extensions: []
.
'-- JUnit Jupiter [OK]
Test run finished after 10 ms
[ 1 containers found ]
[ 0 containers skipped ]
[ 1 containers started ]
[ 0 containers aborted ]
[ 1 containers successful ]
[ 0 containers failed ]
[ 0 tests found ]
[ 0 tests skipped ]
[ 0 tests started ]
[ 0 tests aborted ]
[ 0 tests successful ]
[ 0 tests failed ]
running java with 9 argument(s)
java
-ea
-Duser.language=us
-Djava.util.logging.config.file=logging.properties
-Djunit.jupiter.extensions.autodetection.enabled=true
--module-path
target/demo;modules-explicit
--module
org.junit.platform.console/org.junit.platform.console.ConsoleLauncher
--scan-class-path
Sep 11, 2017 11:06:35 AM org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry loadTestEngines
CONFIG: Discovered TestEngines with IDs: [junit-jupiter (group ID: org.junit.jupiter, artifact ID: junit-jupiter-engine, version: DEVELOPMENT, location: jar:file:///R:/dev/github/sormuras/sawdust/module-discoverer/modules-explicit/junit-jupiter-engine-5.0.0.jar!/org/junit/jupiter/engine/JupiterTestEngine.class)]
Sep 11, 2017 11:06:35 AM org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry loadListeners
CONFIG: Loaded TestExecutionListener instances: []
D E M O 0x52A805B5 living in module demo
Sep 11, 2017 11:06:35 AM org.junit.jupiter.engine.extension.ExtensionRegistry registerAutoDetectedExtensions
CONFIG: Registering auto-detected extensions: [demo.DemoExtension]
.
'-- JUnit Jupiter [OK]
Test run finished after 13 ms
[ 1 containers found ]
[ 0 containers skipped ]
[ 1 containers started ]
[ 0 containers aborted ]
[ 1 containers successful ]
[ 0 containers failed ]
[ 0 tests found ]
[ 0 tests skipped ]
[ 0 tests started ]
[ 0 tests aborted ]
[ 0 tests successful ]
[ 0 tests failed ]
LEGACY
running javac with 5 argument(s)
javac
-d
target/legacy
--class-path
modules-automatic\apiguardian-api-1.0.0.jar;modules-automatic\junit-jupiter-api-5.0.0.jar;modules-automatic\junit-jupiter-engine-5.0.0.jar;modules-automatic\junit-platform-commons-1.0.0.jar;modules-automatic\junit-platform-console-1.0.0.jar;modules-automatic\junit-platform-engine-1.0.0.jar;modules-automatic\junit-platform-launcher-1.0.0.jar;modules-automatic\opentest4j-1.0.0.jar
legacy\src\legacy\LegacyExtension.java
treeCopy(source:`legacy\res`, target:`target\legacy`)
copied 4 elements...
running java with 11 argument(s)
java
-ea
-Duser.language=us
-Djava.util.logging.config.file=logging.properties
-Djunit.jupiter.extensions.autodetection.enabled=true
--class-path
target/legacy
--module-path
target/demo;modules-automatic
--module
org.junit.platform.console/org.junit.platform.console.ConsoleLauncher
--scan-class-path
Sep 11, 2017 11:06:36 AM org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry loadTestEngines
CONFIG: Discovered TestEngines with IDs: [junit-jupiter (group ID: org.junit.jupiter, artifact ID: junit-jupiter-engine, version: DEVELOPMENT, location: jar:file:///R:/dev/github/sormuras/sawdust/module-discoverer/modules-automatic/junit-jupiter-engine-5.0.0.jar!/org/junit/jupiter/engine/JupiterTestEngine.class)]
Sep 11, 2017 11:06:36 AM org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry loadListeners
CONFIG: Loaded TestExecutionListener instances: []
L E G A C Y living in unnamed module @5dd6264
Sep 11, 2017 11:06:36 AM org.junit.jupiter.engine.extension.ExtensionRegistry registerAutoDetectedExtensions
CONFIG: Registering auto-detected extensions: [legacy.LegacyExtension]
.
'-- JUnit Jupiter [OK]
Test run finished after 15 ms
[ 1 containers found ]
[ 0 containers skipped ]
[ 1 containers started ]
[ 0 containers aborted ]
[ 1 containers successful ]
[ 0 containers failed ]
[ 0 tests found ]
[ 0 tests skipped ]
[ 0 tests started ]
[ 0 tests aborted ]
[ 0 tests successful ]
[ 0 tests failed ]
DEMO 2 - demo in unnamed module
running java with 11 argument(s)
java
-ea
-Duser.language=us
-Djava.util.logging.config.file=logging.properties
-Djunit.jupiter.extensions.autodetection.enabled=true
--class-path
target/demo
--module-path
target/demo;modules-automatic
--module
org.junit.platform.console/org.junit.platform.console.ConsoleLauncher
--scan-class-path
Sep 11, 2017 11:06:36 AM org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry loadTestEngines
CONFIG: Discovered TestEngines with IDs: [junit-jupiter (group ID: org.junit.jupiter, artifact ID: junit-jupiter-engine, version: DEVELOPMENT, location: jar:file:///R:/dev/github/sormuras/sawdust/module-discoverer/modules-automatic/junit-jupiter-engine-5.0.0.jar!/org/junit/jupiter/engine/JupiterTestEngine.class)]
Sep 11, 2017 11:06:37 AM org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry loadListeners
CONFIG: Loaded TestExecutionListener instances: []
D E M O 0x00004711 living in unnamed module @163e4e87
Sep 11, 2017 11:06:37 AM org.junit.jupiter.engine.extension.ExtensionRegistry registerAutoDetectedExtensions
CONFIG: Registering auto-detected extensions: [demo.DemoExtension]
.
'-- JUnit Jupiter [OK]
Test run finished after 12 ms
[ 1 containers found ]
[ 0 containers skipped ]
[ 1 containers started ]
[ 0 containers aborted ]
[ 1 containers successful ]
[ 0 containers failed ]
[ 0 tests found ]
[ 0 tests skipped ]
[ 0 tests started ]
[ 0 tests aborted ]
[ 0 tests successful ]
[ 0 tests failed ]
Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment