issue983 Add a new test case for an annotation with a single non value element

This commit is contained in:
Kirk Clemens
2018-03-17 19:38:40 -05:00
parent 313da24a71
commit 844ab0e6d4

View File

@@ -95,6 +95,25 @@ public class Foo {
int x = 42;
return;
}
}
]]></code>
</test-code>
<test-code>
<description><![CDATA[
Single non Value Element in Method Annotation
]]></description>
<expected-problems>0</expected-problems>
<code><![CDATA[
public class Foo {
private String y;
@TestMethodAnnotation(other = "TEST")
public void bar() {
int x = 42;
return;
}
}
]]></code>
</test-code>