diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-06 09:25:22 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-06 09:25:22 +0400 |
commit | 3e134db7cf87e28b37037b650b3378fe9deeb475 (patch) | |
tree | 67b162d07cd414aec78cd528796da14ff810647a /plugins/ExamplePlugin | |
parent | 8aaa1aba44e541ca260de505a3e98996b98c9f37 (diff) |
refs #5940 we might stay backwards compatible this way for 2 months. moved some tests from unit to integration and explained when a test is a unit test, an integration test or a system test.
Diffstat (limited to 'plugins/ExamplePlugin')
3 files changed, 5 insertions, 3 deletions
diff --git a/plugins/ExamplePlugin/tests/Fixtures/SimpleFixtureTrackFewVisits.php b/plugins/ExamplePlugin/tests/Fixtures/SimpleFixtureTrackFewVisits.php index 2d455ce70a..2c0b38d172 100644 --- a/plugins/ExamplePlugin/tests/Fixtures/SimpleFixtureTrackFewVisits.php +++ b/plugins/ExamplePlugin/tests/Fixtures/SimpleFixtureTrackFewVisits.php @@ -8,7 +8,7 @@ namespace Piwik\Plugins\ExamplePlugin\tests\Fixtures; use Piwik\Date; -use Piwik\Tests\Fixture; +use Piwik\Tests\Impl\Fixture; /** * Generates tracker testing data for our SimpleSystemTest diff --git a/plugins/ExamplePlugin/tests/Integration/SimpleTest.php b/plugins/ExamplePlugin/tests/Integration/SimpleTest.php index c096b2946b..01ff197cf8 100644 --- a/plugins/ExamplePlugin/tests/Integration/SimpleTest.php +++ b/plugins/ExamplePlugin/tests/Integration/SimpleTest.php @@ -8,12 +8,14 @@ namespace Piwik\Plugins\ExamplePlugin\tests\Integration; +use Piwik\Tests\Impl\IntegrationTestCase; + /** * @group ExamplePlugin * @group SimpleTest * @group Plugins */ -class SimpleTest extends \IntegrationTestCase +class SimpleTest extends IntegrationTestCase { public function testSimpleAddition() diff --git a/plugins/ExamplePlugin/tests/System/SimpleSystemTest.php b/plugins/ExamplePlugin/tests/System/SimpleSystemTest.php index 574e6b5a79..873c4e4fbe 100644 --- a/plugins/ExamplePlugin/tests/System/SimpleSystemTest.php +++ b/plugins/ExamplePlugin/tests/System/SimpleSystemTest.php @@ -9,7 +9,7 @@ namespace Piwik\Plugins\ExamplePlugin\tests\System; use Piwik\Plugins\ExamplePlugin\tests\fixtures\SimpleFixtureTrackFewVisits; -use Piwik\Tests\SystemTestCase; +use Piwik\Tests\Impl\SystemTestCase; /** * @group ExamplePlugin |