From f8b5eeec07d58479df0c63b6dd33ac5114fafa10 Mon Sep 17 00:00:00 2001 From: uschindler Date: Sun, 23 Nov 2014 11:50:58 +0000 Subject: [PATCH] Issue #41: Add test --- src/test/antunit/TestInlineSignatures.xml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/test/antunit/TestInlineSignatures.xml b/src/test/antunit/TestInlineSignatures.xml index 8cfab76b..23b17bf1 100644 --- a/src/test/antunit/TestInlineSignatures.xml +++ b/src/test/antunit/TestInlineSignatures.xml @@ -63,4 +63,29 @@ + + + + + foo.bar.ForbiddenApis#testMethod() @ should fail here + java.lang.String#forbiddenFoobarMethod() @ should also fail + java.lang.String#forbiddenFoobarField @ should also fail + + + + + + + + @ignoreUnresolvable + foo.bar.ForbiddenApis#testMethod() @ should be ignored + java.lang.String#forbiddenFoobarMethod() @ should be ignored + java.lang.String#forbiddenFoobarField @ should be ignored + 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) + + + + + + \ No newline at end of file