Skip to content
Snippets Groups Projects
Commit b139b2a2 authored by Jan Kuchař's avatar Jan Kuchař
Browse files

Fixed namespace of tests

parent 40280558
Branches
No related tags found
1 merge request!1Driver into separate namespace
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/vendor/nette/tester/src" isTestSource="false" packagePrefix="Tester" /> <sourceFolder url="file://$MODULE_DIR$/vendor/nette/tester/src" isTestSource="false" packagePrefix="Tester" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="Grifart\Mappi\Store" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="Grifart\Mappi\Cursor" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="Grifart\Mappi\Tests\Store" generated="true" /> <sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="Grifart\Mappi\Tests" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/vendor/mockery/mockery/tests" isTestSource="true" packagePrefix="test" /> <sourceFolder url="file://$MODULE_DIR$/vendor/mockery/mockery/tests" isTestSource="true" packagePrefix="test" />
<sourceFolder url="file://$MODULE_DIR$/vendor/dibi/dibi/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/vendor/dibi/dibi/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/vendor/hamcrest/hamcrest-php/tests" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/vendor/hamcrest/hamcrest-php/tests" isTestSource="true" />
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
<sourceFolder url="file://$MODULE_DIR$/vendor/mockery/mockery/library" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/vendor/mockery/mockery/library" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/vendor/mockery/mockery/tests" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/vendor/mockery/mockery/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/vendor/mockery/mockery/tests/Mockery/Test" isTestSource="true" packagePrefix="Mockery" /> <sourceFolder url="file://$MODULE_DIR$/vendor/mockery/mockery/tests/Mockery/Test" isTestSource="true" packagePrefix="Mockery" />
<sourceFolder url="file://$MODULE_DIR$/vendor/marc-mabe/php-enum/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/vendor/tracy/tracy/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/vendor/tracy/tracy/src" isTestSource="false" packagePrefix="Tracy" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @testCase * @testCase
*/ */
namespace Grifart\Mappi\Tests\Store\Cursor; namespace Grifart\Mappi\Tests\Cursor;
use Grifart\Mappi\Cursor\Cursor; use Grifart\Mappi\Cursor\Cursor;
use Grifart\Mappi\Cursor\Driver\ArrayCursorDriver; use Grifart\Mappi\Cursor\Driver\ArrayCursorDriver;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @testCase * @testCase
*/ */
namespace Grifart\Mappi\Tests\Store\Cursor; namespace Grifart\Mappi\Tests\Cursor;
use Grifart\Mappi\Cursor\ICursor; use Grifart\Mappi\Cursor\ICursor;
use Grifart\Mappi\Tests\Store\BaseTest; use Grifart\Mappi\Tests\Store\BaseTest;
...@@ -15,7 +15,7 @@ use Tester\Assert; ...@@ -15,7 +15,7 @@ use Tester\Assert;
* This file is using Given-When-Then naming convention. * This file is using Given-When-Then naming convention.
* @link http://martinfowler.com/bliki/GivenWhenThen.html * @link http://martinfowler.com/bliki/GivenWhenThen.html
* *
* @package Grifart\Mappi\Tests\Store\Cursor * @package Grifart\Mappi\Tests\Cursor
*/ */
abstract class ICursorTest extends BaseTest abstract class ICursorTest extends BaseTest
{ {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @testCase * @testCase
*/ */
namespace Grifart\Mappi\Tests\Store\Cursor; namespace Grifart\Mappi\Tests\Cursor;
use Dibi\DriverException; use Dibi\DriverException;
use Grifart\Mappi\Cursor\Driver\PostgresCursorFactory; use Grifart\Mappi\Cursor\Driver\PostgresCursorFactory;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @testCase * @testCase
*/ */
namespace Grifart\Mappi\Tests\Store\Cursor; namespace Grifart\Mappi\Tests\Cursor;
use Grifart\Mappi\Cursor\Cursor; use Grifart\Mappi\Cursor\Cursor;
use Grifart\Mappi\Cursor\Driver\ArrayCursorDriver; use Grifart\Mappi\Cursor\Driver\ArrayCursorDriver;
...@@ -17,7 +17,7 @@ require_once __DIR__ . "/ICursorTest.php"; ...@@ -17,7 +17,7 @@ require_once __DIR__ . "/ICursorTest.php";
* Behavioral test for SemanticCursor using mocking. * Behavioral test for SemanticCursor using mocking.
* @link http://docs.mockery.io/en/latest/ * @link http://docs.mockery.io/en/latest/
* *
* @package Grifart\Mappi\Tests\Store\Cursor * @package Grifart\Mappi\Tests\Cursor
*/ */
class SemanticCursorIntegrationTest extends ICursorTest class SemanticCursorIntegrationTest extends ICursorTest
{ {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @testCase * @testCase
*/ */
namespace Grifart\Mappi\Tests\Store\Cursor; namespace Grifart\Mappi\Tests\Cursor;
use Grifart\Mappi\Cursor\CursorException; use Grifart\Mappi\Cursor\CursorException;
use Grifart\Mappi\Cursor\ICursor; use Grifart\Mappi\Cursor\ICursor;
...@@ -19,7 +19,7 @@ require_once __DIR__ . "/ICursorTest.php"; ...@@ -19,7 +19,7 @@ require_once __DIR__ . "/ICursorTest.php";
* Behavioral test for SemanticCursor using mocking. * Behavioral test for SemanticCursor using mocking.
* @link http://docs.mockery.io/en/latest/ * @link http://docs.mockery.io/en/latest/
* *
* @package Grifart\Mappi\Tests\Store\Cursor * @package Grifart\Mappi\Tests\Cursor
*/ */
class SemanticCursorTest extends BaseTest class SemanticCursorTest extends BaseTest
{ {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// TODO: moveBy() ->isOnRecord() ->moveBy() ->isOnRecord() (now I see state before and after command) // TODO: moveBy() ->isOnRecord() ->moveBy() ->isOnRecord() (now I see state before and after command)
// TODO: Maybe construct Cursor class in TrackedCursor constructor? // TODO: Maybe construct Cursor class in TrackedCursor constructor?
namespace Grifart\Mappi\Tests\Store\Cursor; namespace Grifart\Mappi\Tests\Cursor;
use Grifart\Mappi\Cursor\Cursor; use Grifart\Mappi\Cursor\Cursor;
use Grifart\Mappi\Cursor\CursorPosition; use Grifart\Mappi\Cursor\CursorPosition;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment