diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTests.xml | 27 | ||||
-rw-r--r-- | tests/ajcTestsFailing.xml | 21 |
2 files changed, 27 insertions, 21 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 2081e9e7c..35b7d15f9 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -7236,4 +7236,31 @@ </compile> </ajc-test> + <ajc-test dir="bugs/fieldsOnInterfaces" + pr="52107" + title="declare String field on interface"> + <compile files="StringFieldOnInterface.java"> + <message kind="warning" line="16" text="this affected type is not exposed"/> + <message kind="warning" line="17" text="this affected type is not exposed"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs/fieldsOnInterfaces" + pr="52107" + title="declare int field on interface"> + <compile files="IntFieldOnInterface.java"> + <message kind="warning" line="27" text="this affected type is not exposed"/> + <message kind="warning" line="28" text="this affected type is not exposed"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs/fieldsOnInterfaces" + pr="52107" + title="declare Object field on interface"> + <compile files="ObjectFieldOnInterface.java"> + <message kind="warning" line="20" text="this affected type is not exposed"/> + <message kind="warning" line="21" text="this affected type is not exposed"/> + </compile> + </ajc-test> + </suite> diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml index cd8ba3e47..c2fb46b05 100644 --- a/tests/ajcTestsFailing.xml +++ b/tests/ajcTestsFailing.xml @@ -133,25 +133,4 @@ <run class="InterfaceInitializerOrder"/> </ajc-test> - <ajc-test dir="bugs/fieldsOnInterfaces" - pr="52107" - title="declare String field on interface"> - <compile files="StringFieldOnInterface.java"/> - <run class="StringFieldOnInterface"/> - </ajc-test> - - <ajc-test dir="bugs/fieldsOnInterfaces" - pr="52107" - title="declare int field on interface"> - <compile files="IntFieldOnInterface.java"/> - <run class="IntFieldOnInterface"/> - </ajc-test> - - <ajc-test dir="bugs/fieldsOnInterfaces" - pr="52107" - title="declare Object field on interface"> - <compile files="ObjectFieldOnInterface.java"/> - <run class="ObjectFieldOnInterface"/> - </ajc-test> - </suite> |