<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>cakephp/helpers/.DS_Store</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -8,164 +8,164 @@ class HtmlCleanerTestCase extends UnitTestCase {
 	function testUnembeddableTags() {
 		$input = '&lt;p&gt;some text here';
 		$expected = '&lt;p&gt;some text here&lt;/p&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;p&gt;some &lt;p&gt;text here';
 		$expected = '&lt;p&gt;some &lt;/p&gt;&lt;p&gt;text here&lt;/p&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;p&gt;some text here&lt;/p&gt;&lt;p&gt;';
 		$expected = '&lt;p&gt;some text here&lt;/p&gt;&lt;p&gt;&lt;/p&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 
 		$input = '&lt;a&gt;some text here';
 		$expected = '&lt;a&gt;some text here&lt;/a&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;a&gt;some &lt;a&gt;text here';
 		$expected = '&lt;a&gt;some &lt;/a&gt;&lt;a&gt;text here&lt;/a&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;a&gt;some text here&lt;/a&gt;&lt;a&gt;';
 		$expected = '&lt;a&gt;some text here&lt;/a&gt;&lt;a&gt;&lt;/a&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 	}
 
 	function testSingleTags() {
 		$input = '&lt;img&gt;some text here';
 		$expected = '&lt;img /&gt;some text here';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = 'some text here&lt;br&gt;';
 		$expected = 'some text here&lt;br /&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;br&gt;some &lt;br&gt; &lt;br&gt; text &lt;br&gt; here&lt;br&gt;&lt;br&gt;';
 		$expected = '&lt;br /&gt;some &lt;br /&gt; &lt;br /&gt; text &lt;br /&gt; here&lt;br /&gt;&lt;br /&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 
 		$input = '&lt;br &gt;some &lt;br &gt; &lt;br &gt; text &lt;br &gt; here&lt;br &gt;&lt;br &gt;';
 		$expected = '&lt;br /&gt;some &lt;br /&gt; &lt;br /&gt; text &lt;br /&gt; here&lt;br /&gt;&lt;br /&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;hr&gt; &lt;hr &gt;some &lt;hr &gt; &lt;hr &gt; text &lt;hr &gt; here&lt;hr &gt;&lt;hr &gt;';
 		$expected = '&lt;hr /&gt; &lt;hr /&gt;some &lt;hr /&gt; &lt;hr /&gt; text &lt;hr /&gt; here&lt;hr /&gt;&lt;hr /&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;input &gt;some &lt;input &gt; &lt;input &gt; text &lt;input &gt; here&lt;input &gt;&lt;input &gt;';
 		$expected = '&lt;input /&gt;some &lt;input /&gt; &lt;input /&gt; text &lt;input /&gt; here&lt;input /&gt;&lt;input /&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 	}
 	
 	function testEmbeddableTags() {
 		$input = '&lt;div&gt;some text here';
 		$expected = '&lt;div&gt;some text here&lt;/div&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;div&gt;some &lt;div&gt;text here';
 		$expected = '&lt;div&gt;some &lt;div&gt;text here&lt;/div&gt;&lt;/div&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;div&gt;some text here&lt;/div&gt;&lt;div&gt;';
 		$expected = '&lt;div&gt;some text here&lt;/div&gt;&lt;div&gt;&lt;/div&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 
 
 		$input = '&lt;span&gt;some text here';
 		$expected = '&lt;span&gt;some text here&lt;/span&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;span&gt;some &lt;span&gt;text here';
 		$expected = '&lt;span&gt;some &lt;span&gt;text here&lt;/span&gt;&lt;/span&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;span&gt;some text here&lt;/span&gt;&lt;span&gt;';
 		$expected = '&lt;span&gt;some text here&lt;/span&gt;&lt;span&gt;&lt;/span&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 
 
 		$input = '&lt;blockquote&gt;some text here';
 		$expected = '&lt;blockquote&gt;some text here&lt;/blockquote&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;blockquote&gt;some &lt;blockquote&gt;text here';
 		$expected = '&lt;blockquote&gt;some &lt;blockquote&gt;text here&lt;/blockquote&gt;&lt;/blockquote&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;blockquote&gt;some text here&lt;/blockquote&gt;&lt;blockquote&gt;';
 		$expected = '&lt;blockquote&gt;some text here&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		
 		$input = '&lt;blockquote&gt;&lt;span&gt;some text here';
 		$expected = '&lt;blockquote&gt;&lt;span&gt;some text here&lt;/span&gt;&lt;/blockquote&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;blockquote&gt;some &lt;blockquote&gt;text here&lt;span&gt;';
 		$expected = '&lt;blockquote&gt;some &lt;blockquote&gt;text here&lt;span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;blockquote&gt;some text here&lt;/span&gt;&lt;blockquote&gt;';
 		$expected = '&lt;blockquote&gt;some text here&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;blockquote&gt;some &lt;span&gt;text&lt;/span2&gt; here&lt;/span&gt;&lt;blockquote&gt;';
 		$expected = '&lt;blockquote&gt;some &lt;span&gt;text here&lt;/span&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 	}
 	
 	function testAttributes() {
 		$input = '&lt;img src=&quot;testme&quot;&gt;some text here';
 		$expected = '&lt;img src=&quot;testme&quot;/&gt;some text here';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = 'some text &lt;div style=&quot;lala&quot;&gt;here';
 		$expected = 'some text &lt;div style=&quot;lala&quot;&gt;here&lt;/div&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = '&lt;div cleanup=&quot;here&quot; isFun=&quot;yes&quot;&gt;';
 		$expected = '&lt;div cleanup=&quot;here&quot; isFun=&quot;yes&quot;&gt;&lt;/div&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 	}
 	
 	function testUnclosedTagsAtEnd() {
 		$input = 'some text here&lt;div';
 		$expected = 'some text here';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = 'some text here&lt;div   ';
 		$expected = 'some text here';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = 'some text here &lt;span &lt;span  ';
 		$expected = 'some text here ';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = &quot;some text here \n&lt;span &quot;;
 		$expected = &quot;some text here \n&quot;;
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = &quot;some text here &lt;div  \n&gt;&lt;/div&gt;&lt;span &quot;;
 		$expected = &quot;some text here \n&gt;&quot;;
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 	}
 	
 	function testReallyInvalidHtml() {
 		$input = 'some &lt;/span&gt;&lt;div&gt;text&lt;p&gt; &lt;/div';
 		$expected = 'some &lt;div&gt;text&lt;p&gt; &lt;/p&gt;&lt;/div&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = 'some &lt;/blockquote&gt;text &lt;div&gt;here&lt;div   &lt;blockquote';
 		$expected = 'some text &lt;div&gt;here&lt;/div&gt;';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = 'some text here &lt;d  ';
 		$expected = 'some text here ';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = 'some text here &lt;spa';
 		$expected = 'some text here ';
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 
 	}
 	
@@ -176,7 +176,7 @@ HTML;
 		$expected = &lt;&lt;&lt;HTML
 &lt;p&gt;For your convenience, I've also uploaded my slides to &lt;a href=&quot;http://www.slideshare.net/the_undefined&quot;&gt;my slideshare account&lt;/a&gt;.&lt;/p&gt;
 HTML;
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 		
 		$input = &lt;&lt;&lt;HTML
 &lt;div class=&quot;body&quot;&gt;&lt;p&gt;For your convenience, I've also uploaded my slides to &lt;a href=&quot;http://www.slideshare.net/the_undefined&quot;&gt;my slideshare account&lt;/a&gt;.&lt;/p&gt;&lt;div
@@ -184,7 +184,7 @@ HTML;
 		$expected = &lt;&lt;&lt;HTML
 &lt;div class=&quot;body&quot;&gt;&lt;p&gt;For your convenience, I've also uploaded my slides to &lt;a href=&quot;http://www.slideshare.net/the_undefined&quot;&gt;my slideshare account&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
 HTML;
-		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+		$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 	
 	$input = &lt;&lt;&lt;HTML
 	&lt;div class=&quot;body&quot;&gt;&lt;p&gt;For your convenience, I've also uploaded my slides to &lt;a href=&quot;http://www.slideshare.net/the_undefined&quot;&gt;my slideshare account&lt;/a&gt;.&lt;/p&gt;&lt;div style=&quot;something here&quot;
@@ -192,7 +192,7 @@ HTML;
 			$expected = &lt;&lt;&lt;HTML
 	&lt;div class=&quot;body&quot;&gt;&lt;p&gt;For your convenience, I've also uploaded my slides to &lt;a href=&quot;http://www.slideshare.net/the_undefined&quot;&gt;my slideshare account&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
 HTML;
-			$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;process($input));
+			$this-&gt;assertEqual($expected, $this-&gt;testObject-&gt;clean($input));
 	}
 }
 ?&gt;
\ No newline at end of file</diff>
      <filename>cakephp/helpers/html_cleaner/html_cleaner.test.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2fa42a95d10b9fefb76ca393599570d6927ea115</id>
    </parent>
  </parents>
  <author>
    <name>Tim Koschuetzki</name>
    <email>tim@debuggable.com</email>
  </author>
  <url>http://github.com/felixge/debuggable-scraps/commit/28f4cb7252e75406732f7024f947d96bae440fcf</url>
  <id>28f4cb7252e75406732f7024f947d96bae440fcf</id>
  <committed-date>2008-12-14T03:14:54-08:00</committed-date>
  <authored-date>2008-12-14T03:14:54-08:00</authored-date>
  <message>fixing tests to go with new html cleaner clean method</message>
  <tree>9d829c29cec194a3d9bf543af71979487a710e88</tree>
  <committer>
    <name>Tim Koschuetzki</name>
    <email>tim@debuggable.com</email>
  </committer>
</commit>
