mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 03:10:09 +02:00
[3.1.0] Make StringHash system-agnostic.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1621 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* @note Sample input files are located in the StringHashParser/ directory.
|
||||
*/
|
||||
class HTMLPurifier_ConfigSchema_StringHashParserTest extends UnitTestCase
|
||||
class HTMLPurifier_StringHashParserTest extends UnitTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
@@ -12,7 +12,7 @@ class HTMLPurifier_ConfigSchema_StringHashParserTest extends UnitTestCase
|
||||
protected $parser;
|
||||
|
||||
function setup() {
|
||||
$this->parser = new HTMLPurifier_ConfigSchema_StringHashParser();
|
||||
$this->parser = new HTMLPurifier_StringHashParser();
|
||||
}
|
||||
|
||||
/**
|
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
class HTMLPurifier_ConfigSchema_StringHashTest extends UnitTestCase
|
||||
class HTMLPurifier_StringHashTest extends UnitTestCase
|
||||
{
|
||||
|
||||
public function testUsed() {
|
||||
$hash = new HTMLPurifier_ConfigSchema_StringHash(array(
|
||||
$hash = new HTMLPurifier_StringHash(array(
|
||||
'key' => 'value',
|
||||
'key2' => 'value2'
|
||||
));
|
Reference in New Issue
Block a user