You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TokenFactoryTest.php 414B

1234567891011121314151617
  1. <?php
  2. class HTMLPurifier_TokenFactoryTest extends HTMLPurifier_Harness
  3. {
  4. public function test()
  5. {
  6. $factory = new HTMLPurifier_TokenFactory();
  7. $regular = new HTMLPurifier_Token_Start('a', array('href' => 'about:blank'));
  8. $generated = $factory->createStart('a', array('href' => 'about:blank'));
  9. $this->assertIdentical($regular, $generated);
  10. }
  11. }
  12. // vim: et sw=4 sts=4