server/tests/lib
Lukas Reschke 62e3de1bdb Check if response could get generated
`json_encode` fails hard on PHP >= 5.5 if a non UTF-8 value is specified by returning false. Older PHP versions just nullify the value which makes it at least somewhat usable.

This leads to very confusing errors which are very hard to debug since developers are usually not aware of this. In this case I'd consider throwing a fatal exception – since it arguably is an error situation – is a fair solution since this makes developers and administrators aware of any occurence of the problem so that these bugs can get fixed.

Fixes https://github.com/owncloud/core/issues/17265
2015-07-02 11:42:51 +02:00
..
app add positive tests for operator in code checker 2015-05-05 13:09:12 +02:00
appframework Check if response could get generated 2015-07-02 11:42:51 +02:00
archive
backgroundjob Add async command system to handle asynchronous operations 2015-02-25 15:08:40 +01:00
cache Test for chunk cache garbage collection 2015-06-30 17:34:10 +02:00
command Allow configuring background job mode from the console 2015-03-02 20:51:40 +01:00
connector/sabre Cleanup part file after upload exception 2015-06-29 17:31:14 +02:00
contacts
db Add unit test for migrator with different prefix 2015-05-19 10:43:14 +02:00
encryption Add a test for the fallback to the part file keys 2015-06-08 16:35:37 +02:00
files Unlock first path on rename if second path is locked 2015-06-29 17:31:14 +02:00
group Sort user groups by group name and hide the user count 2015-05-18 12:55:19 +02:00
hooks more type hints 2015-06-02 14:07:55 +02:00
http/client Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
lock add method to atomically change between shared and exclusive lock 2015-06-01 13:24:02 +02:00
mail Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
memcache Merge pull request #16832 from owncloud/memcache-fail 2015-06-16 11:00:18 +02:00
ocs
preview Fix max preview, some resizing and caching issues and force preview providers to resize their previews properly 2015-06-06 16:25:04 +02:00
public Test overriding channel 2015-05-15 22:37:14 +03:00
repair Remove unneeded getetag entries in properties table 2015-06-25 08:44:26 +02:00
security Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
session
share Use \OC\HintException and translate the hint 2015-06-22 15:34:06 +02:00
template Add tests for correct path 2015-04-20 12:31:35 +02:00
user
activitymanager.php Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
allconfig.php
api.php
app.php Only do the description kung-fu on strings - fixes #17028 2015-07-01 13:15:13 +02:00
appconfig.php Use insertIfNotExists to avoid problems with parallel calls 2015-05-11 12:38:33 +02:00
archive.php change tests back to check for logo-wide, make them pass again 2015-05-28 23:39:55 +02:00
autoloader.php
avatar.php Filter potential dangerous filenames for avatars 2015-04-28 16:57:23 +02:00
cache.php
config.php
contactsmanager.php
datetimeformatter.php
db.php Use data provider instead of hand-crafted for loops 2015-04-18 15:19:33 +02:00
dbschema.php
errorHandler.php
group.php
helper.php Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
helperstorage.php
hookhelper.php Fire prehooks when uploading directly to storage 2015-05-13 17:47:04 +02:00
httphelper.php Add connection timeout to default POST options 2015-05-26 11:22:50 +02:00
image.php Fix max preview, some resizing and caching issues and force preview providers to resize their previews properly 2015-06-06 16:25:04 +02:00
installer.php
l10n.php Merge pull request #14399 from owncloud/ignore-empty-plurals 2015-03-26 20:15:33 +01:00
largefilehelper.php
largefilehelpergetfilesize.php
logger.php Conditional logging 2015-05-08 15:58:33 +02:00
naturalsort.php Add PHPunit test for DefaultCollator 2015-02-24 23:51:08 +01:00
navigationmanagertest.php Add tests for the navigation manager (closure) behaviour 2015-03-16 16:46:17 +01:00
ocsclienttest.php Merge pull request #17222 from owncloud/issue-17101-send-oc-version-to-app-store 2015-06-29 15:07:00 +02:00
preview.php Remove unneeded returns from private cropping methods 2015-06-19 15:07:49 +02:00
repair.php
server.php Fixing "ImportController::__construct() must implement interface OCP\\ICache, instance of OC\\Cache\\File given" 2015-06-29 22:43:18 +02:00
setup.php Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
streamwrappers.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
tags.php remove IDb interface from core class usage 2015-02-25 22:21:24 +01:00
template.php
tempmanager.php Move the helpful method to the TestCase class 2015-06-03 12:33:29 +02:00
testcase.php Release locks after class in tests 2015-06-25 16:33:02 +02:00
testmoveablemountpoint.php Keep shared locks in post hooks 2015-06-25 16:33:02 +02:00
updater.php Do not rely on actual time in unit tests 2015-06-29 17:15:42 +02:00
urlgenerator.php Cache \OC\URLGenerator::imagePath 2015-03-17 12:35:47 +01:00
user.php
util.php Select the timezone on the right timestamp and assert it 2015-04-07 10:13:51 +02:00
utilcheckserver.php