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:
Diffstat (limited to 'tests/PHPUnit/Core/DataTableTest.php')
-rw-r--r--tests/PHPUnit/Core/DataTableTest.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/PHPUnit/Core/DataTableTest.php b/tests/PHPUnit/Core/DataTableTest.php
index 656df66a90..afb3e168fe 100644
--- a/tests/PHPUnit/Core/DataTableTest.php
+++ b/tests/PHPUnit/Core/DataTableTest.php
@@ -203,7 +203,6 @@ class DataTableTest extends PHPUnit_Framework_TestCase
);
$table->addRowsFromArray($rows);
-
$this->assertEquals(count($rows), $table->getRowsCount());
$countAllRows = count($rows) + count($rows1) + count($rows2) + count($rows1sub);
$this->assertEquals($countAllRows, $table->getRowsCountRecursive());
@@ -280,7 +279,6 @@ class DataTableTest extends PHPUnit_Framework_TestCase
$rowWanted = new Row(array(Row::COLUMNS => $columnsWanted, Row::METADATA => $metadata));
$this->assertTrue(Row::isEqual($rowWanted, $finalRow));
-
// testing that, 'sumRow' does not result in extra unwanted attributes being serialized
$expectedRow = 'O:19:"Piwik\DataTable\Row":1:{s:1:"c";a:3:{i:0;a:8:{s:8:"test_int";i:150;s:10:"test_float";d:150;s:11:"test_float2";d:14.5;s:14:"test_stringint";i:150;i:0;s:4:"toto";s:17:"integerArrayToSum";a:3:{i:1;i:6;i:2;d:15.5;i:3;a:2:{i:2;i:7;i:1;i:2;}}s:11:"test_float3";d:1.5;s:4:"test";s:11:"string fake";}i:1;a:2:{s:4:"logo";s:9:"piwik.png";s:5:"super";a:1:{i:0;s:39:"this column has an array value, amazing";}}i:3;N;}}';
$this->assertEquals($expectedRow, serialize($finalRow));
@@ -348,7 +346,6 @@ class DataTableTest extends PHPUnit_Framework_TestCase
$table->getSerialized();
}
-
/**
* Test queing filters
*
@@ -459,7 +456,6 @@ class DataTableTest extends PHPUnit_Framework_TestCase
* SUB TABLE
*/
-
$row = array(Row::COLUMNS => array(0 => 1554,),
Row::METADATA => array('searchengine' => 'google'),
);
@@ -474,7 +470,6 @@ class DataTableTest extends PHPUnit_Framework_TestCase
);
$subtable->addRowFromArray($row);
-
/*
* SUB SUB TABLE
*/
@@ -541,7 +536,6 @@ class DataTableTest extends PHPUnit_Framework_TestCase
* - when a subtable
*/
-
/**
* add an empty datatable to a normal datatable
*
@@ -728,7 +722,6 @@ class DataTableTest extends PHPUnit_Framework_TestCase
$this->assertTrue(DataTable::isEqual($table, $tableExpected));
}
-
/**
* @group Core
*/
@@ -787,7 +780,6 @@ class DataTableTest extends PHPUnit_Framework_TestCase
$table2->getFirstRow()->addSubtable($table1);
$idSubtable = $table1->getId();
-
/* Check it looks good:
$renderer = DataTable\Renderer::factory('xml');
$renderer->setTable($table2);