<test-data xmlns="http://pmd.sourceforge.net/rule-tests"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://pmd.sourceforge.net/rule-tests https://pmd.sourceforge.io/rule-tests_1_0_0.xsd">

    <code-fragment id="PackageNamingRule">
        <![CDATA[
        // should be lowercase name
        package com.MyCompany;
        public class SomeClass {
        }
    ]]>
    </code-fragment>
    <test-code>
        <description>Package Name should be lowercase</description>
        <expected-problems>1</expected-problems>
        <expected-linenumbers>2</expected-linenumbers>
        <code-ref id="PackageNamingRule" />
    </test-code>


    <code-fragment id="PackageNamingRule1">
        <![CDATA[
        // should be lowercase name
        package com.my.company;
        public class SomeClass {
        }
    ]]>
    </code-fragment>
    <test-code>
        <description>Package Name should be lowercase</description>
        <expected-problems>0</expected-problems>
        <code-ref id="PackageNamingRule1" />
    </test-code>



</test-data>
