svn: /pear2/Pyrus/trunk/tests/ RemotePackage/exceptions.phpt RemotePackage/oldchannel.phpt RemotePackage/remotepackage.getmaintainers.phpt
RemotePackage/wrongemailcert.phpt RemotePackages/exceptions.phpt RemotePackages/oldchannel.phpt RemotePackages/singlerelease.phpt
| From: | Brett Bieber | Date: | Fri, 01 Jan 2010 14:19:39 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/tests/ RemotePackage/exceptions.phpt RemotePackage/oldchannel.phpt RemotePackage/remotepackage.getmaintainers.phpt RemotePackage/wrongemailcert.phpt RemotePackages/exceptions.phpt RemotePackages/oldchannel.phpt RemotePackages/singlerelease.phpt |
||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9162@lists.php.net to get a copy of this message | ||
saltybeagle Fri, 01 Jan 2010 14:19:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292882
Log:
Remotepackage=>RemotePackage
Changed paths:
U pear2/Pyrus/trunk/tests/RemotePackage/exceptions.phpt
U pear2/Pyrus/trunk/tests/RemotePackage/oldchannel.phpt
U pear2/Pyrus/trunk/tests/RemotePackage/remotepackage.getmaintainers.phpt
U pear2/Pyrus/trunk/tests/RemotePackage/wrongemailcert.phpt
U pear2/Pyrus/trunk/tests/RemotePackages/exceptions.phpt
U pear2/Pyrus/trunk/tests/RemotePackages/oldchannel.phpt
U pear2/Pyrus/trunk/tests/RemotePackages/singlerelease.phpt
Modified: pear2/Pyrus/trunk/tests/RemotePackage/exceptions.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/RemotePackage/exceptions.phpt 2010-01-01 14:18:43 UTC (rev 292881)
+++ pear2/Pyrus/trunk/tests/RemotePackage/exceptions.phpt 2010-01-01 14:19:39 UTC (rev 292882)
@@ -60,7 +60,7 @@
unset($chan->protocols->rest['REST1.0']);
try {
- $remote = new \pear2\Pyrus\Channel\Remotepackage($chan,
+ $remote = new \pear2\Pyrus\Channel\RemotePackage($chan,
'stable');
throw new Exception('should have failed and did not');
} catch (pear2\Pyrus\Channel\Exception $e) {
Modified: pear2/Pyrus/trunk/tests/RemotePackage/oldchannel.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/RemotePackage/oldchannel.phpt 2010-01-01 14:18:43 UTC (rev 292881)
+++ pear2/Pyrus/trunk/tests/RemotePackage/oldchannel.phpt 2010-01-01 14:19:39 UTC (rev 292882)
@@ -2,7 +2,6 @@
\pear2\Pyrus\Channel\RemotePackage with a channel that only supports REST1.0
--SKIPIF--
<?php
-die('skip for now');
if (!extension_loaded('openssl')) die('SKIP openssl required');
?>
--FILE--
@@ -17,13 +16,13 @@
$chan = \pear2\Pyrus\Config::current()->channelregistry['pear2.php.net'];
unset($chan->protocols->rest['REST1.3']);
-$remote = new \pear2\Pyrus\Channel\Remotepackage($chan,
+$remote = new \pear2\Pyrus\Channel\RemotePackage($chan,
'stable');
$remote->name = 'GetMaintainers_Test';
$remote = $remote['GetMaintainers_Test'];
-$test->assertEquals('pear2\Pyrus\Channel\Remotepackage', get_class($remote),
'right class');
+$test->assertEquals('pear2\Pyrus\Channel\RemotePackage', get_class($remote),
'right class');
-$remote = new \pear2\Pyrus\Channel\Remotepackage($chan,
+$remote = new \pear2\Pyrus\Channel\RemotePackage($chan,
'stable');
$remote->name = 'GetMaintainers_Test';
Modified: pear2/Pyrus/trunk/tests/RemotePackage/remotepackage.getmaintainers.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/RemotePackage/remotepackage.getmaintainers.phpt 2010-01-01 14:18:43 UTC
(rev 292881)
+++ pear2/Pyrus/trunk/tests/RemotePackage/remotepackage.getmaintainers.phpt 2010-01-01 14:19:39 UTC
(rev 292882)
@@ -55,7 +55,7 @@
// next, test with REST1.0
unset(\pear2\Pyrus\Config::current()->channelregistry['pear2.php.net']->protocols->rest['REST1.2']);
-$remote = new
\pear2\Pyrus\Channel\Remotepackage(\pear2\Pyrus\Config::current()->channelregistry['pear2.php.net'],
+$remote = new
\pear2\Pyrus\Channel\RemotePackage(\pear2\Pyrus\Config::current()->channelregistry['pear2.php.net'],
'stable');
$remote = $remote['GetMaintainers_Test'];
$remote->version['release'] = '1.0.0'; // choose the version we are
accessing
Modified: pear2/Pyrus/trunk/tests/RemotePackage/wrongemailcert.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/RemotePackage/wrongemailcert.phpt 2010-01-01 14:18:43 UTC (rev 292881)
+++ pear2/Pyrus/trunk/tests/RemotePackage/wrongemailcert.phpt 2010-01-01 14:19:39 UTC (rev 292882)
@@ -2,6 +2,7 @@
\pear2\Pyrus\Channel\RemotePackage::download(), certificate is not releasing maintainer's
email
--SKIPIF--
<?php
+die('skip for now');
if (!extension_loaded('openssl')) die('SKIP openssl required');
?>
--FILE--
Modified: pear2/Pyrus/trunk/tests/RemotePackages/exceptions.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/RemotePackages/exceptions.phpt 2010-01-01 14:18:43 UTC (rev 292881)
+++ pear2/Pyrus/trunk/tests/RemotePackages/exceptions.phpt 2010-01-01 14:19:39 UTC (rev 292882)
@@ -1,5 +1,5 @@
--TEST--
-\pear2\Pyrus\Channel\Remotepackages exceptions
+\pear2\Pyrus\Channel\RemotePackages exceptions
--SKIPIF--
<?php
if (!extension_loaded('openssl')) die('SKIP openssl required');
Modified: pear2/Pyrus/trunk/tests/RemotePackages/oldchannel.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/RemotePackages/oldchannel.phpt 2010-01-01 14:18:43 UTC (rev 292881)
+++ pear2/Pyrus/trunk/tests/RemotePackages/oldchannel.phpt 2010-01-01 14:19:39 UTC (rev 292882)
@@ -1,5 +1,5 @@
--TEST--
-\pear2\Pyrus\Channel\Remotepackages with old channels
+\pear2\Pyrus\Channel\RemotePackages with old channels
--SKIPIF--
<?php
if (!extension_loaded('openssl')) die('SKIP openssl required');
Modified: pear2/Pyrus/trunk/tests/RemotePackages/singlerelease.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/RemotePackages/singlerelease.phpt 2010-01-01 14:18:43 UTC (rev 292881)
+++ pear2/Pyrus/trunk/tests/RemotePackages/singlerelease.phpt 2010-01-01 14:19:39 UTC (rev 292882)
@@ -1,5 +1,5 @@
--TEST--
-\pear2\Pyrus\Channel\Remotepackages package has single release
+\pear2\Pyrus\Channel\RemotePackages package has single release
--SKIPIF--
<?php
if (!extension_loaded('openssl')) die('SKIP openssl required');