PSR-2 reformatting PHPDoc corrections
[htmlpurifier.git] / tests / HTMLPurifier / AttrDef / HTML / BoolTest.php
blobca7903270afa12adea844dd6871ec2ee6254c853
1 <?php
3 class HTMLPurifier_AttrDef_HTML_BoolTest extends HTMLPurifier_AttrDefHarness
6 public function test()
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);
24 // vim: et sw=4 sts=4