diff --git a/phpunit.xml b/phpunit.xml index e21e6ff2d3d152245ba0233b86b8d508e280d8b2..edd581bb897e800ad6c179ca0d7b9ed022a98904 100755 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,33 +1,33 @@ <?xml version="1.0" encoding="UTF-8"?> -<phpunit colors="true" bootstrap="test/define.php"> +<phpunit colors="true" bootstrap="test/unitTests/define.php"> <testsuites> <testsuite name="Maarch Test Suite"> <!--directory>test</directory--> - <file>test/ActionControllerTest.php</file> - <file>test/AutocompleteControllerTest.php</file> - <file>test/BasketControllerTest.php</file> - <file>test/ContactControllerTest.php</file> - <file>test/ContactGroupControllerTest.php</file> - <file>test/ContactTypeControllerTest.php</file> - <file>test/CoreControllerTest.php</file> - <file>test/DocserverControllerTest.php</file> - <file>test/DoctypeControllerTest.php</file> - <file>test/EntityControllerTest.php</file> - <file>test/GroupControllerTest.php</file> - <file>test/ListTemplateControllerTest.php</file> - <file>test/NotificationControllerTest.php</file> - <file>test/NotificationScheduleControllerTest.php</file> - <file>test/ParameterControllerTest.php</file> - <file>test/PasswordControllerTest.php</file> - <file>test/PriorityControllerTest.php</file> - <file>test/ReportControllerTest.php</file> - <file>test/ResControllerTest.php</file> - <file>test/StatusControllerTest.php</file> - <file>test/UserControllerTest.php</file> - <file>test/VersionUpdateControllerTest.php</file> - <file>test/TemplateControllerTest.php</file> + <file>test/unitTests/app/action/ActionControllerTest.php</file> + <file>test/unitTests/core/AutocompleteControllerTest.php</file> + <file>test/unitTests/app/basket/BasketControllerTest.php</file> + <file>test/unitTests/app/contact/ContactControllerTest.php</file> + <file>test/unitTests/app/contact/ContactGroupControllerTest.php</file> + <file>test/unitTests/app/contact/ContactTypeControllerTest.php</file> + <file>test/unitTests/core/CoreControllerTest.php</file> + <file>test/unitTests/app/docserver/DocserverControllerTest.php</file> + <file>test/unitTests/app/doctype/DoctypeControllerTest.php</file> + <file>test/unitTests/app/entity/EntityControllerTest.php</file> + <file>test/unitTests/app/group/GroupControllerTest.php</file> + <file>test/unitTests/app/entity/ListTemplateControllerTest.php</file> + <file>test/unitTests/app/notification/NotificationControllerTest.php</file> + <file>test/unitTests/app/notification/NotificationScheduleControllerTest.php</file> + <file>test/unitTests/app/parameter/ParameterControllerTest.php</file> + <file>test/unitTests/core/PasswordControllerTest.php</file> + <file>test/unitTests/app/priority/PriorityControllerTest.php</file> + <file>test/unitTests/app/report/ReportControllerTest.php</file> + <file>test/unitTests/app/resource/ResControllerTest.php</file> + <file>test/unitTests/app/status/StatusControllerTest.php</file> + <file>test/unitTests/app/user/UserControllerTest.php</file> + <file>test/unitTests/app/versionUpdate/VersionUpdateControllerTest.php</file> + <file>test/unitTests/app/template/TemplateControllerTest.php</file> <!-- The last one should be history --> - <file>test/HistoryControllerTest.php</file> + <file>test/unitTests/app/history/HistoryControllerTest.php</file> </testsuite> </testsuites> <filter> @@ -37,8 +37,8 @@ </whitelist> </filter> <logging> - <log type="coverage-clover" target="test/build/tests-clover.xml"/> - <log type="junit" target="test/build/tests-phpunit.xml" logIncompleteSkipped="false"/> - <log type="coverage-html" target="test/build" lowUpperBound="35" highLowerBound="70"/> + <log type="coverage-clover" target="test/unitTests/build/tests-clover.xml"/> + <log type="junit" target="test/unitTests/build/tests-phpunit.xml" logIncompleteSkipped="false"/> + <log type="coverage-html" target="test/unitTests/build" lowUpperBound="35" highLowerBound="70"/> </logging> </phpunit> diff --git a/test/ActionControllerTest.php b/test/unitTests/app/action/ActionControllerTest.php similarity index 100% rename from test/ActionControllerTest.php rename to test/unitTests/app/action/ActionControllerTest.php diff --git a/test/BasketControllerTest.php b/test/unitTests/app/basket/BasketControllerTest.php similarity index 100% rename from test/BasketControllerTest.php rename to test/unitTests/app/basket/BasketControllerTest.php diff --git a/test/ContactControllerTest.php b/test/unitTests/app/contact/ContactControllerTest.php similarity index 100% rename from test/ContactControllerTest.php rename to test/unitTests/app/contact/ContactControllerTest.php diff --git a/test/ContactGroupControllerTest.php b/test/unitTests/app/contact/ContactGroupControllerTest.php similarity index 100% rename from test/ContactGroupControllerTest.php rename to test/unitTests/app/contact/ContactGroupControllerTest.php diff --git a/test/ContactTypeControllerTest.php b/test/unitTests/app/contact/ContactTypeControllerTest.php similarity index 100% rename from test/ContactTypeControllerTest.php rename to test/unitTests/app/contact/ContactTypeControllerTest.php diff --git a/test/DocserverControllerTest.php b/test/unitTests/app/docserver/DocserverControllerTest.php similarity index 100% rename from test/DocserverControllerTest.php rename to test/unitTests/app/docserver/DocserverControllerTest.php diff --git a/test/DoctypeControllerTest.php b/test/unitTests/app/doctype/DoctypeControllerTest.php similarity index 100% rename from test/DoctypeControllerTest.php rename to test/unitTests/app/doctype/DoctypeControllerTest.php diff --git a/test/EntityControllerTest.php b/test/unitTests/app/entity/EntityControllerTest.php similarity index 100% rename from test/EntityControllerTest.php rename to test/unitTests/app/entity/EntityControllerTest.php diff --git a/test/ListTemplateControllerTest.php b/test/unitTests/app/entity/ListTemplateControllerTest.php similarity index 100% rename from test/ListTemplateControllerTest.php rename to test/unitTests/app/entity/ListTemplateControllerTest.php diff --git a/test/GroupControllerTest.php b/test/unitTests/app/group/GroupControllerTest.php similarity index 100% rename from test/GroupControllerTest.php rename to test/unitTests/app/group/GroupControllerTest.php diff --git a/test/HistoryControllerTest.php b/test/unitTests/app/history/HistoryControllerTest.php similarity index 100% rename from test/HistoryControllerTest.php rename to test/unitTests/app/history/HistoryControllerTest.php diff --git a/test/NotificationControllerTest.php b/test/unitTests/app/notification/NotificationControllerTest.php similarity index 100% rename from test/NotificationControllerTest.php rename to test/unitTests/app/notification/NotificationControllerTest.php diff --git a/test/NotificationScheduleControllerTest.php b/test/unitTests/app/notification/NotificationScheduleControllerTest.php similarity index 100% rename from test/NotificationScheduleControllerTest.php rename to test/unitTests/app/notification/NotificationScheduleControllerTest.php diff --git a/test/ParameterControllerTest.php b/test/unitTests/app/parameter/ParameterControllerTest.php similarity index 100% rename from test/ParameterControllerTest.php rename to test/unitTests/app/parameter/ParameterControllerTest.php diff --git a/test/PriorityControllerTest.php b/test/unitTests/app/priority/PriorityControllerTest.php similarity index 100% rename from test/PriorityControllerTest.php rename to test/unitTests/app/priority/PriorityControllerTest.php diff --git a/test/ReportControllerTest.php b/test/unitTests/app/report/ReportControllerTest.php similarity index 100% rename from test/ReportControllerTest.php rename to test/unitTests/app/report/ReportControllerTest.php diff --git a/test/ResControllerTest.php b/test/unitTests/app/resource/ResControllerTest.php similarity index 100% rename from test/ResControllerTest.php rename to test/unitTests/app/resource/ResControllerTest.php diff --git a/test/StatusControllerTest.php b/test/unitTests/app/status/StatusControllerTest.php similarity index 100% rename from test/StatusControllerTest.php rename to test/unitTests/app/status/StatusControllerTest.php diff --git a/test/TemplateControllerTest.php b/test/unitTests/app/template/TemplateControllerTest.php similarity index 100% rename from test/TemplateControllerTest.php rename to test/unitTests/app/template/TemplateControllerTest.php diff --git a/test/UserControllerTest.php b/test/unitTests/app/user/UserControllerTest.php similarity index 100% rename from test/UserControllerTest.php rename to test/unitTests/app/user/UserControllerTest.php diff --git a/test/VersionUpdateControllerTest.php b/test/unitTests/app/versionUpdate/VersionUpdateControllerTest.php similarity index 100% rename from test/VersionUpdateControllerTest.php rename to test/unitTests/app/versionUpdate/VersionUpdateControllerTest.php diff --git a/test/AutocompleteControllerTest.php b/test/unitTests/core/AutocompleteControllerTest.php similarity index 100% rename from test/AutocompleteControllerTest.php rename to test/unitTests/core/AutocompleteControllerTest.php diff --git a/test/CoreControllerTest.php b/test/unitTests/core/CoreControllerTest.php similarity index 100% rename from test/CoreControllerTest.php rename to test/unitTests/core/CoreControllerTest.php diff --git a/test/PasswordControllerTest.php b/test/unitTests/core/PasswordControllerTest.php similarity index 100% rename from test/PasswordControllerTest.php rename to test/unitTests/core/PasswordControllerTest.php diff --git a/test/define.php b/test/unitTests/define.php similarity index 100% rename from test/define.php rename to test/unitTests/define.php