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:
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'));
+ }
+
+}