summaryrefslogtreecommitdiffstats
path: root/tests/unit/utility
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-13 00:43:54 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-13 00:43:54 +0200
commit39d1eeb1199b137c9d0f805250d6b73bacf53eb5 (patch)
tree115741fcc5b8ce7f8524c1b88c66fecb6386ee31 /tests/unit/utility
parentf116d5a9152ae226a9b7317b6817e5df8e204e9b (diff)
remove more tests of classes that are now in core
Diffstat (limited to 'tests/unit/utility')
-rw-r--r--tests/unit/utility/MethodAnnotationReaderTest.php48
1 files changed, 0 insertions, 48 deletions
diff --git a/tests/unit/utility/MethodAnnotationReaderTest.php b/tests/unit/utility/MethodAnnotationReaderTest.php
deleted file mode 100644
index 57d6e921e..000000000
--- a/tests/unit/utility/MethodAnnotationReaderTest.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-/**
- * ownCloud - News
- *
- * This file is licensed under the Affero General Public License version 3 or
- * later. See the COPYING file.
- *
- * @author Alessandro Cosentino <cosenal@gmail.com>
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
- * @copyright Alessandro Cosentino 2012
- * @copyright Bernhard Posselt 2012, 2014
- */
-
-
-namespace OCA\News\Utility;
-
-
-require_once(__DIR__ . "/../../classloader.php");
-
-
-class MethodAnnotationReaderTest extends \PHPUnit_Framework_TestCase {
-
-
- /**
- * @Annotation
- */
- public function testReadAnnotation(){
- $reader = new MethodAnnotationReader('\OCA\News\Utility\MethodAnnotationReaderTest',
- 'testReadAnnotation');
-
- $this->assertTrue($reader->hasAnnotation('Annotation'));
- }
-
-
- /**
- * @Annotation
- * @param test
- */
- public function testReadAnnotationNoLowercase(){
- $reader = new MethodAnnotationReader('\OCA\News\Utility\MethodAnnotationReaderTest',
- 'testReadAnnotationNoLowercase');
-
- $this->assertTrue($reader->hasAnnotation('Annotation'));
- $this->assertFalse($reader->hasAnnotation('param'));
- }
-
-
-} \ No newline at end of file