<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
ok
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar(int x) {
  switch(x) { 
  case 1: 
   break; 
  default:
   break;
  }
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
bad
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar(int x) {
  switch(x) { 
  case 1: 
   break; 
  default:
   break;
  case 2: 
   break; 
  }
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
ok, no default
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar(int x) {
  switch(x) { 
  case 1: 
   break; 
  case 2: 
   break; 
  }
 }
}
     ]]></code>
    </test-code>
</test-data>
