Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Commit 2fa3b8d

Browse files
committed
Moved tests outside of src folder
1 parent 204ac0c commit 2fa3b8d

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

phpunit.xml.dist

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
<phpunit bootstrap="./vendor/autoload.php" colors="true">
44
<testsuites>
55
<testsuite name="CSDataGridBundle">
6-
<directory suffix="Test.php">./src/CS/DataGridBundle/Tests</directory>
6+
<directory suffix="Test.php">./tests</directory>
77
</testsuite>
88
</testsuites>
99

1010
<filter>
1111
<whitelist>
12-
<directory>./src/CS/DataGridBundle</directory>
12+
<directory>./tests</directory>
1313
<exclude>
1414
<directory>./src/CS/DataGridBundle/Resources</directory>
15+
<directory>./src/CS/DataGridBundle/Tests</directory>
1516
<directory>./vendor</directory>
1617
</exclude>
1718
</whitelist>

src/CS/DataGridBundle/Tests/Grid/CollectionTest.php renamed to tests/CS/DataGridBundle/Test/Grid/CollectionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace CS\DataGridBundle\Tests\Grid;
12+
namespace CS\DataGridBundle\Test\Grid;
1313

1414
use CS\DataGridBundle\Grid\Collection;
1515

src/CS/DataGridBundle/Tests/Grid/Column/ColumnCollectionTest.php renamed to tests/CS/DataGridBundle/Test/Grid/Column/ColumnCollectionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace CS\DataGridBundle\Tests\Grid\Column;
12+
namespace CS\DataGridBundle\Test\Grid\Column;
1313

1414
use CS\DataGridBundle\Grid\Column\Column;
1515
use CS\DataGridBundle\Grid\Column\ColumnCollection;

src/CS/DataGridBundle/Tests/Util/ArrayStackTest.php renamed to tests/CS/DataGridBundle/Test/Util/ArrayStackTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace CS\DataGridBundle\Tests\Util;
12+
namespace CS\DataGridBundle\Test\Util;
1313
use CS\DataGridBundle\Util\ArrayStack;
1414

1515
class ArrayStackTest extends \PHPUnit_Framework_TestCase

0 commit comments

Comments
 (0)