< prev index next >
test/tools/jlink/JLinkTest.java
Print this page
*** 189,211 ****
throw new AssertionError("Help");
}
}
{
- // License files
- Path file = Paths.get("LICENSE");
- Files.createFile(file);
- String copied = "LICENSE";
- String[] arr = copied.split(",");
- String[] copyFiles = new String[2];
- copyFiles[0] = "--copy-files";
- copyFiles[1] = file.toAbsolutePath().toString();
- Path imageDir = helper.generateDefaultImage(copyFiles, "composite2").assertSuccess();
- helper.checkImage(imageDir, "composite2", null, null, arr);
- }
-
- {
// List plugins
StringWriter writer = new StringWriter();
PrintWriter pw = new PrintWriter(writer);
JLINK_TOOL.run(pw, pw, "--list-plugins");
--- 189,198 ----
< prev index next >