-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Dynamically create test jars for JarCommandTest
Follow-up to #4205.
- Loading branch information
Showing
9 changed files
with
81 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
# Ignore reason: jars are used for testing purposes only | ||
ignorePaths: | ||
- jib-cli/src/integration-test/resources/jarTest/standard/dependency1.jar | ||
- jib-cli/src/integration-test/resources/jarTest/standard/directory/dependency2.jar | ||
- jib-cli/src/integration-test/resources/jarTest/standard/jarWithCp.jar | ||
- jib-cli/src/integration-test/resources/jarTest/standard/noDependencyJar.jar | ||
- jib-gradle-plugin/src/integration-test/resources/gradle/projects/default-target/libs/dependency-1.0.0.jar | ||
- jib-gradle-plugin/src/integration-test/resources/gradle/projects/simple/libs/dependency-1.0.0.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
jib-cli/src/integration-test/resources/jarTest/standard/HelloWorld.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class HelloWorld { | ||
public static void main(String[] args) { | ||
System.out.print("Hello World"); | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
jib-cli/src/integration-test/resources/jarTest/standard/dep/A.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package dep; | ||
|
||
public class A { | ||
public static void getResult() { | ||
System.out.print("Hello "); | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
jib-cli/src/integration-test/resources/jarTest/standard/dep2/B.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package dep2; | ||
|
||
public class B { | ||
public static void getResult() { | ||
System.out.print("World"); | ||
} | ||
} |
Binary file removed
BIN
-817 Bytes
jib-cli/src/integration-test/resources/jarTest/standard/dependency1.jar
Binary file not shown.
Binary file removed
BIN
-877 Bytes
jib-cli/src/integration-test/resources/jarTest/standard/directory/dependency2.jar
Binary file not shown.
Binary file removed
BIN
-772 Bytes
jib-cli/src/integration-test/resources/jarTest/standard/jarWithCp.jar
Binary file not shown.
Binary file removed
BIN
-775 Bytes
jib-cli/src/integration-test/resources/jarTest/standard/noDependencyJar.jar
Binary file not shown.