diff options
-rw-r--r-- | tests/ajcTests.xml | 40 | ||||
-rw-r--r-- | tests/ajcTestsFailing.xml | 18 |
2 files changed, 40 insertions, 18 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 76e581540..c03e1c081 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -6322,4 +6322,44 @@ </compile> </ajc-test> + <ajc-test dir="incremental/stringliteral" + keywords="incremental-test" + title="incrementally change only string literal, still expect advice"> + <compile staging="true" options="-incremental" + sourceroots="src"/> + <run class="packageOne.Main" + options="in packageOne.Main.main(..), + before main packageOne.Main"/> + <inc-compile tag="20"> + <dir-changes updated="packageOne.Main"/> + </inc-compile> + <run class="packageOne.Main" + options="in longer packageOne.Main.main(..), + before main packageOne.Main"/> + </ajc-test> + + <ajc-test dir="harness" pr="38134" keywords="knownLimitation" + comment="behavior is correct for 1.1 - revisit for 1.2" + title="-nowarn suppresses XLint warnings"> + <compile files="XLintWarningTest.java" options="-nowarn"/> + </ajc-test> + + <ajc-test dir="harness" pr="38134" keywords="knownLimitation" + comment="behavior is correct for 1.1 - revisit for 1.2" + title="warn:none suppresses XLint warnings"> + <compile files="XLintWarningTest.java" options="-warn:none"/> + </ajc-test> + + <ajc-test dir="harness" pr="38134" keywords="knownLimitation" + comment="behavior is correct for 1.1 - revisit for 1.2" + title="-nowarn suppresses declare warnings"> + <compile files="WarningTest.java" options="-nowarn"/> + </ajc-test> + + <ajc-test dir="harness" pr="38134" keywords="knownLimitation" + comment="behavior is correct for 1.1 - revisit for 1.2" + title="-warn:none suppresses declare warnings"> + <compile files="WarningTest.java" options="-warn:none"/> + </ajc-test> + </suite> diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml index 7a4785eda..50d4ab090 100644 --- a/tests/ajcTestsFailing.xml +++ b/tests/ajcTestsFailing.xml @@ -3,23 +3,5 @@ <!-- contains valid tests that the compiler has never passed --> <suite> - <ajc-test dir="incremental/stringliteral" - keywords="incremental-test" - comment="compare known limitation in injars form; also fails inconsistently?" - title="incrementally change only string literal, still expect advice"> - <compile staging="true" options="-incremental" - sourceroots="src"/> - <run class="packageOne.Main" - options="in packageOne.Main.main(..), - before main packageOne.Main"/> - <inc-compile tag="20"> - <dir-changes updated="packageOne.Main"/> - </inc-compile> - <run class="packageOne.Main" - options="in longer packageOne.Main.main(..), - before main packageOne.Main"/> - </ajc-test> - - </suite> |