<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/test_project/src/java/net/sourceforge/importscrubber/FunctionalTest.java.expected</filename>
    </added>
    <added>
      <filename>test/test_project/src/java/net/sourceforge/importscrubber/FunctionalTest.java.scoured</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1,3 @@
 build
 .*.sw?
+coverage.ec</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -43,4 +43,10 @@ test.output.dir=${build.dir}/test-output
 
 conf.dir=${basedir}/conf
 
-gui.spawn=true
+test.project.dir=${basedir}/test/test_project
+
+test.project.src.dir=${test.project.dir}/src/java
+
+test.project.classes.dir=${test.project.dir}/build/classes
+
+test.source.file=net/sourceforge/importscrubber/FunctionalTest.java</diff>
      <filename>build.properties</filename>
    </modified>
    <modified>
      <diff>@@ -35,6 +35,7 @@
                 &lt;filter includes=&quot;net.sourceforge.importscrubber.*,net.sourceforge.importscrubber.ant.*&quot; /&gt;
             &lt;/instr&gt;
         &lt;/emma&gt;
+        &lt;!--
         &lt;testng
             sourcedir=&quot;${test.java.src.dir}&quot;
             classpathref=&quot;emma.classpath&quot;
@@ -46,6 +47,18 @@
             &lt;jvmarg value=&quot;-Demma.coverage.out.file=${emma.coverage.dir}/coverage.emma&quot; /&gt;
             &lt;jvmarg value=&quot;-Demma.coverage.out.merge=true&quot; /&gt;
         &lt;/testng&gt;
+        --&gt;
+
+        &lt;copy overwrite=&quot;true&quot; file=&quot;${test.project.src.dir}/${test.source.file}.orig&quot; tofile=&quot;${test.project.src.dir}/${test.source.file}&quot; /&gt;
+        &lt;ant antfile=&quot;${test.project.dir}/build.xml&quot; target=&quot;compile&quot; inheritAll=&quot;false&quot; /&gt;
+        &lt;java
+            classname=&quot;net.sourceforge.importscrubber.CLI&quot;
+            classpathref=&quot;emma.classpath&quot;
+            &gt;
+            &lt;arg line=&quot;${test.project.classes.dir} ${test.project.src.dir} ${test.source.file}&quot; /&gt;
+            &lt;jvmarg value=&quot;-Demma.coverage.out.file=${emma.coverage.dir}/coverage2.emma&quot; /&gt;
+            &lt;jvmarg value=&quot;-Demma.coverage.out.merge=true&quot; /&gt;
+        &lt;/java&gt;
 
         &lt;emma enabled=&quot;${emma.enabled}&quot;&gt;
             &lt;report sourcepath=&quot;${java.src.dir}&quot; &gt;
@@ -56,6 +69,12 @@
                 &lt;html outfile=&quot;${emma.dir}/coverage.html&quot; /&gt;
             &lt;/report&gt;
         &lt;/emma&gt;
+        &lt;copy overwrite=&quot;true&quot; file=&quot;${test.project.src.dir}/${test.source.file}&quot; tofile=&quot;${test.project.src.dir}/${test.source.file}.scoured&quot; /&gt;
+        &lt;copy overwrite=&quot;true&quot; file=&quot;${test.project.src.dir}/${test.source.file}.orig&quot; tofile=&quot;${test.project.src.dir}/${test.source.file}&quot; /&gt;
+        &lt;exec executable=&quot;diff&quot; failonerror=&quot;true&quot;&gt;
+            &lt;arg value=&quot;${test.project.src.dir}/${test.source.file}.scoured&quot; /&gt;
+            &lt;arg value=&quot;${test.project.src.dir}/${test.source.file}.expected&quot; /&gt;
+        &lt;/exec&gt;
 
     &lt;/target&gt;
 </diff>
      <filename>src/ant/test.xml</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,6 @@
     &lt;import file=&quot;${ant.src.dir}/javadoc.xml&quot; /&gt;
     &lt;import file=&quot;${ant.src.dir}/test.xml&quot; /&gt;
     &lt;import file=&quot;${ant.src.dir}/checkstyle.xml&quot; /&gt;
-    &lt;import file=&quot;${ant.src.dir}/run.xml&quot; /&gt;
     &lt;path id=&quot;scrub.classpath&quot;&gt;
         &lt;path refid=&quot;compile.classpath&quot; /&gt;
         &lt;pathelement location=&quot;${basedir}/../../build/emma/classes&quot; /&gt;</diff>
      <filename>test/test_project/build.xml</filename>
    </modified>
    <modified>
      <diff>@@ -15,6 +15,8 @@ import java.util.Map.Entry;
 import javax.swing.JLabel;
 import javax.swing.JTextField;
 
+import static java.lang.Math.*;
+
 /**
  * This class encapsulates an piece of code on which to run importscrubber
  */
@@ -29,6 +31,7 @@ public class FunctionalTest implements Runnable {
 
    public class Foo extends JLabel {
       public String getText() {
+         int blah = abs(-45);
          return super.getText();
       }
    }</diff>
      <filename>test/test_project/src/java/net/sourceforge/importscrubber/FunctionalTest.java</filename>
    </modified>
    <modified>
      <diff>@@ -15,6 +15,8 @@ import java.util.Map.Entry;
 import javax.swing.JLabel;
 import javax.swing.JTextField;
 
+import static java.lang.Math.*;
+
 /**
  * This class encapsulates an piece of code on which to run importscrubber
  */
@@ -29,6 +31,7 @@ public class FunctionalTest implements Runnable {
 
    public class Foo extends JLabel {
       public String getText() {
+         int blah = abs(-45);
          return super.getText();
       }
    }</diff>
      <filename>test/test_project/src/java/net/sourceforge/importscrubber/FunctionalTest.java.orig</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>09c7c5480150a4a0a71fe5b980b0815dbfdcfd79</id>
    </parent>
  </parents>
  <author>
    <name>David Copeland</name>
    <email>davetron5000@gmail.com</email>
  </author>
  <url>http://github.com/davetron5000/importscour/commit/27c5fd21fb13c39a6aa1d784545649ec4f43658e</url>
  <id>27c5fd21fb13c39a6aa1d784545649ec4f43658e</id>
  <committed-date>2008-12-08T16:40:28-08:00</committed-date>
  <authored-date>2008-12-08T16:40:28-08:00</authored-date>
  <message>Runs on a test file and compares the output to see if it's correct</message>
  <tree>fbb4f3df9b95f548a2d5ccded45b48ff98ae65a8</tree>
  <committer>
    <name>David Copeland</name>
    <email>davetron5000@gmail.com</email>
  </committer>
</commit>
