tests: group structures tests in their own directory
authorAntoine Musso <hashar@free.fr>
Tue, 21 May 2013 09:26:02 +0000 (11:26 +0200)
committerAntoine Musso <hashar@free.fr>
Tue, 21 May 2013 10:33:42 +0000 (12:33 +0200)
commitf87320bdac04cc8a45a7d1898973ec9079e0adfb
tree4ce7f28cd465e950ff66b6a014e4306955ada0ce
parentea14e469655e84b664fb99de4fd75399c44f6b9a
tests: group structures tests in their own directory

The phpunit root directory has two test file:

 AutoLoaderTest.php
 StructureTest.php

The later was registered in phpunit under the `structure` test suite
while the former was not registered and hence never run (bug 47750).

This patch moves both files under the `structure` subdirectory and
change the suite to look in that directory.  That will avoid us having
to manually maintain a list of test files.

Updated the __DIR__ in StructureTest.php.

Change-Id: I419c9157f32bdf7e1ff26a42f4bb3f3922b7be37
tests/phpunit/AutoLoaderTest.php [deleted file]
tests/phpunit/StructureTest.php [deleted file]
tests/phpunit/structure/AutoLoaderTest.php [new file with mode: 0644]
tests/phpunit/structure/StructureTest.php [new file with mode: 0644]
tests/phpunit/suite.xml