diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-03-19 21:00:15 +0400 |
---|---|---|
committer | VicDeo <victor.dubiniuk@gmail.com> | 2013-03-31 16:50:29 +0400 |
commit | da96d1adb02a9801cf314178507049e7383ce56a (patch) | |
tree | 948256c46c78593f507c57797fd260466ed9a199 /tests | |
parent | ed39e47c9d37850bff11661e978564e8aeb9a727 (diff) |
some basic unit test for loading classes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/autoloader.php | 19 |
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')); + } + +} |