3 class HTMLPurifier_AttrDef_HTML_BoolTest
extends HTMLPurifier_AttrDefHarness
8 $this->def
= new HTMLPurifier_AttrDef_HTML_Bool('foo');
9 $this->assertDef('foo');
10 $this->assertDef('', false);
11 $this->assertDef('bar', 'foo');
14 public function test_make()
16 $factory = new HTMLPurifier_AttrDef_HTML_Bool();
17 $def = $factory->make('foo');
18 $def2 = new HTMLPurifier_AttrDef_HTML_Bool('foo');
19 $this->assertIdentical($def, $def2);