nextcloud/tests/lib
Morris Jobke e79c255cab Conditional logging
* Log condition for log level increase based on conditions. Once one of these
   conditions is met, the required log level is set to debug. This allows to
   debug specific requests, users or apps

 * Supported conditions (setting `log_condition` in `config.php`):
    - `shared_secret`: if a request parameter with the name `log_secret` is set to
                this value the condition is met
    - `users`:  if the current request is done by one of the specified users,
                this condition is met
    - `apps`:   if the log message is invoked by one of the specified apps,
                this condition is met
 * fix unit test and add app log condition test
2015-05-08 15:58:33 +02:00
..
app add positive tests for operator in code checker 2015-05-05 13:09:12 +02:00
appframework If the execute method on the mapper receives an assoc array, it binds by value instead of index 2015-03-19 17:08:46 +01:00
archive Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
backgroundjob Add async command system to handle asynchronous operations 2015-02-25 15:08:40 +01:00
cache kill OC_FileProxy 💥 2015-04-07 13:30:28 +02:00
command Allow configuring background job mode from the console 2015-03-02 20:51:40 +01:00
connector/sabre \OC\Connector\Sabre\CopyEtagHeaderPlugin constructor does not take arguments. 2015-05-07 12:24:06 +02:00
contacts Make class compatible 2014-12-09 12:25:22 +01:00
db Merge pull request #12995 from owncloud/tbelau666-master 2015-01-09 14:17:14 +01:00
encryption Fix new tests 2015-04-27 11:10:31 +02:00
files Fix missing types on doc block and deduplicate the method name 2015-05-06 14:31:10 +02:00
group Remove unneeded comments 2015-04-14 16:44:24 +02:00
hooks Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
http/client Add wrapper for Guzzle 2015-03-25 16:04:41 +01:00
lock allow getting the path from the lockedexception 2015-04-30 14:48:42 +02:00
mail Add "Reply-To" support to sharing mails and refactor code 2015-04-10 17:30:07 +02:00
memcache add tests for castrait 2015-04-30 14:48:39 +02:00
ocs Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
public Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
repair Fix namespace duplication and other issues in repairlegacystorages 2015-04-13 16:34:10 +02:00
security Adjust tests and statuscode 2015-04-20 13:00:02 +02:00
session Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
share Merge pull request #15772 from owncloud/issue-15771-dont-restrict-permissions-for-share-owner 2015-05-04 15:07:37 +02:00
template Add tests for correct path 2015-04-20 12:31:35 +02:00
user introduce names for user backends - IUserBackend 2014-12-19 10:17:17 +01:00
activitymanager.php Make scrutinizer happy 2015-04-01 12:13:49 +02:00
allconfig.php Workaround to fix the too early init dilemma 2014-12-08 22:33:36 +01:00
api.php Replace uniqid calls with $this->getUniqueID so tests pass again on windows 2014-12-03 12:10:55 +01:00
app.php Adjust tests and check whether clear() is called 2015-04-01 17:19:44 +02:00
appconfig.php Test improvements 2015-02-17 15:05:29 +01:00
archive.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
autoloader.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
avatar.php Filter potential dangerous filenames for avatars 2015-04-28 16:57:23 +02:00
cache.php Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
config.php Add a method to set/unset multiple config values in one call 2015-01-23 11:00:53 +01:00
contactsmanager.php Mock interface 2014-12-08 13:18:00 +01:00
datetimeformatter.php Use a fixed timestamp so we dont switch days/years with the getTimestampAgo 2014-12-11 13:22:05 +01:00
db.php Use data provider instead of hand-crafted for loops 2015-04-18 15:19:33 +02:00
dbschema.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
errorHandler.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
group.php Do not use uniqid in Group and User tests as it is not unique on windows 2014-11-06 17:36:35 +01:00
helper.php Allow setting protected properties 2015-04-30 12:04:02 +02:00
helperstorage.php reduce OC_Preferences, OC_Config and \OCP\Config usage 2014-12-08 22:42:37 +01:00
httphelper.php Add wrapper for Guzzle 2015-03-25 16:04:41 +01:00
image.php Create an interface for OC_Image and OCP\Image for the public API 2015-03-16 12:45:15 +01:00
installer.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
l10n.php Merge pull request #14399 from owncloud/ignore-empty-plurals 2015-03-26 20:15:33 +01:00
largefilehelper.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
largefilehelpergetfilesize.php Check if open_basedir is set 2014-12-11 00:09:55 +01:00
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 Prevent php message: "Trying to get property of non-object at /xxx/lib/private/ocsclient.php#282" 2015-04-13 09:43:45 +02:00
preview.php fix cherrypicking 2015-04-10 11:08:24 +02:00
repair.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
setup.php Properly handle available databases at runtime and respect setup checks in command line as well 2015-03-11 09:27:12 +01: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 Deprecate Util::formatDate() 2014-12-10 11:58:56 +01:00
tempmanager.php Fix collision on temporary files + adjust permissions 2015-04-23 15:07:54 +02:00
testcase.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
updater.php Add wrapper for Guzzle 2015-03-25 16:04:41 +01:00
urlgenerator.php Cache \OC\URLGenerator::imagePath 2015-03-17 12:35:47 +01:00
user.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00
util.php Select the timezone on the right timestamp and assert it 2015-04-07 10:13:51 +02:00
utilcheckserver.php Make root tests extend the \Test\TestCase 2014-11-19 14:53:51 +01:00