Jeroen De Dauw has uploaded a new change for review. https://gerrit.wikimedia.org/r/82867
Change subject: Remove test class that was moved to another component a while back ...................................................................... Remove test class that was moved to another component a while back Change-Id: I7c73a6ad4d530f18ab44ecdc4aa47d044985b76a --- D Tests/Phpunit/Deserializers/Exceptions/DeserializationExceptionTest.php 1 file changed, 0 insertions(+), 36 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Ask refs/changes/67/82867/1 diff --git a/Tests/Phpunit/Deserializers/Exceptions/DeserializationExceptionTest.php b/Tests/Phpunit/Deserializers/Exceptions/DeserializationExceptionTest.php deleted file mode 100644 index 1e09ea8..0000000 --- a/Tests/Phpunit/Deserializers/Exceptions/DeserializationExceptionTest.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php - -namespace Deserializers\Tests\Phpunit\Exceptions; - -use Deserializers\Exceptions\DeserializationException; - -/** - * @covers Deserializers\Exceptions\DeserializationException - * - * @file - * @since 1.0 - * - * @ingroup Ask - * @group Ask - * - * @licence GNU GPL v2+ - * @author Jeroen De Dauw < [email protected] > - */ -class DeserializationExceptionTest extends \PHPUnit_Framework_TestCase { - - public function testConstructorWithOnlyRequiredArguments() { - new DeserializationException(); - $this->assertTrue( true ); - } - - public function testConstructorWithAllArguments() { - $message = 'NyanData all the way across the sky!'; - $previous = new \Exception( 'Onoez!' ); - - $exception = new DeserializationException( $message, $previous ); - - $this->assertEquals( $message, $exception->getMessage() ); - $this->assertEquals( $previous, $exception->getPrevious() ); - } - -} -- To view, visit https://gerrit.wikimedia.org/r/82867 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7c73a6ad4d530f18ab44ecdc4aa47d044985b76a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Ask Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
