server/tests/lib
Adam Williamson 0e3f2055d2 use Composer autoloader not OC for non-Composer 3rdparty (#9643)
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.
2014-10-28 11:32:20 +01:00
..
appframework introduce SessionMiddleWare to control session handling via an annotation 2014-10-22 12:44:19 +02:00
archive Fix windows tests skipping 2014-08-21 08:50:39 +02:00
backgroundjob Add unit tests for JobList 2014-02-12 13:52:13 +01:00
cache fixing cache routes 2014-09-22 13:38:46 -04:00
connector/sabre Fix dav permissions for folders without create permissions 2014-09-25 14:01:19 +02:00
contacts function declaration did not match 2014-07-29 00:34:02 +02:00
db disable database migration unit tests for MSSQL 2014-10-23 14:35:44 +02:00
files On Windows platform we have no stable etag generation - yet 2014-10-27 20:48:47 +01:00
group adjust group manager tests 2014-10-17 20:53:09 +02:00
hooks forward previously registerd hooks 2013-07-08 16:54:26 +02:00
memcache Ensure memcached extension is there before attempting to create an instance. 2013-12-09 14:33:26 +01:00
ocs kill OC::$session 2014-08-29 10:22:21 +02:00
public class Test_Config is already declared 2014-04-08 14:15:33 +02:00
repair Added repair step for legacy storages 2014-08-20 23:14:05 +02:00
security Remove unused and overflowing function 2014-09-18 10:21:28 +02:00
session make PHPUnit happy and add asserts 2013-06-28 14:37:52 +02:00
share Add option to include tags for shared items. 2014-10-14 00:06:07 +02:00
template Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
user strip whitespace from the beginning and end of the display name to avoid empty display names 2014-10-15 14:54:35 +02:00
activitymanager.php Adding new interface \OCP\Activity\IExtentsion 2014-07-08 09:04:37 +02:00
api.php Fix test case for api response code 2014-04-03 14:47:55 +00:00
app.php Added unit tests for cache of enabled apps 2014-09-03 11:01:59 +02:00
appconfig.php port of #9500 2014-07-08 16:32:01 +02:00
archive.php drop SimpleTest compatibility 2013-01-24 16:47:17 +01:00
autoloader.php use Composer autoloader not OC for non-Composer 3rdparty (#9643) 2014-10-28 11:32:20 +01:00
avatar.php Make OC_Avatar unit tests independent of currently loggedin user 2014-01-02 16:08:08 +01:00
cache.php updating php docs 2013-09-18 22:22:51 +02:00
config.php Add flock to config 2014-09-30 15:53:27 +02:00
db.php Fix ILIKE without wildcards for oracle 2014-09-18 15:09:57 +02:00
dbschema.php disable database migration unit tests for MSSQL 2014-10-23 14:35:44 +02:00
errorHandler.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
geo.php Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00
group.php adjust license headers to new mail address 2014-05-11 17:54:08 +02:00
helper.php Adding test helper to test private methods 2014-09-26 10:23:41 -04:00
helperstorage.php Added experimental switch to count external storage data in quota 2014-06-04 16:08:59 +02:00
httphelper.php Do only follow HTTP and HTTPS redirects 2014-09-22 20:02:32 +02:00
image.php Preserve transparency when loading from a file 2014-09-10 23:49:21 +02:00
installer.php fix unit tests 2014-06-05 16:32:12 +02:00
l10n.php adding unit tests for en_GB and en-GB - just to verify 2014-10-20 15:04:42 +02:00
largefilehelper.php Add helper method for turning int|float into base-10 unsigned integer string. 2014-05-29 16:26:01 +02:00
largefilehelpergetfilesize.php Use rawurlencode since this seems to be expected by cURL 2014-10-14 13:16:23 +02:00
logger.php fix logger implementation and test 2014-07-15 10:10:16 +02:00
mail.php idn_to_ascii is only used if available 2014-03-26 11:17:23 +01:00
migrate.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
naturalsort.php Fixed sort algo for additional cases 2014-08-11 13:28:53 +02:00
preferences-singleton.php Minor fixes 2014-08-05 16:53:28 +02:00
preferences.php Minor fixes 2014-08-05 16:53:28 +02:00
preview.php Remove unneeded unit tests 2014-09-22 16:50:08 +02:00
repair.php Added RepairStep interface and default repair step lists 2014-06-12 17:38:26 +02:00
request.php Add support for getting the real client IP behind proxies 2014-08-27 00:05:04 +02:00
setup.php Make supported DBs configurable within config.php 2014-10-27 21:39:34 +01:00
streamwrappers.php add seek and tell to streamwrapper test 2014-09-21 22:47:40 +02:00
tags.php Fix tags unit test 2014-10-22 12:29:53 +02:00
template.php adjust license headers to new mail address 2014-05-11 17:54:08 +02:00
templatelayout.php Add proper setup and teardown 2014-10-20 17:11:08 +02:00
tempmanager.php Add \OC\TempManager to handle creating and cleaning temporary files 2014-10-24 12:18:46 +02:00
updater.php Prevent updates between multiple major versions 2014-09-18 17:56:06 +02:00
urlgenerator.php Add unit test 2014-09-08 17:12:44 +02:00
user.php Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
util.php fixing expected values for formatDate() unit tests 2014-10-21 16:05:35 +02:00
utilcheckserver.php Don't complain about non-writable datadirs before we're installed 2014-09-18 13:33:13 +02:00
vobject.php Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00