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:
authorStefan Giehl <stefan@piwik.org>2018-03-30 23:56:02 +0300
committerGitHub <noreply@github.com>2018-03-30 23:56:02 +0300
commitda1fec50e51071c775278ac2b9c2eb5db7a20f2f (patch)
tree704e7d0ebe0477fe02c3ac9057e8bb67f27b079b /plugins/Diagnostics
parent119e62cd5cc076396dd83736e402d4f470acadd8 (diff)
Moves various UI tests to their plugins (#12649)
* move Overlay UI tests to Overlay plugin * remove UI files that has been moved * move Login UI tests to Login plugin * check for element instead of comparing screenshots * Move Installation UI tests to it's plugin * Move UI tests for Marketplace to Marketplace plugin * Updates Sync Screenshots command to download test files to correct directories * ensure shortcut help is always tested with same useragent * Move VisitorMap UI tests to UserCountryMap plugin * Move Morpheus UI tests to plugin * Move MultiSites UI tests zu plugin * Move ActionsDataTable UI tests to Actions plugin * Renames Test directories to tests * Move UsersManager UI tests to plugin * Move CoreUpdater UI tests to plugin * Move DBStats UI tests to plugin * Move Transitions UI tests to plugin * Move Insights UI tests to plugin * improve UI tests splitting on travis * Moves SegmentEditor UI tests to plugin * Moves SitesManager UI tests to plugin * Moves ImageGraph UI tests to plugin * move live ui test files to git lfs * remove retry * update test file * improve splitting for travis * prevent test from failing randomly
Diffstat (limited to 'plugins/Diagnostics')
-rw-r--r--plugins/Diagnostics/tests/Integration/Commands/AnalyzeArchiveTableTest.php (renamed from plugins/Diagnostics/Test/Integration/Commands/AnalyzeArchiveTableTest.php)2
-rw-r--r--plugins/Diagnostics/tests/Integration/ConfigReaderTest.php (renamed from plugins/Diagnostics/Test/Integration/ConfigReaderTest.php)3
-rw-r--r--plugins/Diagnostics/tests/Mock/DiagnosticWithError.php (renamed from plugins/Diagnostics/Test/Mock/DiagnosticWithError.php)2
-rw-r--r--plugins/Diagnostics/tests/Mock/DiagnosticWithSuccess.php (renamed from plugins/Diagnostics/Test/Mock/DiagnosticWithSuccess.php)2
-rw-r--r--plugins/Diagnostics/tests/Mock/DiagnosticWithWarning.php (renamed from plugins/Diagnostics/Test/Mock/DiagnosticWithWarning.php)2
-rw-r--r--plugins/Diagnostics/tests/Unit/Diagnostic/DiagnosticResultTest.php (renamed from plugins/Diagnostics/Test/Unit/Diagnostic/DiagnosticResultTest.php)2
-rw-r--r--plugins/Diagnostics/tests/Unit/DiagnosticReportTest.php (renamed from plugins/Diagnostics/Test/Unit/DiagnosticReportTest.php)2
-rw-r--r--plugins/Diagnostics/tests/Unit/DiagnosticServiceTest.php (renamed from plugins/Diagnostics/Test/Unit/DiagnosticServiceTest.php)8
8 files changed, 11 insertions, 12 deletions
diff --git a/plugins/Diagnostics/Test/Integration/Commands/AnalyzeArchiveTableTest.php b/plugins/Diagnostics/tests/Integration/Commands/AnalyzeArchiveTableTest.php
index 6202bd22af..383c9e80d7 100644
--- a/plugins/Diagnostics/Test/Integration/Commands/AnalyzeArchiveTableTest.php
+++ b/plugins/Diagnostics/tests/Integration/Commands/AnalyzeArchiveTableTest.php
@@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Diagnostics\Test\Integration\Commands;
+namespace Piwik\Plugins\Diagnostics\tests\Integration\Commands;
use Piwik\Tests\Fixtures\OneVisitorTwoVisits;
use Piwik\Tests\Framework\TestCase\ConsoleCommandTestCase;
diff --git a/plugins/Diagnostics/Test/Integration/ConfigReaderTest.php b/plugins/Diagnostics/tests/Integration/ConfigReaderTest.php
index 6634c4a38a..30f4e58b38 100644
--- a/plugins/Diagnostics/Test/Integration/ConfigReaderTest.php
+++ b/plugins/Diagnostics/tests/Integration/ConfigReaderTest.php
@@ -6,11 +6,10 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Diagnostics\Test\Integration\Commands;
+namespace Piwik\Plugins\Diagnostics\tests\Integration\Commands;
use Piwik\Application\Kernel\GlobalSettingsProvider;
use Piwik\Ini\IniReader;
-use Piwik\Piwik;
use Piwik\Plugins\Diagnostics\ConfigReader;
use Piwik\Plugins\ExampleSettingsPlugin\SystemSettings;
use Piwik\Settings\FieldConfig;
diff --git a/plugins/Diagnostics/Test/Mock/DiagnosticWithError.php b/plugins/Diagnostics/tests/Mock/DiagnosticWithError.php
index bc7d6db966..c5cc8e7b72 100644
--- a/plugins/Diagnostics/Test/Mock/DiagnosticWithError.php
+++ b/plugins/Diagnostics/tests/Mock/DiagnosticWithError.php
@@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Diagnostics\Test\Mock;
+namespace Piwik\Plugins\Diagnostics\tests\Mock;
use Piwik\Plugins\Diagnostics\Diagnostic\Diagnostic;
use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResult;
diff --git a/plugins/Diagnostics/Test/Mock/DiagnosticWithSuccess.php b/plugins/Diagnostics/tests/Mock/DiagnosticWithSuccess.php
index ad01d95710..bc17f407ae 100644
--- a/plugins/Diagnostics/Test/Mock/DiagnosticWithSuccess.php
+++ b/plugins/Diagnostics/tests/Mock/DiagnosticWithSuccess.php
@@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Diagnostics\Test\Mock;
+namespace Piwik\Plugins\Diagnostics\tests\Mock;
use Piwik\Plugins\Diagnostics\Diagnostic\Diagnostic;
use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResult;
diff --git a/plugins/Diagnostics/Test/Mock/DiagnosticWithWarning.php b/plugins/Diagnostics/tests/Mock/DiagnosticWithWarning.php
index a7e8915005..0234c05ea4 100644
--- a/plugins/Diagnostics/Test/Mock/DiagnosticWithWarning.php
+++ b/plugins/Diagnostics/tests/Mock/DiagnosticWithWarning.php
@@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Diagnostics\Test\Mock;
+namespace Piwik\Plugins\Diagnostics\tests\Mock;
use Piwik\Plugins\Diagnostics\Diagnostic\Diagnostic;
use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResult;
diff --git a/plugins/Diagnostics/Test/Unit/Diagnostic/DiagnosticResultTest.php b/plugins/Diagnostics/tests/Unit/Diagnostic/DiagnosticResultTest.php
index efddeb74f2..3e3178417b 100644
--- a/plugins/Diagnostics/Test/Unit/Diagnostic/DiagnosticResultTest.php
+++ b/plugins/Diagnostics/tests/Unit/Diagnostic/DiagnosticResultTest.php
@@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Diagnostics\Test\Unit\Diagnostic;
+namespace Piwik\Plugins\Diagnostics\tests\Unit\Diagnostic;
use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResult;
use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResultItem;
diff --git a/plugins/Diagnostics/Test/Unit/DiagnosticReportTest.php b/plugins/Diagnostics/tests/Unit/DiagnosticReportTest.php
index bdd673b3c0..2d89d792bb 100644
--- a/plugins/Diagnostics/Test/Unit/DiagnosticReportTest.php
+++ b/plugins/Diagnostics/tests/Unit/DiagnosticReportTest.php
@@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Diagnostics\Test\Unit;
+namespace Piwik\Plugins\Diagnostics\tests\Unit;
use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResult;
use Piwik\Plugins\Diagnostics\DiagnosticReport;
diff --git a/plugins/Diagnostics/Test/Unit/DiagnosticServiceTest.php b/plugins/Diagnostics/tests/Unit/DiagnosticServiceTest.php
index cfe11dcc8d..4faf8062e2 100644
--- a/plugins/Diagnostics/Test/Unit/DiagnosticServiceTest.php
+++ b/plugins/Diagnostics/tests/Unit/DiagnosticServiceTest.php
@@ -6,13 +6,13 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Diagnostics\Test\Unit;
+namespace Piwik\Plugins\Diagnostics\tests\Unit;
use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResult;
use Piwik\Plugins\Diagnostics\DiagnosticService;
-use Piwik\Plugins\Diagnostics\Test\Mock\DiagnosticWithError;
-use Piwik\Plugins\Diagnostics\Test\Mock\DiagnosticWithSuccess;
-use Piwik\Plugins\Diagnostics\Test\Mock\DiagnosticWithWarning;
+use Piwik\Plugins\Diagnostics\tests\Mock\DiagnosticWithError;
+use Piwik\Plugins\Diagnostics\tests\Mock\DiagnosticWithSuccess;
+use Piwik\Plugins\Diagnostics\tests\Mock\DiagnosticWithWarning;
class DiagnosticServiceTest extends \PHPUnit_Framework_TestCase
{