<?xml version="1.0" encoding="UTF-8"?>
<test-data>
  <test-code>
    <description><![CDATA[
Success
    ]]></description>
    <expected-problems>0</expected-problems>
    <code><![CDATA[
public class MyActivity extends Activity {
  protected void foo() {
    if (Config.LOGD) {
      Log.d("Tag", "msg 1");
    }
    bar();
    if (Config.LOGD) Log.d("Tag", "msg 2");
    bar();
    if (Config.LOGD && OTHER_DEBUG_FLAG) {
      Log.d("Tag", "msg 3");
    }
  }
}
    ]]></code>
  </test-code>
  <test-code>
    <description><![CDATA[
Failure
    ]]></description>
    <expected-problems>1</expected-problems>
    <code><![CDATA[
public class MyActivity extends Activity {
  protected void foo() {
    Log.d("Tag", "msg");
    bar();
  }
}
    ]]></code>
  </test-code>
</test-data>