summaryrefslogtreecommitdiffstats
path: root/tests/lib/autoloader.php
Commit message (Collapse)AuthorAgeFilesLines
* Make root tests extend the \Test\TestCaseJoas Schilling2014-11-191-2/+3
|
* use Composer autoloader not OC for non-Composer 3rdparty (#9643)Adam Williamson2014-10-281-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Composer's autoloader is rather better than the OwnCloud autoloader's handling of non-OC classes. Plus we can rely on upstream Composer to maintain it and not worry about it ourselves. With this change, we drop the bits of OwnCloud's autoloader that handled non-OC classes, and register the classes that were being handled by that code with Composer's autoloader instead. As these dependencies are converted to actually being managed by Composer, the explicit registrations can be dropped as they won't be needed any more. Since OwnCloud's autoloader isn't going to handle non-OC classes any more, we no longer need to test to make sure it does it right. drop unneeded registerPrefix() and registerClass() from autoloader Now we're not handling anything but OC's own classes, these are unnecessary. error out if composer autoloader is not found (thanks bantu) We're never going to be able to work without the autoloader, if it's not there we should just throw our hands up and surrender.
* fix unit testsMorris Jobke2013-10-021-3/+3
|
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-5/+5
| | | | | Conflicts: lib/private/vcategories.php
* Autoloader: fix loading app clases located in lib/Robin Appelman2013-05-081-10/+17
|
* Autoloader: test casesRobin Appelman2013-05-071-5/+53
|
* some basic unit test for loading classesThomas Mueller2013-03-191-0/+19