svn: /pear/packages/Crypt_GPG/trunk/tests/ ExceptionsTestCase.php
| From: | Michael Gauthier | Date: | Mon, 28 Nov 2011 01:35:00 +0000 |
| Subject: | svn: /pear/packages/Crypt_GPG/trunk/tests/ ExceptionsTestCase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-63112@lists.php.net to get a copy of this message | ||
gauthierm Mon, 28 Nov 2011 01:35:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320061
Log:
Update to work with latest PHPUnit annotation syntax.
Changed paths:
U pear/packages/Crypt_GPG/trunk/tests/ExceptionsTestCase.php
Modified: pear/packages/Crypt_GPG/trunk/tests/ExceptionsTestCase.php
===================================================================
--- pear/packages/Crypt_GPG/trunk/tests/ExceptionsTestCase.php 2011-11-27 21:20:40 UTC (rev 320060)
+++ pear/packages/Crypt_GPG/trunk/tests/ExceptionsTestCase.php 2011-11-28 01:35:00 UTC (rev 320061)
@@ -34,7 +34,7 @@
* @category Encryption
* @package Crypt_GPG
* @author Michael Gauthier <mike@silverorange.com>
- * @copyright 2008 silverorange
+ * @copyright 2008-2011 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
* @version CVS: $Id$
* @link http://pear.php.net/package/Crypt_GPG
@@ -56,7 +56,7 @@
* @category Encryption
* @package Crypt_GPG
* @author Michael Gauthier <mike@silverorange.com>
- * @copyright 2008 silverorange
+ * @copyright 2008-2011 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
* @link http://pear.php.net/package/Crypt_GPG
*/
@@ -67,7 +67,8 @@
/**
* @group exception
- * @expectedException Crypt_GPG_Exception test exception
+ * @expectedException Crypt_GPG_Exception
+ * @expectedExceptionMessage test exception
*/
public function testException()
{
@@ -81,7 +82,8 @@
/**
* @group file-exception
- * @expectedException Crypt_GPG_FileException test exception
+ * @expectedException Crypt_GPG_FileException
+ * @expectedExceptionMessage test exception
*/
public function testFileException()
{
@@ -109,7 +111,8 @@
/**
* @group open-subprocess-exception
- * @expectedException Crypt_GPG_OpenSubprocessException test exception
+ * @expectedException Crypt_GPG_OpenSubprocessException
+ * @expectedExceptionMessage test exception
*/
public function testOpenSubprocessException()
{
@@ -137,7 +140,8 @@
/**
* @group invalid-operation-exception
- * @expectedException Crypt_GPG_InvalidOperationException test exception
+ * @expectedException Crypt_GPG_InvalidOperationException
+ * @expectedExceptionMessage test exception
*/
public function testInvalidOperationException()
{
@@ -165,7 +169,8 @@
/**
* @group key-not-found-exception
- * @expectedException Crypt_GPG_KeyNotFoundException test exception
+ * @expectedException Crypt_GPG_KeyNotFoundException
+ * @expectedExceptionMessage test exception
*/
public function testKeyNotFoundException()
{
@@ -193,7 +198,8 @@
/**
* @group no-data-exception
- * @expectedException Crypt_GPG_NoDataException test exception
+ * @expectedException Crypt_GPG_NoDataException
+ * @expectedExceptionMessage test exception
*/
public function testNoDataException()
{
@@ -207,7 +213,8 @@
/**
* @group bad-passphrase-exception
- * @expectedException Crypt_GPG_BadPassphraseException test exception
+ * @expectedException Crypt_GPG_BadPassphraseException
+ * @expectedExceptionMessage test exception
*/
public function testBadPassphraseException()
{
@@ -259,7 +266,8 @@
/**
* @group delete-private-key-exception
- * @expectedException Crypt_GPG_DeletePrivateKeyException test exception
+ * @expectedException Crypt_GPG_DeletePrivateKeyException
+ * @expectedExceptionMessage test exception
*/
public function testDeletePrivateKeyException()
{