Skip to content

Commit 9e8f4bc

Browse files
committed
Link to html version of testing docs
1 parent c342599 commit 9e8f4bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ _Congratulations!_ Your changeset will now make its way towards a promoted build
337337

338338
In addition to your own Java applications, OpenJDK have support for two test frameworks, JTReg and GTest. JTReg is a Java regression test framework that is used for most of the tests that are included in the OpenJDK source repository. The Google Test (GTest) framework is intended for unit testing of the C++ native code. Currently only JVM testing is supported by the GTest framework. Other areas use JTReg for unit testing of C++ code.
339339

340-
This section provides a brief summary of how to get started with testing in OpenJDK. For more information on configuration and how to use the OpenJDK test framework, a.k.a. "run-test framework", see [`doc/testing.md`](https://github.com/openjdk/jdk/blob/master/doc/testing.md).
340+
This section provides a brief summary of how to get started with testing in OpenJDK. For more information on configuration and how to use the OpenJDK test framework, a.k.a. "run-test framework", see [`doc/testing.md`](https://htmlpreview.github.io/?https://github.com/openjdk/jdk/blob/master/doc/testing.html).
341341

342342
In general all changes should come with a regression test so if you're writing product code you should also be writing test code. There are a few examples where it doesn't make sence to write an explicit regression test. These should be tagged in JBS with one of the [noreg-labels](#noreg).
343343

@@ -450,7 +450,7 @@ As mentioned the Google test framework is mainly used for C++ unit tests. There
450450

451451
`ASSERT` is a fatal assertion and will interrupt execution of the current sub-routine. `EXPECT` is a nonfatal assertion and will report the error but continues to run the test. All assertions have both an `ASSERT` and an `EXPECT` variant.
452452

453-
For more information on how to write good GTests in HotSpot, see [`doc/hotspot-unit-tests.md`](https://github.com/openjdk/jdk/blob/master/doc/hotspot-unit-tests.md).
453+
For more information on how to write good GTests in HotSpot, see [`doc/hotspot-unit-tests.md`](https://htmlpreview.github.io/?https://github.com/openjdk/jdk/blob/master/doc/hotspot-unit-tests.html).
454454

455455
### Running OpenJDK GTests
456456

0 commit comments

Comments
 (0)