-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1932] Use System Rules for Java 5-7, and use System Lambda for Java 8+
* System.exit tests * Environment variable tests
- Loading branch information
Showing
11 changed files
with
3,453 additions
and
965 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
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
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
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
901 changes: 901 additions & 0 deletions
901
picocli-tests-java567/src/test/java/picocli/AutoCompleteSystemExitTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
481 changes: 481 additions & 0 deletions
481
picocli-tests-java567/src/test/java/picocli/DefaultProviderEnvironmentTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
picocli-tests-java567/src/test/java/picocli/DefaultProviderEnvironmentTestBundle.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,16 @@ | ||
package picocli; | ||
|
||
import java.util.ListResourceBundle; | ||
|
||
/** | ||
* Resource bundle for DefaultProviderTest#testDefaultValueProviderWithVariablesResolvesResourceBundle | ||
*/ | ||
public class DefaultProviderEnvironmentTestBundle extends ListResourceBundle { | ||
protected Object[][] getContents() { | ||
return new Object[][] { | ||
// KEY VALUE PAIRS | ||
{"VARIABLE", "789"}, | ||
// END OF MATERIAL TO LOCALIZE | ||
}; | ||
} | ||
} |
1,060 changes: 1,060 additions & 0 deletions
1,060
picocli-tests-java567/src/test/java/picocli/HelpAnsiEnvironmentTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
929 changes: 929 additions & 0 deletions
929
picocli-tests-java8plus/src/test/java/picocli/AutoCompleteSystemExitTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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