<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
simple failure case
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void foo() {
  int x = 2;
  for (;x<5;) { 
   x++;
  }
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
ok
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void foo() {
  for (int x=2;x<5;) { 
   x++;
  }
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
for loop like this: for (;;) {} 
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void foo() {
  for (;;) {}
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
JDK 1.5 for loop
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void foo() {
  for (String x : mylist) {}
 }
}
     ]]></code>
        <source-type>java 1.5</source-type>
    </test-code>
</test-data>
