Adding missing test resource

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4884 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Allan Caplan
2006-12-15 00:34:55 +00:00
parent 6cf52f8267
commit d0a8f7fedd

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<test-data>
<test-code>
<description><![CDATA[
TEST1
]]></description>
<expected-problems>1</expected-problems>
<code><![CDATA[
public class Foo {
synchronized void foo () {}
}
]]></code>
</test-code>
<test-code>
<description><![CDATA[
TEST2
]]></description>
<expected-problems>0</expected-problems>
<code><![CDATA[
public class Foo {
void foo () {
synchronized(mutex) {}
}
}
]]></code>
</test-code>
</test-data>