Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-10-06 09:25:22 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-10-06 09:25:22 +0400
commit3e134db7cf87e28b37037b650b3378fe9deeb475 (patch)
tree67b162d07cd414aec78cd528796da14ff810647a /plugins/ExamplePlugin
parent8aaa1aba44e541ca260de505a3e98996b98c9f37 (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')
-rw-r--r--plugins/ExamplePlugin/tests/Fixtures/SimpleFixtureTrackFewVisits.php2
-rw-r--r--plugins/ExamplePlugin/tests/Integration/SimpleTest.php4
-rw-r--r--plugins/ExamplePlugin/tests/System/SimpleSystemTest.php2
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