--- old/modules/fxpackager/src/test/java/com/oracle/bundlers/linux/LinuxAppBundlerTest.java 2014-03-13 13:00:05.000000000 -0600 +++ new/modules/fxpackager/src/test/java/com/oracle/bundlers/linux/LinuxAppBundlerTest.java 2014-03-13 13:00:05.000000000 -0600 @@ -26,7 +26,6 @@ package com.oracle.bundlers.linux; import com.oracle.bundlers.Bundler; -import com.oracle.bundlers.StandardBundlerParam; import com.sun.javafx.tools.packager.Log; import com.sun.javafx.tools.packager.bundlers.ConfigException; import com.sun.javafx.tools.packager.bundlers.LinuxAppBundler; @@ -44,6 +43,7 @@ import java.nio.file.Files; import java.util.*; +import static com.oracle.bundlers.StandardBundlerParam.*; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; @@ -116,8 +116,7 @@ @Test public void smokeTest() throws IOException, ConfigException, UnsupportedPlatformException { Bundler bundler = new LinuxAppBundler(); - ((LinuxAppBundler)bundler).setVerbose(true); - + assertNotNull(bundler.getName()); assertNotNull(bundler.getID()); assertNotNull(bundler.getDescription()); @@ -125,11 +124,12 @@ Map bundleParams = new HashMap<>(); - bundleParams.put(StandardBundlerParam.BUILD_ROOT.getID(), tmpBase); + bundleParams.put(BUILD_ROOT.getID(), tmpBase); - bundleParams.put(StandardBundlerParam.NAME.getID(), "Smoke"); - bundleParams.put(StandardBundlerParam.MAIN_CLASS.getID(), "hello.TestPackager"); - bundleParams.put(StandardBundlerParam.APP_RESOURCES.getID(), new RelativeFileSet(appResourcesDir, appResources)); + bundleParams.put(APP_NAME.getID(), "Smoke"); + bundleParams.put(MAIN_CLASS.getID(), "hello.TestPackager"); + bundleParams.put(APP_RESOURCES.getID(), new RelativeFileSet(appResourcesDir, appResources)); + bundleParams.put(VERBOSE.getID(), true); File output = bundler.execute(bundleParams, new File(workDir, "smoke")); validatePackageCfg(output); @@ -147,13 +147,12 @@ @Test public void minimumConfig() throws IOException, ConfigException, UnsupportedPlatformException { Bundler bundler = new LinuxAppBundler(); - ((LinuxAppBundler)bundler).setVerbose(true); Map bundleParams = new HashMap<>(); - bundleParams.put(StandardBundlerParam.BUILD_ROOT.getID(), tmpBase); + bundleParams.put(BUILD_ROOT.getID(), tmpBase); - bundleParams.put(StandardBundlerParam.APP_RESOURCES.getID(), new RelativeFileSet(appResourcesDir, appResources)); + bundleParams.put(APP_RESOURCES.getID(), new RelativeFileSet(appResourcesDir, appResources)); File output = bundler.execute(bundleParams, new File(workDir, "BareMinimum")); validatePackageCfg(output);