test/jdk/tools/jpackage/linux/ReleaseTest.java
branchJDK-8200758-branch
changeset 58416 f09bf58c1f17
parent 58301 e0efb29609bd
child 58761 88e2753a2334
--- a/test/jdk/tools/jpackage/linux/ReleaseTest.java	Mon Sep 30 15:59:50 2019 -0400
+++ b/test/jdk/tools/jpackage/linux/ReleaseTest.java	Mon Sep 30 19:11:19 2019 -0400
@@ -23,7 +23,7 @@
 
 import jdk.jpackage.test.PackageType;
 import jdk.jpackage.test.PackageTest;
-import jdk.jpackage.test.Test;
+import jdk.jpackage.test.TKit;
 
 
 /**
@@ -43,6 +43,7 @@
  * @test
  * @summary jpackage with --linux-app-release
  * @library ../helpers
+ * @build jdk.jpackage.test.*
  * @requires (os.family == "linux")
  * @modules jdk.jpackage/jdk.jpackage.internal
  * @run main/othervm/timeout=360 -Xmx512m ReleaseTest
@@ -52,7 +53,7 @@
     public static void main(String[] args) {
         final String RELEASE = "Rc3";
 
-        Test.run(args, () -> {
+        TKit.run(args, () -> {
             new PackageTest()
             .forTypes(PackageType.LINUX)
             .configureHelloApp()
@@ -63,7 +64,7 @@
             .addBundlePropertyVerifier("Release", RELEASE)
             .forTypes(PackageType.LINUX_DEB)
             .addBundlePropertyVerifier("Version", (propName, propValue) -> {
-                Test.assertTrue(propValue.endsWith("-" + RELEASE),
+                TKit.assertTrue(propValue.endsWith("-" + RELEASE),
                         String.format("Check value of %s property [%s] ends with %s",
                                 propName, propValue, RELEASE));
             })