From 85b9c8d01717c96951c4528edd3d89b44178b62b Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 25 Apr 2010 22:45:30 +0000 Subject: Modified list display. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6762 67b53d14-2c14-4ace-a08f-0dab2b34000c --- test/unbbcodeTest.php | 54 --------------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 test/unbbcodeTest.php (limited to 'test/unbbcodeTest.php') diff --git a/test/unbbcodeTest.php b/test/unbbcodeTest.php deleted file mode 100644 index 4933490..0000000 --- a/test/unbbcodeTest.php +++ /dev/null @@ -1,54 +0,0 @@ -setExpectedException($ex); - - /** - * phpBB3 uses many globals; due to the way tests are run, we cannot - * easily get these globals into the right scope so that the methods - * called by our tests can see them. Therefore, we run tests externally - * and report back on the results. - */ - $prog = <<bbcode_second_pass(\$msg, \$uid, \$bitfield); - \$result = serialize(\$msg); -} -catch (Exception \$e) { - \$result = serialize(\$e); -} - -print \$result; -EOF; - - $result = unserialize(exec('php -r \'' . $prog . '\'')); - - if ($result instanceof Exception) { - throw $result; - } - - $this->assertEquals($expected, $result); - } - - public function provider_bbcode_second_pass() { - return array( - array('[b]Test[/b]', '', false, 'Test', null) - ); - } -} - -?> -- cgit v1.2.3