summaryrefslogtreecommitdiffstats
path: root/tests/phpunit-autotest.xml
blob: da786c765f8f0806884de574010a1aa83328b807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="bootstrap.php"
		 verbose="true"
		 backupGlobals="false"
		 timeoutForSmallTests="900"
		 timeoutForMediumTests="900"
		 timeoutForLargeTests="900"
>
	<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/admin_audit/tests</directory>
				<directory suffix=".php">../apps/dav/tests</directory>
				<directory suffix=".php">../apps/encryption/tests</directory>
				<directory suffix=".php">../apps/federatedfilesharing/tests</directory>
				<directory suffix=".php">../apps/federation/tests</directory>
				<directory suffix=".php">../apps/files/tests</directory>
				<directory suffix=".php">../apps/files_external</directory>
				<directory suffix=".php">../apps/files_sharing/tests</directory>
				<directory suffix=".php">../apps/files_trashbin/tests</directory>
				<directory suffix=".php">../apps/files_versions/tests</directory>
				<directory suffix=".php">../apps/oauth2/tests</directory>
				<directory suffix=".php">../apps/provisioning_api/tests</directory>
				<directory suffix=".php">../apps/systemtags/tests</directory>
				<directory suffix=".php">../apps/theming/tests</directory>
				<directory suffix=".php">../apps/settings/tests</directory>
				<directory suffix=".php">../apps/twofactor_backupcodes/tests</directory>
				<directory suffix=".php">../apps/updatenotification/tests</directory>
				<directory suffix=".php">../apps/user_ldap/tests</directory>
				<directory suffix=".php">../apps/workflowengine/tests</directory>
				<directory suffix=".php">../tests</directory>
				<directory suffix=".php">../build</directory>
				<directory suffix=".php">../lib/composer</directory>
				<directory suffix=".php">../apps/*/composer</directory>
			</exclude>
		</whitelist>
	</filter>
	<listeners>
		<listener class="StartSessionListener" file="startsessionlistener.php" />
	</listeners>
</phpunit>