logo       
Google Custom Search
    AddThis Social Bookmark Button

cvs: pear-core /tests/PEAR_Command_Auth setup.php.inc /tests/PEAR_Command_: msg#00053

Subject: cvs: pear-core /tests/PEAR_Command_Auth setup.php.inc /tests/PEAR_Command_Auth/login test.phpt /tests/PEAR_Command_Auth/logout test.phpt
cellog          Fri Feb  3 05:05:42 2006 UTC

  Modified files:              
    /pear-core/tests/PEAR_Command_Auth  setup.php.inc 
    /pear-core/tests/PEAR_Command_Auth/login    test.phpt 
    /pear-core/tests/PEAR_Command_Auth/logout   test.phpt 
  Log:
  switch to using --CLEAN-- instead of register_shutdown_func
  
http://cvs.php.net/viewcvs.cgi/pear-core/tests/PEAR_Command_Auth/setup.php.inc?r1=1.1&r2=1.2&diff_format=u
Index: pear-core/tests/PEAR_Command_Auth/setup.php.inc
diff -u pear-core/tests/PEAR_Command_Auth/setup.php.inc:1.1 
pear-core/tests/PEAR_Command_Auth/setup.php.inc:1.2
--- pear-core/tests/PEAR_Command_Auth/setup.php.inc:1.1 Mon Dec 27 06:54:46 2004
+++ pear-core/tests/PEAR_Command_Auth/setup.php.inc     Fri Feb  3 05:05:42 2006
@@ -6,7 +6,6 @@
 
 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 
'download_test_classes.php.inc';
 
-register_shutdown_function('cleanall');
 cleanall($temp_path);
 $statedir = $temp_path;
 if (!is_dir($temp_path)) {
http://cvs.php.net/viewcvs.cgi/pear-core/tests/PEAR_Command_Auth/login/test.phpt?r1=1.2&r2=1.3&diff_format=u
Index: pear-core/tests/PEAR_Command_Auth/login/test.phpt
diff -u pear-core/tests/PEAR_Command_Auth/login/test.phpt:1.2 
pear-core/tests/PEAR_Command_Auth/login/test.phpt:1.3
--- pear-core/tests/PEAR_Command_Auth/login/test.phpt:1.2       Sun Jan  2 
07:08:27 2005
+++ pear-core/tests/PEAR_Command_Auth/login/test.phpt   Fri Feb  3 05:05:42 2006
@@ -33,5 +33,9 @@
 $phpunit->assertEquals('hi', $config->get('password'), 'password');
 echo 'tests done';
 ?>
+--CLEAN--
+<?php
+require_once dirname(dirname(__FILE__)) . '/teardown.php.inc';
+?>
 --EXPECT--
 tests done
http://cvs.php.net/viewcvs.cgi/pear-core/tests/PEAR_Command_Auth/logout/test.phpt?r1=1.2&r2=1.3&diff_format=u
Index: pear-core/tests/PEAR_Command_Auth/logout/test.phpt
diff -u pear-core/tests/PEAR_Command_Auth/logout/test.phpt:1.2 
pear-core/tests/PEAR_Command_Auth/logout/test.phpt:1.3
--- pear-core/tests/PEAR_Command_Auth/logout/test.phpt:1.2      Sun Jan  2 
07:08:27 2005
+++ pear-core/tests/PEAR_Command_Auth/logout/test.phpt  Fri Feb  3 05:05:42 2006
@@ -44,5 +44,9 @@
 $phpunit->assertEquals('', $config->get('password'), 'password');
 echo 'tests done';
 ?>
+--CLEAN--
+<?php
+require_once dirname(dirname(__FILE__)) . '/teardown.php.inc';
+?>
 --EXPECT--
 tests done




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>