summaryrefslogtreecommitdiffstats
path: root/3rdparty/simplepie/tests/oldtests/absolutize/RFC3986.5.4/base.php
blob: 913aeec9dd0939c9da1eeb9a52d582536f9a18b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

class SimplePie_Absolutize_Test_RFC3986 extends SimplePie_Absolutize_Test
{
	function SimplePie_Absolutize_Test_RFC3986()
	{
		// Ugly hack so it only applies to this and none of its children
		if (!is_subclass_of($this, 'SimplePie_Absolutize_Test_RFC3986'))
		{
			$this->test = false;
		}
		// Only call the parent constructor if it exists
		if (is_callable(array('parent', 'SimplePie_Absolutize_Test')))
		{
			parent::SimplePie_Absolutize_Test();
		}
	}
	
	function init()
	{
		$this->data['base'] = 'http://a/b/c/d;p?q';
	}
}

?>