2013-06-04 15:55:44 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-06-12 14:16:28 +02:00
|
|
|
<phpunit bootstrap="../../test/php/bootstrap.php">
|
2013-06-04 15:55:44 +02:00
|
|
|
<testsuites>
|
|
|
|
<!--
|
|
|
|
Unit testing
|
|
|
|
-->
|
|
|
|
<testsuite name="unit">
|
2014-06-12 14:16:28 +02:00
|
|
|
<directory>../../test/php/application/</directory>
|
|
|
|
<directory>../../test/php/library/</directory>
|
2013-07-04 14:48:30 +02:00
|
|
|
|
|
|
|
<!-- Module tests are independent from core tests -->
|
2014-06-12 14:16:28 +02:00
|
|
|
<directory>../*/test/php</directory>
|
|
|
|
<exclude>../*/test/php/regression</exclude>
|
2013-06-04 15:55:44 +02:00
|
|
|
</testsuite>
|
2013-05-31 13:47:15 +02:00
|
|
|
|
2013-06-04 15:55:44 +02:00
|
|
|
<!--
|
|
|
|
Regression testing
|
|
|
|
-->
|
|
|
|
<testsuite name="regression">
|
2014-06-12 14:16:28 +02:00
|
|
|
<directory>../../test/php/regression/</directory>
|
|
|
|
<directory>../*/test/php/regression</directory>
|
2013-06-04 15:55:44 +02:00
|
|
|
</testsuite>
|
|
|
|
</testsuites>
|
2013-06-27 11:39:08 +02:00
|
|
|
<filter>
|
2014-04-28 14:03:52 +02:00
|
|
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
|
|
|
<directory suffix=".php">../../application</directory>
|
|
|
|
<directory suffix=".php">../../library/Icinga</directory>
|
|
|
|
<directory suffix=".php">../../modules</directory>
|
|
|
|
<exclude>
|
2014-06-30 13:55:11 +02:00
|
|
|
<!-- application/clicommands -->
|
|
|
|
<directory suffix=".php">../../application/clicommands</directory>
|
|
|
|
<!-- application/controllers -->
|
|
|
|
<directory suffix=".php">../../application/controllers</directory>
|
|
|
|
<!-- application/forms -->
|
|
|
|
<file>../../application/forms/Config/GeneralForm.php</file>
|
|
|
|
<file>../../application/forms/Config/LoggingForm.php</file>
|
|
|
|
<file>../../application/forms/Config/ConfirmRemovalForm.php</file>
|
|
|
|
<directory suffix=".php">../../application/forms/Authentication</directory>
|
|
|
|
<directory suffix=".php">../../application/forms/Dashboard</directory>
|
|
|
|
<directory suffix=".php">../../application/forms/Preference</directory>
|
|
|
|
<!-- application/views -->
|
|
|
|
<file>../../application/views/helpers/FormNumber.php</file>
|
|
|
|
<file>../../application/views/helpers/FormDateTime.php</file>
|
|
|
|
<file>../../application/views/helpers/FormTriStateCheckbox.php</file>
|
|
|
|
<!-- library/Icinga/Logger -->
|
|
|
|
<file>../../library/Icinga/Logger/Writer/SyslogWriter.php</file>
|
|
|
|
<!-- library/Icinga/User -->
|
|
|
|
<file>../../library/Icinga/User/Message.php</file>
|
|
|
|
<!-- library/Icinga/Application -->
|
|
|
|
<file>../../library/Icinga/Application/ApplicationBootstrap.php</file>
|
|
|
|
<file>../../library/Icinga/Application/Benchmark.php</file>
|
|
|
|
<file>../../library/Icinga/Application/Cli.php</file>
|
|
|
|
<file>../../library/Icinga/Application/EmbeddedWeb.php</file>
|
|
|
|
<file>../../library/Icinga/Application/LegacyWeb.php</file>
|
|
|
|
<file>../../library/Icinga/Application/Platform.php</file>
|
|
|
|
<file>../../library/Icinga/Application/Web.php</file>
|
2014-04-28 14:03:52 +02:00
|
|
|
<file>../../library/Icinga/Application/functions.php</file>
|
|
|
|
<file>../../library/Icinga/Application/webrouter.php</file>
|
2014-06-30 13:55:11 +02:00
|
|
|
<!-- library/Icinga/Web -->
|
|
|
|
<file>../../library/Icinga/Web/JavaScript.php</file>
|
|
|
|
<file>../../library/Icinga/Web/LessCompiler.php</file>
|
|
|
|
<file>../../library/Icinga/Web/Request.php</file>
|
|
|
|
<file>../../library/Icinga/Web/Response.php</file>
|
|
|
|
<file>../../library/Icinga/Web/Session.php</file>
|
|
|
|
<file>../../library/Icinga/Web/StyleSheet.php</file>
|
|
|
|
<file>../../library/Icinga/Web/View.php</file>
|
|
|
|
<file>../../library/Icinga/Web/ViewStream.php</file>
|
|
|
|
<file>../../library/Icinga/Web/Widget.php</file>
|
|
|
|
<!-- library/Icinga/Web/Widget -->
|
|
|
|
<file>../../library/Icinga/Web/Widget/AbstractWidget.php</file>
|
|
|
|
<file>../../library/Icinga/Web/Widget/AlertMessageBox.php</file>
|
|
|
|
<file>../../library/Icinga/Web/Widget/SortBox.php</file>
|
|
|
|
<directory suffix=".php">../../library/Icinga/Web/Widget/Chart</directory>
|
|
|
|
<directory suffix=".php">../../library/Icinga/Web/Widget/Tabextension</directory>
|
|
|
|
<!-- library/Icinga/Web/Hook -->
|
|
|
|
<file>../../library/Icinga/Web/Hook/Ticket.php</file>
|
|
|
|
<file>../../library/Icinga/Web/Hook/Grapher.php</file>
|
|
|
|
<!-- library/Icinga/Web/Controller -->
|
|
|
|
<directory suffix=".php">../../library/Icinga/Web/Controller</directory>
|
|
|
|
<!-- library/Icinga/Web/Form -->
|
|
|
|
<directory suffix=".php">../../library/Icinga/Web/Form/Decorator</directory>
|
|
|
|
<!-- library/Icinga/Web/View -->
|
|
|
|
<directory suffix=".php">../../library/Icinga/Web/View/helpers</directory>
|
2014-04-28 14:03:52 +02:00
|
|
|
</exclude>
|
|
|
|
</whitelist>
|
2013-07-18 18:00:44 +02:00
|
|
|
</filter>
|
2014-04-11 09:35:19 +02:00
|
|
|
<listeners>
|
|
|
|
<listener class="\Mockery\Adapter\Phpunit\TestListener"></listener>
|
|
|
|
</listeners>
|
2013-06-06 15:41:47 +02:00
|
|
|
</phpunit>
|