mirror of
https://github.com/rife2/bld
synced 2026-04-26 01:34:09 +02:00
Compare commits
3 commits
a35f60d540
...
b14b00d275
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b14b00d275 | ||
|
|
46e260b361 | ||
|
|
32c400bcc8 |
|
|
@ -872,25 +872,13 @@ class TestJavacOptions {
|
||||||
TRY, UNCHECKED, VARARGS
|
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());
|
assertEquals(1, options.size());
|
||||||
var result = options.get(0);
|
var result = options.get(0);
|
||||||
assertTrue(result.startsWith("-Xlint:"));
|
assertTrue(result.startsWith("-Xlint:"));
|
||||||
|
assertTrue(result.contains("all"));
|
||||||
for (var key : keys) {
|
assertTrue(result.contains("deprecation"));
|
||||||
assertTrue(result.contains(key));
|
assertTrue(result.contains("unchecked"));
|
||||||
}
|
assertTrue(result.contains("dangling-doc-comments"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue