phpunit-autotest.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <phpunit bootstrap="bootstrap.php"
  3. strict="true"
  4. verbose="true"
  5. timeoutForSmallTests="900"
  6. timeoutForMediumTests="900"
  7. timeoutForLargeTests="900"
  8. >
  9. <testsuite name='ownCloud'>
  10. <directory suffix='.php'>lib/</directory>
  11. <directory suffix='.php'>settings/</directory>
  12. <file>apps.php</file>
  13. </testsuite>
  14. <!-- filters for code coverage -->
  15. <filter>
  16. <!-- whitelist processUncoveredFilesFromWhitelist="true" -->
  17. <whitelist>
  18. <directory suffix=".php">..</directory>
  19. <exclude>
  20. <directory suffix=".php">../3rdparty</directory>
  21. <directory suffix=".php">../apps/files/l10n</directory>
  22. <directory suffix=".php">../apps/files_external/l10n</directory>
  23. <directory suffix=".php">../apps/files_external/3rdparty</directory>
  24. <directory suffix=".php">../apps/files_versions/l10n</directory>
  25. <directory suffix=".php">../apps/files_encryption/l10n</directory>
  26. <directory suffix=".php">../apps/files_encryption/3rdparty</directory>
  27. <directory suffix=".php">../apps/files_sharing/l10n</directory>
  28. <directory suffix=".php">../apps/files_trashbin/l10n</directory>
  29. <directory suffix=".php">../apps/user_ldap/l10n</directory>
  30. <directory suffix=".php">../apps/user_webdavauth/l10n</directory>
  31. <directory suffix=".php">../lib/MDB2</directory>
  32. <directory suffix=".php">../lib/l10n</directory>
  33. <directory suffix=".php">../core/l10n</directory>
  34. <directory suffix=".php">../settings/l10n</directory>
  35. <directory suffix=".php">../tests</directory>
  36. </exclude>
  37. </whitelist>
  38. </filter>
  39. <listeners>
  40. <listener class="StartSessionListener" file="startsessionlistener.php" />
  41. <listener class="TestCleanupListener" file="testcleanuplistener.php">
  42. <arguments>
  43. <string>detail</string>
  44. </arguments>
  45. </listener>
  46. </listeners>
  47. </phpunit>