Add vim modelines to all files.
[htmlpurifier/bfroehle.git] / tests / HTMLPurifier / AttrDef / HTML / BoolTest.php
blob060d0fc8f0f2885c979ccc695dc2e0e6c052093d
1 <?php
3 class HTMLPurifier_AttrDef_HTML_BoolTest extends HTMLPurifier_AttrDefHarness
6 function test() {
7 $this->def = new HTMLPurifier_AttrDef_HTML_Bool('foo');
8 $this->assertDef('foo');
9 $this->assertDef('', false);
10 $this->assertDef('bar', 'foo');
13 function test_make() {
14 $factory = new HTMLPurifier_AttrDef_HTML_Bool();
15 $def = $factory->make('foo');
16 $def2 = new HTMLPurifier_AttrDef_HTML_Bool('foo');
17 $this->assertIdentical($def, $def2);
22 // vim: et sw=4 sts=4