<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
basic violations
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Bar {
	public void foo() {
		// NEVER DO THIS IN A APP SERVER !!!
		System.exit(0);
	}
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
ok
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class SystemCall {
	public void methode() {
		// OK
		application.exit(0);
	}
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
basic violations with Runtime
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Bar {
    public void foo() {
        // NEVER DO THIS IN A APP SERVER !!!
        Runtime.getRuntime().exit(0);
    }
}
     ]]></code>
    </test-code>
</test-data>
