<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
ok
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class ShortMethodName0 {
    public int abcd( int i ) {
       // Should not violate.
    }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
bad
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class ShortMethodName1 {
    public int a( int i ) {
       // Should violate.
    }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
2 violations
     ]]></description>
        <expected-problems>2</expected-problems>
        <code><![CDATA[
public class ShortMethodName2 {
    public int a( int i ) {
       // Should violate
    }

    public int b( int i ) {
       // Should violate
    }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
2 methods, 1 violation
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class ShortMethodName3 {
    public int a( int i ) {
       // Should violate
    }

    public int bcde( int i ) {
       // Should not violate
    }
}
     ]]></code>
    </test-code>
</test-data>
