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:
-rw-r--r--plugins/DevicesDetection/images/brand/Orange.icobin1145 -> 1406 bytes
-rw-r--r--plugins/DevicesDetection/images/brand/Pantech.icobin3201 -> 1406 bytes
-rw-r--r--plugins/DevicesDetection/images/brand/Vertu.icobin2946 -> 1518 bytes
-rw-r--r--plugins/DevicesDetection/images/brand/Zonda.icobin295 -> 1406 bytes
-rw-r--r--plugins/DevicesDetection/images/brand/unknown.icobin1150 -> 1150 bytes
-rw-r--r--tests/PHPUnit/Core/ReleaseCheckListTest.php19
6 files changed, 19 insertions, 0 deletions
diff --git a/plugins/DevicesDetection/images/brand/Orange.ico b/plugins/DevicesDetection/images/brand/Orange.ico
index 55437dda38..aeba6d616e 100644
--- a/plugins/DevicesDetection/images/brand/Orange.ico
+++ b/plugins/DevicesDetection/images/brand/Orange.ico
Binary files differ
diff --git a/plugins/DevicesDetection/images/brand/Pantech.ico b/plugins/DevicesDetection/images/brand/Pantech.ico
index 6fc39d30cb..ebdda16744 100644
--- a/plugins/DevicesDetection/images/brand/Pantech.ico
+++ b/plugins/DevicesDetection/images/brand/Pantech.ico
Binary files differ
diff --git a/plugins/DevicesDetection/images/brand/Vertu.ico b/plugins/DevicesDetection/images/brand/Vertu.ico
index 48ff28926b..7d8abdb82c 100644
--- a/plugins/DevicesDetection/images/brand/Vertu.ico
+++ b/plugins/DevicesDetection/images/brand/Vertu.ico
Binary files differ
diff --git a/plugins/DevicesDetection/images/brand/Zonda.ico b/plugins/DevicesDetection/images/brand/Zonda.ico
index eede4f8baa..c9bcd6f0c6 100644
--- a/plugins/DevicesDetection/images/brand/Zonda.ico
+++ b/plugins/DevicesDetection/images/brand/Zonda.ico
Binary files differ
diff --git a/plugins/DevicesDetection/images/brand/unknown.ico b/plugins/DevicesDetection/images/brand/unknown.ico
index 62a489e293..1e9b327a91 100644
--- a/plugins/DevicesDetection/images/brand/unknown.ico
+++ b/plugins/DevicesDetection/images/brand/unknown.ico
Binary files differ
diff --git a/tests/PHPUnit/Core/ReleaseCheckListTest.php b/tests/PHPUnit/Core/ReleaseCheckListTest.php
index bd216dade2..abc6277fef 100644
--- a/tests/PHPUnit/Core/ReleaseCheckListTest.php
+++ b/tests/PHPUnit/Core/ReleaseCheckListTest.php
@@ -17,6 +17,25 @@ class ReleaseCheckListTest extends PHPUnit_Framework_TestCase
parent::setUp();
}
+ public function test_icoFilesIconsShouldBeInPngFormat()
+ {
+ $files = Filesystem::globr(PIWIK_INCLUDE_PATH . '/plugins', '*.ico');
+ $errors = array();
+ foreach ($files as $file) {
+ if(false !== @imagecreatefrompng($file)) {
+ $errors[] = $file;
+ }
+ }
+ if(!empty($errors)) {
+ $msg ='';
+ foreach($errors as $file) {
+ $msg .= " convert png:$file $file \n";
+ }
+ $this->fail("imagecreatefrompng failed for following icons (--> Convert them to valid PNG .ico files with following command: \n\n" . $msg);
+ }
+
+ }
+
/**
* @group Core
*/