< prev index next >

test/jdk/tools/jpackage/createappimage/macosx/JPackageCreateAppImageBundleIdentifierTest.java

Print this page

        

*** 42,52 **** */ public class JPackageCreateAppImageBundleIdentifierTest { private static final String OUTPUT = "output"; private static final String app = JPackagePath.getApp(); private static final String appOutput = JPackagePath.getAppOutputFile(); - private static final String appWorkingDir = JPackagePath.getAppWorkingDir(); private static final String MAC_BUNDLE_IDENTIFIER = "TestBundleIdentifier"; private static final String APP_NAME = "test"; private static final String MAIN_CLASS = "Hello"; private static final String [] CMD_1 = { --- 42,51 ----
*** 86,96 **** if (retVal != 0) { throw new AssertionError( "Test application exited with error: " + retVal); } ! File outfile = new File(appWorkingDir + File.separator + appOutput); if (!outfile.exists()) { throw new AssertionError(appOutput + " was not created"); } String output = Files.readString(outfile.toPath()); --- 85,95 ---- if (retVal != 0) { throw new AssertionError( "Test application exited with error: " + retVal); } ! File outfile = new File(appOutput); if (!outfile.exists()) { throw new AssertionError(appOutput + " was not created"); } String output = Files.readString(outfile.toPath());
< prev index next >