76878e9943
This adds a OCS provider list at `ocs-provider/` to enable a somewhat autodiscovery of services. In the moment it is not possible for applications to add own entries and it is basically hard-coded in the controller. I'm aware that this is not an optimal solution and I'm happy for any pragmatic input that won't pollute our public API too much. (and is not a big super hack, this is already hacky enough ;-)) That said, I'd consider it as a first step also feasible to go with this somewhat hard-coded list and see if this gets adopted...
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<phpunit bootstrap="bootstrap.php">
|
|
<testsuite name='ownCloud'>
|
|
<directory suffix='.php'>lib/</directory>
|
|
<directory suffix='.php'>settings/</directory>
|
|
<directory suffix='.php'>core/</directory>
|
|
<directory suffix='.php'>ocs-provider/</directory>
|
|
<file>apps.php</file>
|
|
</testsuite>
|
|
<!-- filters for code coverage -->
|
|
<filter>
|
|
<!-- whitelist processUncoveredFilesFromWhitelist="true" -->
|
|
<whitelist>
|
|
<directory suffix=".php">..</directory>
|
|
<exclude>
|
|
<directory suffix=".php">../3rdparty</directory>
|
|
<directory suffix=".php">../apps/files/l10n</directory>
|
|
<directory suffix=".php">../apps/files_external/l10n</directory>
|
|
<directory suffix=".php">../apps/files_external/3rdparty</directory>
|
|
<directory suffix=".php">../apps/files_versions/l10n</directory>
|
|
<directory suffix=".php">../apps/encryption/l10n</directory>
|
|
<directory suffix=".php">../apps/files_sharing/l10n</directory>
|
|
<directory suffix=".php">../apps/files_trashbin/l10n</directory>
|
|
<directory suffix=".php">../apps/user_ldap/l10n</directory>
|
|
<directory suffix=".php">../apps/user_webdavauth/l10n</directory>
|
|
<directory suffix=".php">../apps/provisioning_api/tests</directory>
|
|
<directory suffix=".php">../lib/l10n</directory>
|
|
<directory suffix=".php">../core/l10n</directory>
|
|
<directory suffix=".php">../settings/l10n</directory>
|
|
<directory suffix=".php">../tests</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
<listeners>
|
|
<listener class="StartSessionListener" file="startsessionlistener.php" />
|
|
</listeners>
|
|
</phpunit>
|