mirror of
https://github.com/rife2/bld
synced 2026-03-02 19:04:09 +01:00
Compare commits
3 commits
b14b00d275
...
a35f60d540
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a35f60d540 | ||
|
|
44bce493ac | ||
|
|
1a1e97d0c4 |
|
|
@ -872,13 +872,25 @@ class TestJavacOptions {
|
|||
TRY, UNCHECKED, VARARGS
|
||||
);
|
||||
|
||||
String[] keys = {
|
||||
"all", "auxiliaryclass", "cast", "classfile", "dangling-doc-comments",
|
||||
"dep-ann", "deprecation", "divzero", "empty", "exports", "fallthrough",
|
||||
"finally", "identity", "incubating", "lossy-conversions",
|
||||
"missing-explicit-ctor", "module", "none", "opens", "options",
|
||||
"output-file-clash", "overloads", "overrides", "path", "preview",
|
||||
"processing", "rawtypes", "removal", "requires-automatic",
|
||||
"requires-transitive-automatic", "restricted", "serial", "static",
|
||||
"strictfp", "synchronization", "text-blocks", "this-escape",
|
||||
"try", "unchecked", "varargs"
|
||||
};
|
||||
|
||||
assertEquals(1, options.size());
|
||||
var result = options.get(0);
|
||||
assertTrue(result.startsWith("-Xlint:"));
|
||||
assertTrue(result.contains("all"));
|
||||
assertTrue(result.contains("deprecation"));
|
||||
assertTrue(result.contains("unchecked"));
|
||||
assertTrue(result.contains("dangling-doc-comments"));
|
||||
|
||||
for (var key : keys) {
|
||||
assertTrue(result.contains(key));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Reference in a new issue