Skip to content

Commit

Permalink
Rename suite
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Jan 22, 2017
1 parent ba335e9 commit 7575c46
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"autoload-dev": {
"psr-4": {
"Tests\\Unit\\": "tests/unit/src",
"Tests\\Integration\\": "tests/integration/src"
"Tests\\Functional\\": "tests/functional/src"
}
},
"repositories": [
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ extensions:
inject: Nette\DI\Extensions\InjectExtension

services:
routerFactory: Tests\Integration\Classes\RouterFactory
routerFactory: Tests\Functional\Classes\RouterFactory
router: @routerFactory::create()
enabledRuleHandler:
class: Tests\Integration\Classes\EnabledRuleHandler
class: Tests\Functional\Classes\EnabledRuleHandler
tags:
arachne.verifier.ruleHandler:
- Tests\Integration\Classes\Enabled
- Tests\Functional\Classes\Enabled
blockControl:
implement: Tests\Integration\Classes\BlockControlFactory
implement: Tests\Functional\Classes\BlockControlFactory
tags:
- arachne.verifier.verifyProperties
articlePresenter:
class: Tests\Integration\Classes\ArticlePresenter
class: Tests\Functional\Classes\ArticlePresenter
tags:
- arachne.verifier.verifyProperties
- inject

nette.application:
catchExceptions: null
mapping:
*: Tests\Integration\Classes\*Presenter
*: Tests\Functional\Classes\*Presenter

kdyby.annotations:
ignore:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

use Arachne\Verifier\Application\VerifierPresenterTrait;
use Nette\Application\UI\Presenter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

use Arachne\Verifier\Application\VerifierControlTrait;
use Nette\Application\UI\Control;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

/**
* @author Jáchym Toušek <[email protected]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

use Arachne\Verifier\Application\VerifierControlTrait;
use Nette\Application\UI\Control;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

use Arachne\Verifier\Rules\SecurityRule;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

use Arachne\Verifier\Exception\VerificationException;
use Arachne\Verifier\RuleInterface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

use Arachne\Verifier\Application\VerifierControlTrait;
use Nette\Application\UI\Control;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

use Nette\Application\IRouter;
use Nette\Application\Routers\Route;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration\Classes;
namespace Tests\Functional\Classes;

use Arachne\Verifier\Rules\All;
use Arachne\Verifier\Rules\Either;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration;
namespace Tests\Functional;

use Codeception\TestCase\Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration;
namespace Tests\Functional;

use Codeception\TestCase\Test;
use Nette\Application\IPresenterFactory;
Expand All @@ -25,7 +25,7 @@ public function testRenderMethod()
/**
* @expectedException Nette\Application\BadRequestException
* @expectedExceptionCode 404
* @expectedExceptionMessage Action 'Tests\Integration\Classes\ArticlePresenter::actionUndefinedAction' does not exist.
* @expectedExceptionMessage Action 'Tests\Functional\Classes\ArticlePresenter::actionUndefinedAction' does not exist.
*/
public function testUndefinedAction()
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration;
namespace Tests\Functional;

use Codeception\TestCase\Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration;
namespace Tests\Functional;

use Codeception\TestCase\Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace Tests\Integration;
namespace Tests\Functional;

use Arachne\Verifier\Verifier;
use Codeception\TestCase\Test;
use Nette\Application\Request;
use Nette\Application\UI\Presenter;
use Tests\Integration\Classes\TestPresenter;
use Tests\Functional\Classes\TestPresenter;

/**
* @author Jáchym Toušek <[email protected]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests\Integration;
namespace Tests\Functional;

use Codeception\TestCase\Test;

Expand Down
File renamed without changes.

0 comments on commit 7575c46

Please sign in to comment.