You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/antunit/TestInlineSignatures.xml
+4-2
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,8 @@
97
97
java.lang.String#forbiddenFoobarField @ should be ignored
98
98
java.awt.Color @ Color is disallowed, thats not bad, because ANT has no colors... (this was just added to don't fail because of missing signatures)
99
99
</forbiddenapis>
100
-
<au:assertLogContainslevel="warning"text="Class 'foo.bar.ForbiddenApis' not found on classpath while parsing signature: foo.bar.ForbiddenApis#testMethod() [signature ignored]"/>
100
+
<au:assertLogContainslevel="warning"text="Some signatures were ignored because the following classes were not found on classpath:"/>
<au:assertLogContainslevel="warning"text="Method not found while parsing signature: java.lang.String#forbiddenFoobarMethod() [signature ignored]"/>
102
103
<au:assertLogContainslevel="warning"text="Field not found while parsing signature: java.lang.String#forbiddenFoobarField [signature ignored]"/>
103
104
</target>
@@ -110,7 +111,8 @@
110
111
java.lang.String#forbiddenFoobarField @ should be ignored
111
112
java.awt.Color @ Color is disallowed, thats not bad, because ANT has no colors... (this was just added to don't fail because of missing signatures)
112
113
</forbiddenapis>
113
-
<au:assertLogContainslevel="warning"text="Class 'foo.bar.ForbiddenApis' not found on classpath while parsing signature: foo.bar.ForbiddenApis#testMethod() [signature ignored]"/>
114
+
<au:assertLogContainslevel="warning"text="Some signatures were ignored because the following classes were not found on classpath:"/>
<au:assertLogContainstext="Class 'foo.bar.ForbiddenApis' not found on classpath while parsing signature: foo.bar.ForbiddenApis#testMethod() [signature ignored]"/>
87
+
<au:assertLogContainstext="Some signatures were ignored because the following classes were not found on classpath:"/>
0 commit comments