From 82a603c14e0099164bdc5cbe7a4d1c19c2df06e5 Mon Sep 17 00:00:00 2001
From: twogee
Below is an example of setting up the classpath to include the Jupiter test engine and
the JUnit platform libraries during the execution of the tests.
-
In the example above,
+
In the
Additional JVM arguments may be passed to the forked JVM via the
+
<project>
@@ -228,8 +228,9 @@
</target>
</project>
-
+
+src/lib/jupiter
directory is expected to contain
the Jupiter test engine related jars (which have been
@@ -240,6 +241,7 @@
listed in an earlier section of this
document)test
target we use the classpath
nested element
to point to the junit.engine.jupiter.classpath
and junit.platform.libs.classpath
containing those jars.
@@ -602,13 +604,13 @@ The fork
element allows the following nested elements:
jvmarg
elements.
For example:
+
<fork ...>
<jvmarg value="-Djava.compiler=NONE"/>
...
</fork>
-
jvmarg
allows all attributes described in Command-line Arguments
@@ -617,13 +619,13 @@ The fork
element allows the following nested elements:
The sysproperty
elements allow passing Java system properties to the forked JVM:
+
<fork> <sysproperty key="greeting" value="hello world"/> ... </fork>-
The attributes for this element are the same as for environment variables
diff --git a/manual/Tasks/link.html b/manual/Tasks/link.html index 212770b63..1ba1a6bcc 100644 --- a/manual/Tasks/link.html +++ b/manual/Tasks/link.html @@ -279,7 +279,7 @@ which executes a particular module's main class. Attributes:Specifies locales to include in linked image. May be specified multiple
-times. Requires jdk.localedata
module. Attributes:
+times. Requires jdk.localedata
module. Attributes:
Attribute | @@ -318,7 +318,7 @@ times. Attributes:
---|
Attribute | @@ -575,7 +575,6 @@ jmod describe "$FOREIGN_JDK_HOME"/jmods/java.base.jmod | grep '^platform' -
---|