Add %HTML.TargetNoreferrer, which adds rel="noreferrer" when target attribute is set
[htmlpurifier.git] / tests / HTMLPurifier / DefinitionCache / DecoratorHarness.php
blob43db45afba5835e0bae0b8395aae3c3991f7b918
1 <?php
3 generate_mock_once('HTMLPurifier_DefinitionCache');
5 class HTMLPurifier_DefinitionCache_DecoratorHarness extends HTMLPurifier_DefinitionCacheHarness
8 public function setup()
10 $this->mock = new HTMLPurifier_DefinitionCacheMock();
11 $this->mock->type = 'Test';
12 $this->cache = $this->cache->decorate($this->mock);
13 $this->def = $this->generateDefinition();
14 $this->config = $this->generateConfigMock();
17 public function teardown()
19 unset($this->mock);
20 unset($this->cache);
25 // vim: et sw=4 sts=4