< prev index next >

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

Print this page

        

*** 42,52 **** */ public class JPackageCreateAppImageBundleNameTest { 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_NAME = "TestBundleName"; private static final String APP_NAME = "test"; private static final String [] CMD_1 = { "--input", "input", --- 42,51 ----
*** 85,95 **** 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()); --- 84,94 ---- 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 >