cvs: pear-core /tests/PEAR_Registry/api1_0 test_addpackage.phpt test_checkFilemap.phpt test_deletePackage.phpt test_listPackages.phpt
test_packageExists.phpt test_updatePackage.phpt

From: Date: Sun, 20 Feb 2005 20:34:38 +0000
Subject: cvs: pear-core /tests/PEAR_Registry/api1_0 test_addpackage.phpt test_checkFilemap.phpt test_deletePackage.phpt test_listPackages.phpt
test_packageExists.phpt test_updatePackage.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-29557@lists.php.net to get a copy of this message
cellog Sun Feb 20 15:34:38 2005 EDT Modified files: /pear-core/tests/PEAR_Registry/api1_0 test_addpackage.phpt test_checkFilemap.phpt test_deletePackage.phpt test_listPackages.phpt test_packageExists.phpt test_updatePackage.phpt Log: update for new pecl.php.net channel

http://cvs.php.net/diff.php/pear-core/tests/PEAR_Registry/api1_0/test_addpackage.phpt?r1=1.4&r2=1.5&ty=u Index: pear-core/tests/PEAR_Registry/api1_0/test_addpackage.phpt diff -u pear-core/tests/PEAR_Registry/api1_0/test_addpackage.phpt:1.4 pear-core/tests/PEAR_Registry/api1_0/test_addpackage.phpt:1.5 --- pear-core/tests/PEAR_Registry/api1_0/test_addpackage.phpt:1.4 Sat Jan 1 23:09:41 2005 +++ pear-core/tests/PEAR_Registry/api1_0/test_addpackage.phpt Sun Feb 20 15:34:37 2005 @@ -12,6 +12,7 @@ $phpunit->assertRegEquals('dumping registry... channel __uri: channel pear.php.net: +channel pecl.php.net: dump done ', $reg, 'Initial dump is incorrect'); @@ -20,6 +21,7 @@ channel __uri: channel pear.php.net: pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'After adding pkg1'); @@ -28,6 +30,7 @@ channel __uri: channel pear.php.net: pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $subreg, 'After adding pkg1, new registry object'); unset($subreg); @@ -40,6 +43,7 @@ pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set pkg2: version="2.0" filelist=array(pkg2-1.php[role=php],pkg2-2.php[role=php,baseinstalldir=pkg2]) maintainers="Array" _lastmodified is set pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'after adding pkg2 and pkg3'); @@ -50,6 +54,7 @@ pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set pkg2: version="2.0" filelist=array(pkg2-1.php[role=php],pkg2-2.php[role=php,baseinstalldir=pkg2]) maintainers="Array" _lastmodified is set pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $subreg, 'after adding pkg2 and pkg3, new registry object'); $phpunit->assertFalse($reg->addPackage('pkg1', array()), 'bad addpackage'); http://cvs.php.net/diff.php/pear-core/tests/PEAR_Registry/api1_0/test_checkFilemap.phpt?r1=1.5&r2=1.6&ty=u Index: pear-core/tests/PEAR_Registry/api1_0/test_checkFilemap.phpt diff -u pear-core/tests/PEAR_Registry/api1_0/test_checkFilemap.phpt:1.5 pear-core/tests/PEAR_Registry/api1_0/test_checkFilemap.phpt:1.6 --- pear-core/tests/PEAR_Registry/api1_0/test_checkFilemap.phpt:1.5 Sat Jan 1 23:18:16 2005 +++ pear-core/tests/PEAR_Registry/api1_0/test_checkFilemap.phpt Sun Feb 20 15:34:37 2005 @@ -12,6 +12,7 @@ $phpunit->assertRegEquals('dumping registry... channel __uri: channel pear.php.net: +channel pecl.php.net: dump done ', $reg, 'Initial dump is incorrect'); @@ -20,6 +21,7 @@ channel __uri: channel pear.php.net: pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'after adding pkg3'); @@ -28,6 +30,7 @@ channel __uri: channel pear.php.net: pkg3: version="3.1b1" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set status="beta" +channel pecl.php.net: dump done ', $reg, 'after update of pkg3'); http://cvs.php.net/diff.php/pear-core/tests/PEAR_Registry/api1_0/test_deletePackage.phpt?r1=1.4&r2=1.5&ty=u Index: pear-core/tests/PEAR_Registry/api1_0/test_deletePackage.phpt diff -u pear-core/tests/PEAR_Registry/api1_0/test_deletePackage.phpt:1.4 pear-core/tests/PEAR_Registry/api1_0/test_deletePackage.phpt:1.5 --- pear-core/tests/PEAR_Registry/api1_0/test_deletePackage.phpt:1.4 Sat Jan 1 23:18:16 2005 +++ pear-core/tests/PEAR_Registry/api1_0/test_deletePackage.phpt Sun Feb 20 15:34:37 2005 @@ -12,6 +12,7 @@ $phpunit->assertRegEquals('dumping registry... channel __uri: channel pear.php.net: +channel pecl.php.net: dump done ', $reg, 'Initial dump is incorrect'); @@ -22,6 +23,7 @@ channel pear.php.net: pkg2: version="2.0" filelist=array(pkg2-1.php[role=php],pkg2-2.php[role=php,baseinstalldir=pkg2]) maintainers="Array" _lastmodified is set pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'after adding pkg2 and pkg3'); @@ -30,6 +32,7 @@ channel __uri: channel pear.php.net: pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'after first delete'); @@ -38,6 +41,7 @@ channel __uri: channel pear.php.net: pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'after second delete'); @@ -46,6 +50,7 @@ channel __uri: channel pear.php.net: pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $subreg, 'after second delete, new object'); @@ -53,6 +58,7 @@ $phpunit->assertRegEquals('dumping registry... channel __uri: channel pear.php.net: +channel pecl.php.net: dump done ', $reg, 'after third delete'); echo 'tests done'; http://cvs.php.net/diff.php/pear-core/tests/PEAR_Registry/api1_0/test_listPackages.phpt?r1=1.4&r2=1.5&ty=u Index: pear-core/tests/PEAR_Registry/api1_0/test_listPackages.phpt diff -u pear-core/tests/PEAR_Registry/api1_0/test_listPackages.phpt:1.4 pear-core/tests/PEAR_Registry/api1_0/test_listPackages.phpt:1.5 --- pear-core/tests/PEAR_Registry/api1_0/test_listPackages.phpt:1.4 Sat Jan 1 23:18:16 2005 +++ pear-core/tests/PEAR_Registry/api1_0/test_listPackages.phpt Sun Feb 20 15:34:37 2005 @@ -12,6 +12,7 @@ $phpunit->assertRegEquals('dumping registry... channel __uri: channel pear.php.net: +channel pecl.php.net: dump done ', $reg, 'Initial dump is incorrect'); $phpunit->assertEquals(array ( http://cvs.php.net/diff.php/pear-core/tests/PEAR_Registry/api1_0/test_packageExists.phpt?r1=1.4&r2=1.5&ty=u Index: pear-core/tests/PEAR_Registry/api1_0/test_packageExists.phpt diff -u pear-core/tests/PEAR_Registry/api1_0/test_packageExists.phpt:1.4 pear-core/tests/PEAR_Registry/api1_0/test_packageExists.phpt:1.5 --- pear-core/tests/PEAR_Registry/api1_0/test_packageExists.phpt:1.4 Sat Jan 1 23:18:16 2005 +++ pear-core/tests/PEAR_Registry/api1_0/test_packageExists.phpt Sun Feb 20 15:34:37 2005 @@ -12,6 +12,7 @@ $phpunit->assertRegEquals('dumping registry... channel __uri: channel pear.php.net: +channel pecl.php.net: dump done ', $reg, 'Initial dump is incorrect'); @@ -24,6 +25,7 @@ channel __uri: channel pear.php.net: pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'After adding pkg1'); @@ -33,6 +35,7 @@ channel __uri: channel pear.php.net: pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $subreg, 'After adding pkg1, new registry object'); $phpunit->assertTrue($subreg->packageExists('pkg1'), 'after create, subreg'); http://cvs.php.net/diff.php/pear-core/tests/PEAR_Registry/api1_0/test_updatePackage.phpt?r1=1.4&r2=1.5&ty=u Index: pear-core/tests/PEAR_Registry/api1_0/test_updatePackage.phpt diff -u pear-core/tests/PEAR_Registry/api1_0/test_updatePackage.phpt:1.4 pear-core/tests/PEAR_Registry/api1_0/test_updatePackage.phpt:1.5 --- pear-core/tests/PEAR_Registry/api1_0/test_updatePackage.phpt:1.4 Sat Jan 1 23:18:16 2005 +++ pear-core/tests/PEAR_Registry/api1_0/test_updatePackage.phpt Sun Feb 20 15:34:37 2005 @@ -18,6 +18,7 @@ $phpunit->assertRegEquals('dumping registry... channel __uri: channel pear.php.net: +channel pecl.php.net: dump done ', $reg, 'Initial dump is incorrect'); @@ -26,6 +27,7 @@ channel __uri: channel pear.php.net: pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'After adding pkg1'); @@ -34,6 +36,7 @@ channel __uri: channel pear.php.net: pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $subreg, 'After adding pkg1, new registry object'); @@ -45,6 +48,7 @@ pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set pkg2: version="2.0" filelist=array(pkg2-1.php[role=php],pkg2-2.php[role=php,baseinstalldir=pkg2]) maintainers="Array" _lastmodified is set pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'after adding pkg2 and pkg3'); @@ -57,6 +61,7 @@ pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set pkg2: version="2.1" filelist=array(pkg2-1.php[role=php],pkg2-2.php[role=php,baseinstalldir=pkg2]) maintainers="Array" _lastmodified is set pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $reg, 'after updating pkg2'); $phpunit->assertRegEquals('dumping registry... @@ -65,6 +70,7 @@ pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set pkg2: version="2.1" filelist=array(pkg2-1.php[role=php],pkg2-2.php[role=php,baseinstalldir=pkg2]) maintainers="Array" _lastmodified is set pkg3: version="3.0" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set +channel pecl.php.net: dump done ', $subreg, 'after updating pkg2, new registry object'); @@ -76,6 +82,7 @@ pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set pkg2: version="2.1" filelist=array(pkg2-1.php[role=php],pkg2-2.php[role=php,baseinstalldir=pkg2]) maintainers="Array" _lastmodified is set pkg3: version="3.1b1" filelist=array(pkg3-1.php[role=php],pkg3-2.php[role=php,baseinstalldir=pkg3]) maintainers="Array" _lastmodified is set status="beta" +channel pecl.php.net: dump done ', $reg, 'after updating pkg3 1'); @@ -87,6 +94,7 @@ pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1]) maintainers="Array" _lastmodified is set pkg2: version="2.1" filelist=array(pkg2-1.php[role=php],pkg2-2.php[role=php,baseinstalldir=pkg2]) maintainers="Array" _lastmodified is set pkg3: version="3.1b1" filelist=array(pkg3-3.php[role=php,baseinstalldir=pkg3],pkg3-4.php[role=php]) maintainers="Array" _lastmodified is set status="beta" +channel pecl.php.net: dump done ', $reg, 'after updating pkg3 2'); echo "tests done";
« previous php.pear.cvs (#29557) next »