summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/phpunit.xml.dist
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
committerYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
commitfc7369835258467bf97eb64f184b93691f9a9fd5 (patch)
treedaabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/extensions/SemanticMediaWiki/phpunit.xml.dist
first commit
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/phpunit.xml.dist')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/phpunit.xml.dist74
1 files changed, 74 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/phpunit.xml.dist b/www/wiki/extensions/SemanticMediaWiki/phpunit.xml.dist
new file mode 100644
index 00000000..6a1fd256
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/phpunit.xml.dist
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit backupGlobals="false"
+ backupStaticAttributes="false"
+ bootstrap="tests/bootstrap.php"
+ cacheTokens="false"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ stopOnError="false"
+ stopOnFailure="false"
+ stopOnIncomplete="false"
+ stopOnSkipped="false"
+ beStrictAboutTestsThatDoNotTestAnything="true"
+ verbose="true">
+ <listeners>
+ <listener file="tests/phpunit/ExecutionTimeTestListener.php" class="SMW\Tests\ExecutionTimeTestListener">
+ <arguments>
+ <boolean>true</boolean>
+ <integer>10</integer>
+ </arguments>
+ </listener>
+ </listeners>
+ <testsuites>
+ <testsuite name="semantic-mediawiki-unit">
+ <directory>tests/phpunit/includes</directory>
+ <directory>tests/phpunit/Unit</directory>
+ </testsuite>
+ <testsuite name="semantic-mediawiki-integration">
+ <directory>tests/phpunit/Integration</directory>
+ <exclude>tests/phpunit/Integration/MediaWiki/Import</exclude>
+ <exclude>tests/phpunit/Integration/System</exclude>
+ </testsuite>
+ <testsuite name="semantic-mediawiki-import">
+ <directory>tests/phpunit/Integration/MediaWiki/Import</directory>
+ </testsuite>
+ <testsuite name="semantic-mediawiki-system">
+ <directory>tests/phpunit/Integration/System</directory>
+ </testsuite>
+ <testsuite name="semantic-mediawiki-benchmark">
+ <directory>tests/phpunit/Benchmark</directory>
+ </testsuite>
+ </testsuites>
+ <groups>
+ <exclude>
+ <group>semantic-mediawiki-benchmark</group>
+ </exclude>
+ </groups>
+ <filter>
+ <whitelist addUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">src</directory>
+ <directory suffix=".php">includes</directory>
+ <directory suffix=".php">maintenance</directory>
+ </whitelist>
+ </filter>
+ <php>
+ <var name="smwgSemanticsEnabled" value="true"/>
+ <var name="wgUseFileCache" value="false"/>
+ <var name="smwgEntityCollation" value="identity"/>
+ <var name="smwgFieldTypeFeatures" value="false"/>
+ <var name="smwgCreateProtectionRight" value="false"/>
+ <var name="smwgSparqlDefaultGraph" value="http://example.org/phpunit-testrun"/>
+ <var name="smwgSparqlQFeatures" value="false"/>
+ <var name="smwgElasticsearchProfile" value="false"/>
+ <var name="smwgEntityLookupCacheType" value="hash"/>
+ <var name="smwgEnabledDeferredUpdate" value="false"/>
+ <var name="smwgImportReqVersion" value="false"/>
+ <var name="smwgEnabledFulltextSearch" value="false"/>
+ <var name="smwgEnabledQueryDependencyLinksStore" value="true"/>
+ <var name="smwgQueryResultCacheType" value="hash"/>
+ <var name="benchmarkPageCopyCount" value="1000"/>
+ <var name="benchmarkPageEditRepetitionCount" value="50"/>
+ </php>
+</phpunit>