<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
nonstatic is bad
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
import junit.framework.TestCase;
public class Foo extends TestCase {
 public TestSuite suite() {}
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
public static with no params is OK
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
import junit.framework.TestCase;
public class Foo extends TestCase {
 public static TestSuite suite() {}
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
private suite() is bad
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
import junit.framework.TestCase;
public class Foo extends TestCase {
 private static TestSuite suite() {}
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
if there are params, just skip it
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
import junit.framework.TestCase;
public class Foo extends TestCase {
 protected static Test suite(Foo foo) {}
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
Not a JUnit test (nonstatic is bad)
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 public TestSuite suite() {}
}
     ]]></code>
    </test-code>
</test-data>
