phpunit.xml.dist 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <phpunit bootstrap="bootstrap.php">
  3. <testsuite name='ownCloud'>
  4. <directory suffix='.php'>lib/</directory>
  5. <directory suffix='.php'>Settings/</directory>
  6. <directory suffix='.php'>Core/</directory>
  7. <file>apps.php</file>
  8. </testsuite>
  9. <!-- filters for code coverage -->
  10. <filter>
  11. <!-- whitelist processUncoveredFilesFromWhitelist="true" -->
  12. <whitelist>
  13. <directory suffix=".php">..</directory>
  14. <exclude>
  15. <directory suffix=".php">../3rdparty</directory>
  16. <directory suffix=".php">../apps/files/l10n</directory>
  17. <directory suffix=".php">../apps/files_external/l10n</directory>
  18. <directory suffix=".php">../apps/files_external/3rdparty</directory>
  19. <directory suffix=".php">../apps/files_versions/l10n</directory>
  20. <directory suffix=".php">../apps/encryption/l10n</directory>
  21. <directory suffix=".php">../apps/files_sharing/l10n</directory>
  22. <directory suffix=".php">../apps/files_trashbin/l10n</directory>
  23. <directory suffix=".php">../apps/user_ldap/l10n</directory>
  24. <directory suffix=".php">../apps/user_webdavauth/l10n</directory>
  25. <directory suffix=".php">../apps/provisioning_api/tests</directory>
  26. <directory suffix=".php">../lib/l10n</directory>
  27. <directory suffix=".php">../core/l10n</directory>
  28. <directory suffix=".php">../settings/l10n</directory>
  29. <directory suffix=".php">../tests</directory>
  30. </exclude>
  31. </whitelist>
  32. </filter>
  33. <listeners>
  34. <listener class="StartSessionListener" file="startsessionlistener.php" />
  35. </listeners>
  36. </phpunit>