Skip to content

Commit

Permalink
add comment to test method
Browse files Browse the repository at this point in the history
  • Loading branch information
jaikiran committed Dec 20, 2024
1 parent 861c29b commit 93c2a9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/jdk/tools/jar/JarCreateFileNameTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public class JarCreateFileNameTest {
new RuntimeException("jar tool not found")
);

/*
* Launches "jar --create --file" with file names of varying lengths and verifies
* that the JAR file was successfully created.
*/
@ParameterizedTest
@ValueSource(strings = {"abcd", "abc", "ab", "a", "d.jar", "ef.jar"})
void testCreate(final String targetJarFileName) throws Exception {
Expand Down

0 comments on commit 93c2a9f

Please sign in to comment.