Permalink
Browse files

Rename classes

  • Loading branch information...
CloCkWeRX committed May 19, 2012
1 parent c303b73 commit e79449f9a8e7f04a63682986d9ddb0f9c847fad1
Showing with 6 additions and 6 deletions.
  1. +6 −6 tests/{HTML_BBCodeParserTest.php → HTML_BBCodeParser2Test.php}
@@ -1,13 +1,13 @@
<?php
require_once "PHPUnit/Framework/TestCase.php";
-require_once 'HTML/BBCodeParser.php';
+require_once 'HTML/BBCodeParser2.php';
-class HTML_BBCodeParserTest extends PHPUnit_Framework_TestCase
+class HTML_BBCodeParser2Test extends PHPUnit_Framework_TestCase
{
function testFilters()
{
- $bbc = new HTML_BBCodeParser(array('filters' => ''));
+ $bbc = new HTML_BBCodeParser2(array('filters' => ''));
$bbc->addFilter('Basic');
$this->basicBBCode($bbc, 'qparse');
$bbc->removeFilter('Basic');
@@ -19,7 +19,7 @@ function testFilters()
function testQparse()
{
- $bbc = new HTML_BBCodeParser(array('filters' => 'Basic,Email,Extended,Images,Links,Lists'));
+ $bbc = new HTML_BBCodeParser2(array('filters' => 'Basic,Email,Extended,Images,Links,Lists'));
$this->basicBBCode($bbc, 'qparse');
$this->listBBCode($bbc, 'qparse');
$this->linkBBCode($bbc, 'qparse');
@@ -203,7 +203,7 @@ function extBBCode($bbc, $funcNam)
*/
function testBug11400()
{
- $bbc = new HTML_BBCodeParser(array('filters' => ''));
+ $bbc = new HTML_BBCodeParser2(array('filters' => ''));
$bbc->addFilter('Lists');
//this works
@@ -227,7 +227,7 @@ function testBug11400()
*/
function testBug11370()
{
- $bbc = new HTML_BBCodeParser(array('filters' => ''));
+ $bbc = new HTML_BBCodeParser2(array('filters' => ''));
$bbc->addFilter('Images');
$this->assertEquals('<img src="admin.php?fs=image" alt="" />',

0 comments on commit e79449f

Please sign in to comment.