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_Progress /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
ancestor.ini
793
B
-rw-r--r--
HTML_Progress_Bug28.php
1.09
KB
-rw-r--r--
HTML_Progress_TestCase_addListener.php
2.7
KB
-rw-r--r--
HTML_Progress_TestCase_DM_new.php
2
KB
-rw-r--r--
HTML_Progress_TestCase_DM_setIncrement.php
2.56
KB
-rw-r--r--
HTML_Progress_TestCase_DM_setMaximum.php
2.82
KB
-rw-r--r--
HTML_Progress_TestCase_DM_setMinimum.php
2.75
KB
-rw-r--r--
HTML_Progress_TestCase_DM_setValue.php
2.79
KB
-rw-r--r--
HTML_Progress_TestCase_getDM.php
2.28
KB
-rw-r--r--
HTML_Progress_TestCase_getString.php
2.41
KB
-rw-r--r--
HTML_Progress_TestCase_getUI.php
2.28
KB
-rw-r--r--
HTML_Progress_TestCase_removeListener.php
2.84
KB
-rw-r--r--
HTML_Progress_TestCase_setAnimSpeed.php
2.75
KB
-rw-r--r--
HTML_Progress_TestCase_setBorderPainted.php
2.35
KB
-rw-r--r--
HTML_Progress_TestCase_setDM.php
2.03
KB
-rw-r--r--
HTML_Progress_TestCase_setIndeterminate.php
2.35
KB
-rw-r--r--
HTML_Progress_TestCase_setModel.php
2.55
KB
-rw-r--r--
HTML_Progress_TestCase_setStringPainted.php
2.35
KB
-rw-r--r--
HTML_Progress_TestCase_setString.php
2.57
KB
-rw-r--r--
HTML_Progress_TestCase_setUI.php
2.03
KB
-rw-r--r--
HTML_Progress_TestCase_UI_getBorderAttributes.php
2.43
KB
-rw-r--r--
HTML_Progress_TestCase_UI_getCellAttributes.php
2.41
KB
-rw-r--r--
HTML_Progress_TestCase_UI_getProgressAttributes.php
2.45
KB
-rw-r--r--
HTML_Progress_TestCase_UI_getStringAttributes.php
2.43
KB
-rw-r--r--
HTML_Progress_TestCase_UI_new.php
1.71
KB
-rw-r--r--
HTML_Progress_TestCase_UI_setCellAttributes.php
2.89
KB
-rw-r--r--
HTML_Progress_TestCase_UI_setCellCoordinates.php
2.88
KB
-rw-r--r--
HTML_Progress_TestCase_UI_setCellCount.php
3.33
KB
-rw-r--r--
HTML_Progress_TestCase_UI_setFillWay.php
2.56
KB
-rw-r--r--
HTML_Progress_TestCase_UI_setOrientation.php
4.05
KB
-rw-r--r--
HTML_Progress_TestCase_UI_setScript.php
2.54
KB
-rw-r--r--
HTML_TestListener.php
1.91
KB
-rw-r--r--
progress3.js
1.36
KB
-rw-r--r--
stylesheet.css
1.3
KB
-rw-r--r--
testsuite.php
2.98
KB
-rw-r--r--
TestUnit.php
1.64
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : HTML_TestListener.php
<?php /** * Provides a nice HTML output for PHPUnit suite tests. * * @version $Id: HTML_TestListener.php,v 1.2 2005/08/28 14:12:09 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress * @ignore */ class HTML_TestListener extends PHPUnit_TestListener { function HTML_TestListener() { $report = <<<HDR <table cellspacing="1" cellpadding="1" border="0" width="90%" align="center" class="details"> <tr><th>Class</th><th>Function</th><th>Success</th><th>Meta-result</th></tr> HDR; echo $report; } function addError(&$test, &$t) { $this->_errors += 1; } function addFailure(&$test, &$t) { $this->_fails += 1; } function endTest(&$test) { /* Report both the test result and, for this special situation where some tests are expected to fail, a "meta" test result which indicates whether the test result matches the expected result. */ $expect_failure = preg_match('/fail/i', $test->getName()); $test_passed = ($this->_fails == 0 && $this->_errors == 0); if ($this->_errors > 0) { $outcome = "<span class=\"Error\">ERROR</span>"; } else if ($this->_fails > 0) { $outcome = "<span class=\"Failure\">FAIL</span>"; } else { $outcome = "<span class=\"Pass\">OK</span>"; } if ($this->_errors > 0) { $meta_outcome = '<span class="Unknown">unknown</span>'; } else { $meta_outcome = ($expect_failure xor $test_passed) ? '<span class="Expected">as expected</span>' : '<span class="Unexpected">UNEXPECTED</span>'; } printf("<td>$outcome</td><td>$meta_outcome</td></tr>"); } function startTest(&$test) { $this->_fails = 0; $this->_errors = 0; printf("<tr><td>%s </td><td>%s </td>", get_class($test), $test->getName()); } } ?>
Close