Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicDeo <victor.dubiniuk@gmail.com>2013-03-31 17:10:47 +0400
committerVicDeo <victor.dubiniuk@gmail.com>2013-03-31 17:10:47 +0400
commite1b6574ce72db4fd398fb72f9e21ec766b7897eb (patch)
tree32e308e41213e6ac1a8c743d022eb7398a91b245 /tests/lib/autoloader.php
parentb9213cf451cf694ba3b2e7a89f3ff4377198e4e7 (diff)
parentc16860e648860b37b5a1b56c3f2cfb663eff61cf (diff)
Merge pull request #2625 from owncloud/fix_namespace_in_autoloader_stable5v5.0.1
Fix namespace in autoloader stable5
Diffstat (limited to 'tests/lib/autoloader.php')
-rw-r--r--tests/lib/autoloader.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/lib/autoloader.php b/tests/lib/autoloader.php
new file mode 100644
index 00000000000..e769bf3bcf6
--- /dev/null
+++ b/tests/lib/autoloader.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Copyright (c) 2013 Thomas Müller <thomas.mueller@tmit.eu>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+class Test_AutoLoader extends PHPUnit_Framework_TestCase {
+
+ public function testLeadingSlashOnClassName(){
+ $this->assertTrue(class_exists('\OC\Files\Storage\Local'));
+ }
+
+ public function testNoLeadingSlashOnClassName(){
+ $this->assertTrue(class_exists('OC\Files\Storage\Local'));
+ }
+
+}