-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: added bunch of tests for
ProjectBuilder
These tests the main ways a project can be built: from a source file, from a JAR or from a GAV. In all three cases we also test their options being overridden by aliases.
- Loading branch information
Showing
5 changed files
with
426 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
//REPOS dummy=http://dummy | ||
//DEPS dummy.org:dummy:1.2.3 | ||
|
||
//SOURCES Two.java | ||
//SOURCES nested/*.java | ||
|
||
//FILES res/resource.properties renamed.properties=res/resource.properties | ||
//FILES META-INF/application.properties=res/resource.properties | ||
|
||
//COMPILE_OPTIONS --enable-preview --verbose | ||
//RUNTIME_OPTIONS --add-opens java.base/java.net=ALL-UNNAMED | ||
//NATIVE_OPTIONS -O1 -d | ||
|
||
//JAVA 11+ | ||
//MAIN mainclass | ||
//MODULE mymodule | ||
//DESCRIPTION some description | ||
//GAV example.org:alltags:1.2.3 | ||
//CDS | ||
//PREVIEW | ||
//MANIFEST one=1 two=2 three=3 | ||
//JAVAAGENT | ||
|
||
public class alltags { | ||
public static void main(String... args) { | ||
} | ||
} |
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
Oops, something went wrong.