예제 #1
0
 public static function setUpBeforeClass()
 {
     hQuery::$_mockup_class = 'TestHQueryTests';
     self::$inst = TestHQueryTests::fromHTML('<doctype html>' . '<html>' . '<head>' . '<meta charset="ISO-8859-2" />' . '<title>Sample HTML Doc</title>' . '</head>' . '<body class="test-class">' . '<div id="test-div" class="test-class test-div">' . 'This is some text' . '<a href="/path">' . 'This is a link' . '</a>' . ' between tags' . '<span id="aSpan">Span text</span>' . '</div>' . 'Contents...' . '</body>' . '</html>', self::$baseUrl . 'index.html');
     self::log(get_class(self::$inst));
 }