diff --git a/doc/hotspot-unit-tests.html b/doc/hotspot-unit-tests.html index b3700abb3ac..5cc424322f9 100644 --- a/doc/hotspot-unit-tests.html +++ b/doc/hotspot-unit-tests.html @@ -305,11 +305,11 @@ recognize your tests.
the product.All unit tests for a class from foo/bar/baz.cpp
-should be placed foo/bar/test_baz.cpp in
-hotspot/test/native/ directory. Having all tests for a
-class in one file is a common practice for unit tests, it helps to see
-all existing tests at once, share functions and/or resources without
-losing encapsulation.
foo/bar/test_baz.cpp in the
+test/hotspot/gtest/ directory. Having all tests for a class
+in one file is a common practice for unit tests, it helps to see all
+existing tests at once, share functions and/or resources without losing
+encapsulation.
For tests which test more than one class, directory hierarchy
should be the same as product hierarchy, and file name should reflect
the name of the tested subsystem/functionality. For example, if a
@@ -319,7 +319,7 @@ placed in gc/g1 directory.
Please note that framework prepends directory name to a test group
name. For example, if TEST(foo, check_this) and
TEST(bar, check_that) are defined in
-hotspot/test/native/gc/shared/test_foo.cpp file, they will
+test/hotspot/gtest/gc/shared/test_foo.cpp file, they will
be reported as gc/shared/foo::check_this and
gc/shared/bar::check_that.