1<?xml version="1.0" encoding="UTF-8"?>
2<phpunit backupGlobals="true"
3         backupStaticAttributes="false"
4         bootstrap="tests/bootstrap.php"
5         colors="false"
6         convertErrorsToExceptions="true"
7         convertNoticesToExceptions="true"
8         convertWarningsToExceptions="true"
9         forceCoversAnnotation="false"
10         mapTestClassNameToCoveredClassName="false"
11         processIsolation="false"
12         stopOnError="false"
13         stopOnFailure="false"
14         stopOnIncomplete="false"
15         stopOnSkipped="false"
16         testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader"
17         strict="false"
18         verbose="false">
19    <testsuites>
20        <testsuite name="Unit">
21            <directory>tests/Unit</directory>
22        </testsuite>
23    </testsuites>
24    <filter>
25        <whitelist>
26            <directory suffix=".php">src/</directory>
27            <exclude>
28                <file>src/OAuth/bootstrap.php</file>
29                <file>src/OAuth/Common/Exception/Exception.php</file>
30                <file>src/OAuth/Common/Http/Exception/TokenResponseException.php</file>
31                <file>src/OAuth/Common/Storage/Exception/StorageException.php</file>
32                <file>src/OAuth/Common/Storage/Exception/TokenNotFoundException.php</file>
33                <file>src/OAuth/Common/Token/Exception/ExpiredTokenException.php</file>
34                <file>src/OAuth/OAuth1/Signature/Exception/UnsupportedHashAlgorithmException.php</file>
35                <file>src/OAuth/OAuth2/Service/Exception/InvalidScopeException.php</file>
36                <file>src/OAuth/OAuth2/Service/Exception/MissingRefreshTokenException.php</file>
37                <file>src/OAuth/OAuth2/Token/StdOAuth2Token.php</file>
38            </exclude>
39        </whitelist>
40    </filter>
41    <php>
42        <env name="redis_host" value="127.0.0.1"/>
43        <env name="redis_port" value="6379"/>
44    </php>
45</phpunit>
46