diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getNumberOfDistinctCountries_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getNumberOfDistinctCountries_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getNumberOfDistinctCountries_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getNumberOfDistinctCountries_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getNumberOfDistinctCountries_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getNumberOfDistinctCountries_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getRegion_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getRegion_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getRegion_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getRegion_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getRegion_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserCountry.getRegion_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserId.getUsers_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserId.getUsers_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserId.getUsers_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserId.getUsers_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserId.getUsers_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserId.getUsers_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguageCode_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguageCode_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguageCode_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguageCode_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguageCode_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguageCode_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguage_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguage_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguage_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguage_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguage_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__UserLanguage.getLanguage_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitFrequency.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitFrequency.get_day.xml
deleted file mode 100644
index 2cc0e6ed4e24b399449c2eb1bff03b72d004d08e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitFrequency.get_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitFrequency.get_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitFrequency.get_week.xml
deleted file mode 100644
index e0d8bf88a01d4768beaf7a5aaee5b7fcb74f878b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitFrequency.get_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getByDayOfWeek_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getByDayOfWeek_day.xml
deleted file mode 100644
index 547baf7416a18c8ab1be969cf97d909e1330016e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getByDayOfWeek_day.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getByDayOfWeek_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getByDayOfWeek_week.xml
deleted file mode 100644
index 547baf7416a18c8ab1be969cf97d909e1330016e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getByDayOfWeek_week.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerLocalTime_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerLocalTime_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerLocalTime_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerLocalTime_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerLocalTime_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerLocalTime_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerServerTime_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerServerTime_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerServerTime_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerServerTime_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerServerTime_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitTime.getVisitInformationPerServerTime_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByDaysSinceLast_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByDaysSinceLast_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByDaysSinceLast_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByVisitCount_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByVisitCount_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsByVisitCount_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerPage_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerPage_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerPage_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerPage_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerPage_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerPage_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerVisitDuration_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerVisitDuration_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitorInterest.getNumberOfVisitsPerVisitDuration_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getActions_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getActions_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getActions_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getActions_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getActions_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getActions_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getBounceCount_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getBounceCount_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getBounceCount_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getBounceCount_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getBounceCount_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getBounceCount_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getMaxActions_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getMaxActions_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getMaxActions_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getMaxActions_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getMaxActions_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getMaxActions_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLengthPretty_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLengthPretty_day.xml
deleted file mode 100644
index c908c9a75de925061fd59c6a5dde6d4d81c4e63b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLengthPretty_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 0s
- 0s
- 0s
- 0s
- 0s
- 0s
- 0s
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLengthPretty_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLengthPretty_week.xml
deleted file mode 100644
index fb10fa8906162e015342d6c84f1852f975ff1c75..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLengthPretty_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 0s
- 0s
- 0s
- 0s
- 0s
- 0s
- 0s
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLength_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLength_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLength_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLength_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLength_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getSumVisitsLength_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUniqueVisitors_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUniqueVisitors_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUniqueVisitors_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUniqueVisitors_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUniqueVisitors_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUniqueVisitors_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUsers_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUsers_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUsers_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUsers_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUsers_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getUsers_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisitsConverted_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisitsConverted_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisitsConverted_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisitsConverted_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisitsConverted_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisitsConverted_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisits_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisits_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisits_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisits_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisits_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.getVisits_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.get_day.xml
deleted file mode 100644
index 106f23f16bb7dddc98ac7def1dd2c59d64a48127..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.get_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.get_week.xml b/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.get_week.xml
deleted file mode 100644
index 867400a47a1a5311ed181e6c0c06887a03136311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit_PeriodIsLast__VisitsSummary.get_week.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__AIAgents.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit__AIAgents.get_day.xml
deleted file mode 100644
index 15baec940b28b15706aa13fb6ca9e4e681e16311..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__AIAgents.get_day.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0%
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0%
- 0
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getDownload_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getDownload_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getDownload_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getDownloads_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getDownloads_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getDownloads_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getEntryPageTitles_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getEntryPageTitles_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getEntryPageTitles_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getEntryPageUrls_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getEntryPageUrls_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getEntryPageUrls_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getExitPageTitles_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getExitPageTitles_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getExitPageTitles_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getExitPageUrls_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getExitPageUrls_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getExitPageUrls_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getOutlink_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getOutlink_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getOutlink_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getOutlinks_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getOutlinks_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getOutlinks_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitle_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitle_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitle_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitlesFollowingSiteSearch_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitlesFollowingSiteSearch_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitlesFollowingSiteSearch_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitles_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrl_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrl_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrl_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrlsFollowingSiteSearch_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrlsFollowingSiteSearch_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrlsFollowingSiteSearch_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrls_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrls_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getPageUrls_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchCategories_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchCategories_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchCategories_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchKeywords_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchKeywords_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchKeywords_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchNoResultKeywords_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchNoResultKeywords_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.getSiteSearchNoResultKeywords_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Actions.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Actions.get_day.xml
deleted file mode 100644
index 69e448e490f4c2d23d1dfca9d896138ab39863e3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Actions.get_day.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Bandwidth.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Bandwidth.get_day.xml
deleted file mode 100644
index e250ef2286b033f75e7672cf12e29daf43b8d638..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Bandwidth.get_day.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- 0
- 0
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Contents.getContentNames_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Contents.getContentNames_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Contents.getContentNames_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Contents.getContentPieces_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Contents.getContentPieces_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Contents.getContentPieces_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CoreAdminHome.getTrackingFailures.xml b/tests/PHPUnit/System/expected/test_noVisit__CoreAdminHome.getTrackingFailures.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CoreAdminHome.getTrackingFailures.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getNumberOfPluginUpdates.xml b/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getNumberOfPluginUpdates.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getNumberOfPluginUpdates.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getSystemSettings.xml b/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getSystemSettings.xml
deleted file mode 100644
index f15c78e785eefd0830ff08a31ddd0a038ef296e6..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getSystemSettings.xml
+++ /dev/null
@@ -1,889 +0,0 @@
-
-
-
- CoreAdminHome
-
-
-
- trusted_hosts
-
-
-
-
-
- array
- field-array
-
-
- Valid Matomo Hostname
- text
-
-
-
-
-
-
-
-
- Trusted Matomo Hostname
-
-
-
- cors_domains
-
-
-
-
-
- array
- field-array
-
-
- Domain
- text
-
-
-
-
-
-
- You can define domains or subdomains like http://example.com or http://stats.example.com. Or to allow cross domain requests for all domains simply add a *
-
- Cross-Origin Resource Sharing (CORS) domains
-
-
-
-
-
- GeoIp2
- Configuration for server variables used by GeoIP 2 server modules
-
-
- geoip2usecustom
- I use the Geoip2 server module (Nginx, Apache...) and want to configure server variables
- 0
- 0
- boolean
- checkbox
-
-
-
-
-
-
-
-
-
-
- geoip2var_continent_code
- Server variable for <strong>continent code</strong>
- MM_CONTINENT_CODE
- MM_CONTINENT_CODE
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_continent_name
- Server variable for <strong>continent name</strong>
- MM_CONTINENT_NAME
- MM_CONTINENT_NAME
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_country_code
- Server variable for <strong>country code</strong>
- MM_COUNTRY_CODE
- MM_COUNTRY_CODE
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_country_name
- Server variable for <strong>country name</strong>
- MM_COUNTRY_NAME
- MM_COUNTRY_NAME
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_region_code
- Server variable for <strong>region code</strong>
- MM_REGION_CODE
- MM_REGION_CODE
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_region_name
- Server variable for <strong>region name</strong>
- MM_REGION_NAME
- MM_REGION_NAME
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_lat
- Server variable for <strong>lat</strong>
- MM_LATITUDE
- MM_LATITUDE
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_long
- Server variable for <strong>long</strong>
- MM_LONGITUDE
- MM_LONGITUDE
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_postal_code
- Server variable for <strong>postal code</strong>
- MM_POSTAL_CODE
- MM_POSTAL_CODE
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_city_name
- Server variable for <strong>city name</strong>
- MM_CITY_NAME
- MM_CITY_NAME
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_isp
- Server variable for <strong>isp</strong>
- MM_ISP
- MM_ISP
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
- geoip2var_org
- Server variable for <strong>org</strong>
- MM_ORG
- MM_ORG
- string
- text
-
-
-
-
-
-
-
- geoip2usecustom==1
-
-
-
-
- TwoFactorAuth
- TwoFactorAuth
-
-
- twoFactorAuthRequired
- Require two-factor authentication for everyone
- 0
- 0
- boolean
- checkbox
-
-
-
- When enabled, every user has to enable two factor authentication.
-
-
-
-
-
-
- twoFactorAuthName
- Two-factor authentication title
- Analytics - localhost
- Analytics - localhost
- string
- text
-
-
-
- The name of the title to display that will be displayed in the Authenticator app.
-
-
-
-
-
-
-
-
- CoreUpdater
- Update settings
-
-
- release_channel
-
- latest_stable
- latest_stable
- string
- radio
-
-
-
- Latest stable release (Recommended)
- Latest beta release
- Latest stable 3.X (Long Term Support version)
- Latest beta 3.X (Long Term Support version)
-
-
- While our development process includes thousands of automated tests, Beta Testers play a key role in achieving the "No bug policy" in Matomo.<br/>If Matomo is a critical part of your business, we recommend you use the latest stable release. If you use the latest beta and you find a bug or have a suggestion, please <a target='_blank' rel='noreferrer noopener' href='https://developer.matomo.org/guides/core-team-workflow#influencing-piwik-development'>see here</a>.<br />LTS (Long Term Support) versions receive only security and bug fixes.
-
- Release channel
-
-
-
- enable_plugin_update_communication
-
- 1
- 1
- boolean
- radio
-
-
-
- Yes (Default)
- No
-
-
- An email will be sent to Super Users when there is a new version available for a plugin.
-
- Send an email when a plugin update is available
-
-
-
-
-
- PrivacyManager
- PrivacyManager
-
-
- imprintUrl
- Imprint URL
-
-
- string
- text
-
-
-
- A link to your Imprint page. If you set this, it will be displayed at the bottom of the login page and on pages that the 'anonymous' user can access.
-
-
-
-
-
-
- privacyPolicyUrl
- Privacy Policy URL
-
-
- string
- text
-
-
-
- A link to your Privacy Policy page. If you set this, it will be displayed at the bottom of the login page and on pages that the 'anonymous' user can access.
-
-
-
-
-
-
- termsAndConditionUrl
- Terms & Conditions URL
-
-
- string
- text
-
-
-
- A link to your Terms & Conditions page. If you set this, it will be displayed at the bottom of the login page and on pages that the 'anonymous' user can access.
-
-
-
-
-
-
- showInEmbeddedWidgets
- Show in embedded widgets
- 0
- 0
- boolean
- checkbox
-
-
-
- If checked, a link to your Privacy Policy and your Terms & Conditions will be displayed at the bottom of embedded widgets.
-
-
-
-
-
-
-
-
- ExampleSettingsPlugin
- ExampleSettingsPlugin
-
-
- metric
- Metric to display
- nb_visits
- nb_visits
- string
- select
-
-
-
- Visits
- Actions
- Visitors
-
- Choose the metric that should be displayed in the browser tab
-
-
-
-
-
-
- browsers
- Supported Browsers
-
- firefox
- chromium
- safari
-
-
- firefox
- chromium
- safari
-
- array
- multiselect
-
-
-
- Firefox
- Chromium
- safari
-
- The value will be only displayed in the following browsers
-
-
-
-
-
-
- description
- Description for value
- This is the value:
-Another line
- This is the value:
-Another line
- string
- textarea
-
-
-
- This description will be displayed next to the value
-
-
-
-
-
-
- password
- API password
-
-
- string
- password
-
-
-
- Password for the 3rd API where we fetch the value
-
-
-
-
-
-
-
-
- AnonymousPiwikUsageMeasurement
- AnonymousPiwikUsageMeasurement
-
-
- canUserOptOut
- Let users disable anonymous tracking
- 1
- 1
- boolean
- checkbox
-
-
-
- If enabled, logged in users can opt out in their plugin settings. Anonymous users cannot opt out.
-
-
-
-
-
-
- trackToPiwik
- Send usage data to Matomo.org
- 0
- 1
- boolean
- checkbox
-
-
-
- If enabled, anonymized usage data will be sent to demo-anonymous.matomo.org and the tracked data can be viewed there (the data is public). The collected data is used to improve Matomo. Thank you for making Matomo better!
-
-
- Send anonmyized usage data to the creators of Matomo
-
-
-
- ownPiwikSiteId
- Site Id
- 0
- 0
- integer
- text
-
-
-
- If specified, anonymized usage data will be sent to the specified site in this Matomo. This lets you analyze how you and your colleagues are using Matomo.
-
-
- Send usage data to this Matomo
-
-
-
- anonymizeSelfPiwik
- Anonymize tracking requests
- 1
- 1
- boolean
- checkbox
-
-
-
-
-
-
-
-
-
-
- customSiteUrl
- Matomo Url
-
-
- string
- text
-
- eg. http://example.com/matomo
-
-
-
-
-
- Send usage data to a custom Matomo
-
-
-
- customSiteId
- Site Id
- 0
- 0
- integer
- text
-
- eg. "2"
-
-
- If a URL and Site Id is specified, usage data will be sent to the custom Matomo instance.
-
-
-
-
-
-
- anonymizeCustomPiwik
- Anonymize tracking requests
- 1
- 1
- boolean
- checkbox
-
-
-
-
-
-
-
-
-
-
-
-
- QueuedTracking
- QueuedTracking
-
-
- backend
- Backend
- redis
- redis
- string
- select
-
-
-
- Redis
- MySQL
-
-
- Select the backend you want to use for this feature. If you do not have any experience with Redis or it is not available on your server, we recommend to use Mysql.
-
-
-
-
-
- useSentinelBackend
- Enable Redis Sentinel
- 0
- 0
- boolean
- checkbox
-
- 3
-
-
-
- If enabled, the Redis Sentinel feature will be used. Make sure to update host and port if needed. Once you have enabled and saved the change, you will be able to specify multiple hosts and ports comma separated.
-
-
- backend=="redis"
-
-
- sentinelMasterName
- Redis Sentinel Master name
- mymaster
- mymaster
- string
- text
-
- 200
-
-
-
- The sentinel master name only needs to be configured if Sentinel is enabled.
-
-
- backend=="redis"
-
-
- redisHost
- Redis host or unix socket
- 127.0.0.1
- 127.0.0.1
- string
- text
-
- 500
-
-
-
- Remote host or unix socket of the Redis server. Max 500 characters are allowed.
-
-
- backend=="redis"
-
-
- redisPort
- Redis port
- 6379
- 6379
- string
- text
-
- 100
-
-
-
- Port the Redis server is running on. Value should be between 1 and 65535. Use 0 if you are using unix socket to connect to Redis server.
-
-
- backend=="redis"
-
-
- redisDatabase
- Redis database
- 15
- 0
- integer
- text
-
- 5
-
-
-
- In case you are using Redis for caching make sure to use a different database.
-
-
- backend=="redis"
-
-
- redisPassword
- Redis password
-
-
- string
- password
-
- 100
-
-
-
- Password set on the Redis server, if any. Redis can be instructed to require a password before allowing clients to execute commands.
-
-
- backend=="redis"
-
-
- queueEnabled
- Queue enabled
- 0
- 0
- boolean
- checkbox
-
-
-
-
- If enabled, all tracking requests will be written into a queue instead of the directly into the database. Requires a Redis server and phpredis PHP extension.
-
-
-
-
-
- numQueueWorkers
- Number of queue workers
- 4
- 1
- integer
- text
-
- 5
-
-
-
- Number of allowed maximum queue workers. Accepts a number between 1 and 16. Best practice is to set the number of CPUs you want to make available for queue processing. Be aware you need to make sure to start the workers manually. We recommend to not use 9-15 workers, rather use 8 or 16 as the queue might not be distributed evenly into different queues. DO NOT USE more than 1 worker if you make use the UserId feature when tracking see https://github.com/piwik/piwik/issues/7691
-
-
-
-
-
- numRequestsToProcess
- Number of requests that are processed in one batch
- 25
- 25
- integer
- text
-
- 3
-
-
-
- Defines how many requests will be picked out of the queue and processed at once. Enter a number which is >= 1.
-
-
-
-
-
- processDuringTrackingRequest
- Process during tracking request
- 1
- 1
- boolean
- checkbox
-
-
-
-
- If enabled, we will process all requests within a queue during a normal tracking request once there are enough requests in the queue. This will not slow down the tracking request. If disabled, you have to setup a cronjob that executes the "./console queuedtracking:process" console command eg every minute to process the queue.
-
-
-
-
-
-
-
- TagManager
- TagManager
-
-
- restrictCustomTemplates
- Restrict usage of custom templates
- admin
- admin
- string
- select
-
-
-
- Disabled, nobody can use them
- Users with at last admin permission can use them
- Only Super Users can use them
-
- This setting defines who can use custom templates or whether they should be completely disabled. Changing this setting can improve the security on your website. When you configure a trigger, tag, or a variable, some of them may allow a Matomo user to enter HTML or JavaScript which will be executed on your website. Entering custom code cannot only break the container in case there is an error, but also allows them to execute any JavaScript code on your website. This can be misused to steal for example sensitive information on your website. If you do not want to allow your team members to enter any JavaScript code, you may want to disable this setting.
-
-
-
-
-
-
- environments
- Environments
-
-
- dev
-
-
- staging
-
-
-
-
- dev
-
-
- staging
-
-
- array
- multituple
-
-
- environment
- Environment
- text
-
-
-
-
-
- Define one or multiple additional environments. Please note that if you remove any environment, generated container files that exist for a specific environment will be removed and will be no longer available.
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getUserSettings.xml b/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getUserSettings.xml
deleted file mode 100644
index 9307a2c743c5f4407a3631535190395edae8458e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CorePluginsAdmin.getUserSettings.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
- ExampleSettingsPlugin
- ExampleSettingsPlugin
-
-
- autoRefresh
- Auto refresh
- 0
- 0
- boolean
- checkbox
-
-
-
- If enabled, the value will be automatically refreshed depending on the specified interval
-
-
-
- 0
-
-
- refreshInterval
- Refresh Interval
- 30
- 30
- integer
- text
-
- 3
-
-
- Defines how often the value should be updated
- Enter a number which is >= 15
-
-
- 0
-
-
- color
- Color
- red
- red
- string
- radio
-
-
-
- Red
- Blue
- Green
-
- Pick your favourite color
-
-
-
- 0
-
-
-
-
- AnonymousPiwikUsageMeasurement
- AnonymousPiwikUsageMeasurement
-
-
- userTrackingEnabled
- Matomo usage tracking enabled
- 1
- 1
- boolean
- checkbox
-
-
-
- If enabled, anonymous usage data will be tracked. For example which pages are viewed and which reports are used most often. For more information contact your system administrator.
-
-
-
- 0
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getAvailableExtractionDimensions.xml b/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getAvailableExtractionDimensions.xml
deleted file mode 100644
index 7a397597a0aacfd97d7cf23e0878b632d2c9a36b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getAvailableExtractionDimensions.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- url
- Page URL
-
-
- urlparam
- Page URL Parameter
-
-
- action_name
- Page Title
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getAvailableScopes.xml b/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getAvailableScopes.xml
deleted file mode 100644
index 149cf8b31c946ff2733882ccf47b8e409437df9d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getAvailableScopes.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- visit
- Visit
- 5
- 0
- 5
- 0
-
-
- action
- Action
- 5
- 0
- 5
- 1
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getConfiguredCustomDimensions.xml b/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getConfiguredCustomDimensions.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CustomDimensions.getConfiguredCustomDimensions.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CustomVariables.getCustomVariables_day.xml b/tests/PHPUnit/System/expected/test_noVisit__CustomVariables.getCustomVariables_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CustomVariables.getCustomVariables_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__CustomVariables.getUsagesOfSlots.xml b/tests/PHPUnit/System/expected/test_noVisit__CustomVariables.getUsagesOfSlots.xml
deleted file mode 100644
index 81163427e5931b802fd0011c70cc3706ce2dd5b9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__CustomVariables.getUsagesOfSlots.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
- visit
- 1
-
-
-
-
- visit
- 2
-
-
-
-
- visit
- 3
-
-
-
-
- visit
- 4
-
-
-
-
- visit
- 5
-
-
-
-
- page
- 1
-
-
-
-
- page
- 2
-
-
-
-
- page
- 3
-
-
-
-
- page
- 4
-
-
-
-
- page
- 5
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicePlugins.getPlugin_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicePlugins.getPlugin_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicePlugins.getPlugin_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrand_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrand_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrand_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserEngines_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserEngines_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserEngines_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserFamilies_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserFamilies_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserFamilies_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserVersions_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserVersions_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowserVersions_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowsers_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowsers_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getBrowsers_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getModel_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getModel_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getModel_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getOsFamilies_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getOsFamilies_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getOsFamilies_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getOsVersions_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getOsVersions_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getOsVersions_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getType_day.xml b/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getType_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__DevicesDetection.getType_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Events.getAction_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Events.getAction_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Events.getAction_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Events.getCategory_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Events.getCategory_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Events.getCategory_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Events.getName_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Events.getName_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Events.getName_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getAnswerToLife.xml b/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getAnswerToLife.xml
deleted file mode 100644
index 36a787c47a4e180ca01d5fd662a31483ef5e93b6..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getAnswerToLife.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-42
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getExampleArchivedMetric_day.xml b/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getExampleArchivedMetric_day.xml
deleted file mode 100644
index c82a27e7636815b364e2f60acd452b5b1d580d52..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getExampleArchivedMetric_day.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- 0
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getExampleReport_day.xml b/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getExampleReport_day.xml
deleted file mode 100644
index 49765ba76ca9854461e3bd480d86415a71f8e816..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__ExamplePlugin.getExampleReport_day.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
- 1
-
-
-
- 5
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Goals.getDaysToConversion_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Goals.getDaysToConversion_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Goals.getDaysToConversion_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Goals.getGoals.xml b/tests/PHPUnit/System/expected/test_noVisit__Goals.getGoals.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Goals.getGoals.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsCategory_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsCategory_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsCategory_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsName_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsName_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsName_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsSku_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsSku_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Goals.getItemsSku_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Goals.getMetrics_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Goals.getMetrics_day.xml
deleted file mode 100644
index 2cb7df5a9ebb487bf6f925832c407ac95331e313..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Goals.getMetrics_day.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- 0
- 0
- 0
- 0%
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Goals.getVisitsUntilConversion_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Goals.getVisitsUntilConversion_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Goals.getVisitsUntilConversion_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Goals.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Goals.get_day.xml
deleted file mode 100644
index 36db013c1a9aafbc3ed08f31d7f0fd697f02a236..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Goals.get_day.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- 0
- 0
- 0
- 0%
- 0
- 0
- 0
- 0%
- 0
- 0
- 0
- 0%
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__JsTrackerInstallCheck.getJsTrackerInstallTestResult.xml b/tests/PHPUnit/System/expected/test_noVisit__JsTrackerInstallCheck.getJsTrackerInstallTestResult.xml
deleted file mode 100644
index a2bc4a557652f1354900c9f43a218b3a0364db8e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__JsTrackerInstallCheck.getJsTrackerInstallTestResult.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getAllWithGroups_day.xml b/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getAllWithGroups_day.xml
deleted file mode 100644
index cea36a9e696713299b9919af86c3f9289bb58d3e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getAllWithGroups_day.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- 1
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
- 2009-01-03
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getAll_day.xml b/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getAll_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getAll_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getOne_day.xml b/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getOne_day.xml
deleted file mode 100644
index 6b9abf619b675a479124b7c867f6ff9377605542..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__MultiSites.getOne_day.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__PagePerformance.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit__PagePerformance.get_day.xml
deleted file mode 100644
index 156c1ad7d8495ee1d8aed02fc032752ee562d54c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__PagePerformance.get_day.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAnonymisationSettings.xml b/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAnonymisationSettings.xml
deleted file mode 100644
index feea909569c8f94880ef4d7db5fbb6abab24f7d9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAnonymisationSettings.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
- 0
- 2
- 0
- 1
- 0
- 0
- 0
-
- 0
- 0
-
-
- 1
- 1 byte(s) - e.g. 192.168.100.xxx
-
-
-
- 2
- 2 byte(s) - e.g. 192.168.xxx.xxx
- Recommended
-
-
- 3
- 3 byte(s) - e.g. 192.xxx.xxx.xxx
-
-
-
- 4
- Fully mask IP address
-
-
-
-
-
- 1
- Yes
- higher privacy, lower geolocation accuracy
-
-
- 0
- No
- lower privacy, higher geolocation accuracy
-
-
-
- Don't anonymize the referrer
- Remove query parameters from referrer URL
- Keep only the domain of a referrer URL
- Don't record the referrer URL but still detect the type of referrer
-
- matomo.js
- 1
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAvailableLinkVisitActionColumnsToAnonymize.xml b/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAvailableLinkVisitActionColumnsToAnonymize.xml
deleted file mode 100644
index 7ef63fc612fcf7fc1fa2670491a667c81bcd7284..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAvailableLinkVisitActionColumnsToAnonymize.xml
+++ /dev/null
@@ -1,191 +0,0 @@
-
-
-
- bandwidth
-
-
-
- custom_dimension_1
-
-
-
- custom_dimension_2
-
-
-
- custom_dimension_3
-
-
-
- custom_dimension_4
-
-
-
- custom_dimension_5
-
-
-
- custom_float
-
-
-
- custom_var_k1
-
-
-
- custom_var_k2
-
-
-
- custom_var_k3
-
-
-
- custom_var_k4
-
-
-
- custom_var_k5
-
-
-
- custom_var_v1
-
-
-
- custom_var_v2
-
-
-
- custom_var_v3
-
-
-
- custom_var_v4
-
-
-
- custom_var_v5
-
-
-
- idaction_content_interaction
-
-
-
- idaction_content_name
-
-
-
- idaction_content_piece
-
-
-
- idaction_content_target
-
-
-
- idaction_event_action
-
-
-
- idaction_event_category
-
-
-
- idaction_name
-
-
-
- idaction_name_ref
-
-
-
- idaction_product_cat
-
-
-
- idaction_product_cat2
-
-
-
- idaction_product_cat3
-
-
-
- idaction_product_cat4
-
-
-
- idaction_product_cat5
-
-
-
- idaction_product_name
-
-
-
- idaction_product_sku
-
-
-
- idaction_url
-
-
-
- idaction_url_ref
- 0
-
-
- idpageview
-
-
-
- pageview_position
-
-
-
- product_price
-
-
-
- search_cat
-
-
-
- search_count
-
-
-
- time_dom_completion
-
-
-
- time_dom_processing
-
-
-
- time_network
-
-
-
- time_on_load
-
-
-
- time_server
-
-
-
- time_spent
-
-
-
- time_spent_ref_action
-
-
-
- time_transfer
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAvailableVisitColumnsToAnonymize.xml b/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAvailableVisitColumnsToAnonymize.xml
deleted file mode 100644
index e4a0b745b69f1ec0956d3078aba7e31c91ec18f0..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getAvailableVisitColumnsToAnonymize.xml
+++ /dev/null
@@ -1,255 +0,0 @@
-
-
-
- ai_agent_name
-
-
-
- config_browser_engine
-
-
-
- config_browser_name
-
-
-
- config_browser_version
-
-
-
- config_client_type
-
-
-
- config_cookie
-
-
-
- config_device_brand
-
-
-
- config_device_model
-
-
-
- config_device_type
-
-
-
- config_flash
-
-
-
- config_java
-
-
-
- config_os
-
-
-
- config_os_version
-
-
-
- config_pdf
-
-
-
- config_quicktime
-
-
-
- config_realplayer
-
-
-
- config_resolution
-
-
-
- config_silverlight
-
-
-
- config_windowsmedia
-
-
-
- custom_dimension_1
-
-
-
- custom_dimension_2
-
-
-
- custom_dimension_3
-
-
-
- custom_dimension_4
-
-
-
- custom_dimension_5
-
-
-
- custom_var_k1
-
-
-
- custom_var_k2
-
-
-
- custom_var_k3
-
-
-
- custom_var_k4
-
-
-
- custom_var_k5
-
-
-
- custom_var_v1
-
-
-
- custom_var_v2
-
-
-
- custom_var_v3
-
-
-
- custom_var_v4
-
-
-
- custom_var_v5
-
-
-
- last_idlink_va
-
-
-
- location_browser_lang
-
-
-
- location_city
-
-
-
- location_country
-
-
-
- location_latitude
-
-
-
- location_longitude
-
-
-
- location_region
-
-
-
- profilable
-
-
-
- referer_keyword
-
-
-
- referer_name
-
-
-
- referer_type
-
-
-
- referer_url
-
-
-
- user_id
-
-
-
- visit_entry_idaction_name
-
-
-
- visit_entry_idaction_url
-
-
-
- visit_exit_idaction_name
-
-
-
- visit_exit_idaction_url
- 0
-
-
- visit_goal_buyer
-
-
-
- visit_goal_converted
-
-
-
- visit_total_actions
-
-
-
- visit_total_events
-
-
-
- visit_total_interactions
- 0
-
-
- visit_total_searches
-
-
-
- visitor_count_visits
- 0
-
-
- visitor_localtime
-
-
-
- visitor_returning
-
-
-
- visitor_seconds_since_first
-
-
-
- visitor_seconds_since_last
-
-
-
- visitor_seconds_since_order
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getCompliancePolicies.xml b/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getCompliancePolicies.xml
deleted file mode 100644
index 26d7bf5dfdd731e27877dc50e5a683dc13024997..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__PrivacyManager.getCompliancePolicies.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- cnil_v1
- CNIL Website Analytics Compliance
- This table shows how specific Matomo configuration settings align with <a href="https://matomo.org/faq/how-to/how-do-i-configure-matomo-without-tracking-consent-for-french-visitors-cnil-exemption/?mtm_campaign=Matomo_App&mtm_source=Matomo_App_OnPremise&mtm_medium=App.PrivacyManager.compliance" target="_blank" rel="noreferrer noopener">CNIL guidance</a> on consent-exempt audience measurement. It is provided for <b>informational purposes only</b> and does not constitute legal advice or guarantee full compliance. To rely on CNIL's consent exemption, <b>all</b> required configurations must be correctly implemented.<br/><br/><ul class='browser-default'><li>If a setting is marked <b>non-compliant</b>, the exemption conditions are not satisfied and valid user consent must be obtained.</li><li>If a setting is marked <b>unknown</b>, Matomo cannot determine whether the requirement has been met; these items must be verified manually by you, the publisher/controller.</li></ul><br/>To assess your overall compliance make sure you consult your legal advisors for a definitive compliance assessment.<br/>Click <a href="https://matomo.org/faq/how-to/how-do-i-configure-matomo-without-tracking-consent-for-french-visitors-cnil-exemption/?mtm_campaign=Matomo_App&mtm_source=Matomo_App_OnPremise&mtm_medium=App.PrivacyManager.compliance" target="_blank" rel="noreferrer noopener">here</a> to access the Matomo Self-Assessment, learn more about the CNIL criteria for consent-exempt analytics and understand how to configure Matomo for CNIL exemption.<br/><b>Compliance cannot be guaranteed with the use of third-party plugins.</b>
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Provider.getProvider_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Provider.getProvider_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Provider.getProvider_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getAIAssistants_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getAIAssistants_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getAIAssistants_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getAll_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getAll_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getAll_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getCampaigns_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getCampaigns_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getCampaigns_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getEntryPageTitlesForAIAssistant_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getEntryPageTitlesForAIAssistant_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getEntryPageTitlesForAIAssistant_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getEntryPageUrlsForAIAssistant_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getEntryPageUrlsForAIAssistant_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getEntryPageUrlsForAIAssistant_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getKeywordsForPageUrl_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getKeywordsForPageUrl_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getKeywordsForPageUrl_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getKeywords_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getKeywords_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getKeywords_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctAIAssistants_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctAIAssistants_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctAIAssistants_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctCampaigns_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctCampaigns_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctCampaigns_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctKeywords_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctKeywords_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctKeywords_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctSearchEngines_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctSearchEngines_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctSearchEngines_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctSocialNetworks_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctSocialNetworks_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctSocialNetworks_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctWebsitesUrls_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctWebsitesUrls_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctWebsitesUrls_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctWebsites_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctWebsites_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getNumberOfDistinctWebsites_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getReferrerType_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getReferrerType_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getReferrerType_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getSearchEngines_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getSearchEngines_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getSearchEngines_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getSocials_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getSocials_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getSocials_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getUrlsForSocial_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getUrlsForSocial_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getUrlsForSocial_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getWebsites_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.getWebsites_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.getWebsites_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Referrers.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Referrers.get_day.xml
deleted file mode 100644
index 61690a628e6e6b0e67510129566f71d0d1ce5f31..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Referrers.get_day.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0%
- 0%
- 0%
- 0%
- 0%
- 0%
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Resolution.getConfiguration_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Resolution.getConfiguration_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Resolution.getConfiguration_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Resolution.getResolution_day.xml b/tests/PHPUnit/System/expected/test_noVisit__Resolution.getResolution_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Resolution.getResolution_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableComparisons.xml b/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableComparisons.xml
deleted file mode 100644
index 0f53cab9b58b3c5de2057fef1d33ca6905175ddd..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableComparisons.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
- equals
- equals
-
-
- not_equals
- not equals
-
-
- equals_exactly
- equals exactly
-
-
- not_equals_exactly
- not equals exactly
-
-
- contains
- contains
-
-
- not_contains
- not contains
-
-
- starts_with
- starts with
-
-
- not_starts_with
- not starts with
-
-
- ends_with
- ends with
-
-
- not_ends_with
- not ends with
-
-
- lower_than
- is lower than
-
-
- not_lower_than
- not is lower than
-
-
- lower_than_or_equals
- is lower than or equals
-
-
- not_lower_than_or_equals
- not is lower than or equals
-
-
- greater_than
- is greater than
-
-
- not_greater_than
- not is greater than
-
-
- greater_than_or_equals
- is greater than or equals
-
-
- not_greater_than_or_equals
- not is greater than or equals
-
-
- regexp
- matches the regular expression
-
-
- not_regexp
- not matches the regular expression
-
-
- regexp_ignore_case
- matches the regular expression (ignore case)
-
-
- not_regexp_ignore_case
- not matches the regular expression (ignore case)
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableContexts.xml b/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableContexts.xml
deleted file mode 100644
index b510944645b3c11e449d5777631403ba23565fe9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableContexts.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- web
- Web
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableEnvironments.xml b/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableEnvironments.xml
deleted file mode 100644
index 36fa243ebd003422d77046494e728aafe68357c8..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableEnvironments.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- live
- Live
-
-
- dev
- Dev
-
-
- staging
- Staging
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableEnvironmentsWithPublishCapability.xml b/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableEnvironmentsWithPublishCapability.xml
deleted file mode 100644
index 36fa243ebd003422d77046494e728aafe68357c8..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableEnvironmentsWithPublishCapability.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- live
- Live
-
-
- dev
- Dev
-
-
- staging
- Staging
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableTagFireLimits.xml b/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableTagFireLimits.xml
deleted file mode 100644
index 860e04512235858b0c0ef3e31cff4a94559e2948..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getAvailableTagFireLimits.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- unlimited
- Unlimited
-
-
- once_page
- Once per pageview
-
-
- once_24hours
- Once per 24 hours
-
-
- once_lifetime
- Once in lifetime
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getContainers.xml b/tests/PHPUnit/System/expected/test_noVisit__TagManager.getContainers.xml
deleted file mode 100644
index 501c2ecf8628664c3fe7ea320adc5c24ff4739a2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__TagManager.getContainers.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- kSRALajy
- 1
- web
- Default Container
- This container was auto generated when the website was created.
- active
- today-date-removed-in-tests
- today-date-removed-in-tests
- Sep 10, 2018 04:46:49
- Sep 10, 2018 04:46:49
-
-
- 2
- kSRALajy
- 1
- active
- 1
- 0.1.0 - Auto generated
-
- today-date-removed-in-tests
- today-date-removed-in-tests
- Sep 10, 2018 04:46:49
- Sep 10, 2018 04:46:49
-
-
-
-
-
-
- 1
- kSRALajy
- 1
- 1
- active
- live
- superUserLogin
- today-date-removed-in-tests
- Sep 10, 2018 04:46:49
-
-
-
-
- 1
- kSRALajy
- 1
- active
- 0
-
-
- today-date-removed-in-tests
- today-date-removed-in-tests
- Sep 10, 2018 04:46:49
- Sep 10, 2018 04:46:49
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Tour.getChallenges.xml b/tests/PHPUnit/System/expected/test_noVisit__Tour.getChallenges.xml
deleted file mode 100644
index 76cb83fccf13c0e21fa5866f887cc41be5882f40..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Tour.getChallenges.xml
+++ /dev/null
@@ -1,155 +0,0 @@
-
-
-
- track_data
- Embed a tracking code
- Matomo offers you various ways to embed the tracking code for your website, mobile app, and even for any device or application.
- 0
- 0
- index.php?module=CoreAdminHome&action=trackingCodeGenerator
-
-
- define_goal
- Add a goal
- Conversion tracking is a great way to identify whether you are meeting your current objectives, to identify new ones, view and analyse performance. You can also learn to increase your conversions, conversion rates, and revenue per visit.
- 0
- 0
- index.php?module=Goals&action=manage
-
-
- custom_logo
- Upload your logo
- You can customize the Matomo logo which will be displayed in the user interface and email reports.
- 0
- 0
- index.php?module=CoreAdminHome&action=generalSettings#/#useCustomLogo
-
-
- add_user
- Invite a user
- Users Management lets you add new users, edit existing users and give them access to view or administrate websites.
- 0
- 0
- index.php?module=UsersManager&action=index
-
-
- add_website
- Add another website
- Websites management lets you add a new website and edit existing websites.
- 0
- 0
- index.php?module=SitesManager&action=index
-
-
- flatten_actions
- Flatten a page report
- Go to Behaviour → Pages and click the cog icon in the bottom of the report to flatten it. This changes the hierarchy from a grouped report to a list.
- 0
- 0
- https://matomo.org/faq/reports/graphs-and-visualisations-in-matomo/#flattening-reports
-
-
- change_visualisations
- Change a visualisation
- Browse a report and select the visualisation icon at the bottom of a report to change its visualisation.
- 0
- 0
- https://matomo.org/faq/reports/graphs-and-visualisations-in-matomo/
-
-
- add_scheduled_report
- Add a scheduled report
- Create custom reports and schedule them to be emailed daily, weekly or monthly to one or several people. Several report formats are supported (html, pdf, csv, images).
- 0
- 0
- index.php?module=ScheduledReports&action=index
-
-
- customise_dashboard
- Set up your dashboard
- Add widgets to your dashboard to ensure it reports all your most important metrics.
- 0
- 0
- https://matomo.org/faq/dashboards/create-dashboards-and-customise-widgets-and-layout/
-
-
- add_segment
- Add a segment
- A segment is a set of criteria used to select only a part of the entire set of visits. Using segments you can inject arbitrary context back into your reports.
- 0
- 0
- https://matomo.org/docs/segmentation/
-
-
- add_annotation
- Add an annotation
- Allows you to attach notes to different days to mark changes made to your website, save analyses you make regarding your data and share your thoughts with your colleagues. By annotating your data, you will make sure you remember why your data looks the way it does.
- 0
- 0
- https://matomo.org/docs/annotations/
-
-
- setup_twofa
- Setup Two-factor authentication
- Two-factor authentication increases account security by also asking you for a code generated on a mobile device, or one of the remaining recovery codes (in addition to your password) to log in.
- 0
- 0
- https://matomo.org/faq/general/faq_27245
-
-
- disable_browser_archiving
- Turn off web-browser archiving for better performance
-
- 0
- 0
- https://matomo.org/docs/setup-auto-archiving/
-
-
- configure_geolocation
- Set up geolocation
- Ensure the location of your visitors is correctly detected.
- 0
- 0
- index.php?module=UserCountry&action=adminIndex
-
-
- select_date_range
- Select a date range
- Select a time span in the calendar.
- 0
- 0
- https://matomo.org/faq/reports/data-selectors-in-matomo/
-
-
- view_visits_log
- View Visits Log
- Shows all the individual visits and actions each visitor made on your website.
- 0
- 0
- https://matomo.org/faq/reports/the-visits-log-report/
-
-
- view_visitor_profile
- View Visitor profile
- Understand your visitors’ individual behavior by summarizing and listing your visitors’ visits.
- 0
- 0
- https://matomo.org/docs/user-profile/
-
-
- view_row_evolution
- View Row evolution
- Shows the current and past metric data for any row in any report.
- 0
- 0
- https://matomo.org/docs/row-evolution/
-
-
- browse_marketplace
- Browse the marketplace
- Extend and expand the functionality of Matomo via the Marketplace by downloading plugins and themes.
- 0
- 0
- index.php?module=Marketplace&action=overview
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__Tour.getLevel.xml b/tests/PHPUnit/System/expected/test_noVisit__Tour.getLevel.xml
deleted file mode 100644
index 0fd47c9b8aa82f1cd58f09ce0c7cf68a613ec60c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__Tour.getLevel.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Welcome to Matomo superUserLogin. This widget helps you become a Matomo expert.
- 1
- Matomo beginner
- Matomo intermediate
- 5
- 5
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getCity_day.xml b/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getCity_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getCity_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getContinent_day.xml b/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getContinent_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getContinent_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getCountry_day.xml b/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getCountry_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getCountry_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getNumberOfDistinctCountries_day.xml b/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getNumberOfDistinctCountries_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getNumberOfDistinctCountries_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getRegion_day.xml b/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getRegion_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__UserCountry.getRegion_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__UserId.getUsers_day.xml b/tests/PHPUnit/System/expected/test_noVisit__UserId.getUsers_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__UserId.getUsers_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__UserLanguage.getLanguageCode_day.xml b/tests/PHPUnit/System/expected/test_noVisit__UserLanguage.getLanguageCode_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__UserLanguage.getLanguageCode_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__UserLanguage.getLanguage_day.xml b/tests/PHPUnit/System/expected/test_noVisit__UserLanguage.getLanguage_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__UserLanguage.getLanguage_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitFrequency.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitFrequency.get_day.xml
deleted file mode 100644
index 656497eb89399ea9dc177e4cbfd0a79e9661427c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitFrequency.get_day.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0%
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0%
- 0
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getByDayOfWeek_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getByDayOfWeek_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getByDayOfWeek_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getVisitInformationPerLocalTime_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getVisitInformationPerLocalTime_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getVisitInformationPerLocalTime_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getVisitInformationPerServerTime_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getVisitInformationPerServerTime_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitTime.getVisitInformationPerServerTime_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsPerPage_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsPerPage_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsPerPage_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml
deleted file mode 100644
index c234bed59e963e268d7a9bc05348d941758c4aa9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getActions_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getActions_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getActions_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getBounceCount_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getBounceCount_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getBounceCount_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getMaxActions_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getMaxActions_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getMaxActions_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getSumVisitsLengthPretty_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getSumVisitsLengthPretty_day.xml
deleted file mode 100644
index 6b13a17caa54325131d61884d5d443bf01482d35..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getSumVisitsLengthPretty_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0s
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getSumVisitsLength_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getSumVisitsLength_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getSumVisitsLength_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getUniqueVisitors_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getUniqueVisitors_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getUniqueVisitors_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getUsers_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getUsers_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getUsers_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getVisitsConverted_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getVisitsConverted_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getVisitsConverted_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getVisits_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getVisits_day.xml
deleted file mode 100644
index f5722c2b947ae81c5390b2448986be96d1bf4ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.getVisits_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-0
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.get_day.xml b/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.get_day.xml
deleted file mode 100644
index 32b66284bedbe458384d8a08a7b9a61b9d01f775..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_noVisit__VisitsSummary.get_day.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0%
- 0
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_Flattened__Referrers.getSocials_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_Flattened__Referrers.getSocials_range.xml
deleted file mode 100644
index 72630e83ffbf5e49118636eb5a5b61cad37862c8..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_Flattened__Referrers.getSocials_range.xml
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- facebook.com
- plugins/Morpheus/icons/dist/socials/facebook.com.png
- referrerType==social;referrerName==Facebook
- Facebook
- http://facebook.com/whatever
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- facebook.com
- plugins/Morpheus/icons/dist/socials/facebook.com.png
- referrerType==social;referrerName==Facebook
- Facebook
- http://fb.me/?q=sdlfjs&n=slfjsd
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- facebook.com
- plugins/Morpheus/icons/dist/socials/facebook.com.png
- referrerType==social;referrerName==Facebook
- Facebook
- http://www.facebook.com/another/path
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- flickr.com
- plugins/Morpheus/icons/dist/socials/flickr.com.png
- referrerType==social;referrerName==Flickr
- Flickr
- http://www.flickr.com
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- mixi.jp
- plugins/Morpheus/icons/dist/socials/mixi.jp.png
- referrerType==social;referrerName==Mixi
- Mixi
- http://mixi.jp
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- skyrock.com
- plugins/Morpheus/icons/dist/socials/skyrock.com.png
- referrerType==social;referrerName==Skyrock
- Skyrock
- http://skyrock.com
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- twitter.com
- plugins/Morpheus/icons/dist/socials/twitter.com.png
- referrerType==social;referrerName==Twitter
- Twitter
- http://t.co/id/?y=dsfs
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- twitter.com
- plugins/Morpheus/icons/dist/socials/twitter.com.png
- referrerType==social;referrerName==Twitter
- Twitter
- http://twitter.com/whatever2
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- twitter.com
- plugins/Morpheus/icons/dist/socials/twitter.com.png
- referrerType==social;referrerName==Twitter
- Twitter
- http://www.twitter.com/index?a=2334
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- xanga.com
- plugins/Morpheus/icons/dist/socials/xanga.com.png
- referrerType==social;referrerName==Xanga
- Xanga
- http://xanga.com
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_IndexedByDate__MultiSites.getAll_day.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_IndexedByDate__MultiSites.getAll_day.xml
deleted file mode 100644
index b7917358f701e18151fc2e324f8885e50e46f1f9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_IndexedByDate__MultiSites.getAll_day.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
- 2
- 3
- 3
- 3
- 0
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 1
- 1
- $
- 2
- day
- Tue, Dec 14
- 3
- 3
- 3
- 0
- 0
-
- http://piwik.net
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_IndexedByDate__Referrers.getSocials_day.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_IndexedByDate__Referrers.getSocials_day.xml
deleted file mode 100644
index e975a74be69ceb65d3259c2c5d74e0f5a0147b59..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_IndexedByDate__Referrers.getSocials_day.xml
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- 2
- 2
- 3
- 0
- 2
- 361
- 1
- 0
- facebook.com
- plugins/Morpheus/icons/dist/socials/facebook.com.png
- referrerType==social;referrerName==Facebook
-
-
-
- 1
- 1
- 2
- 0
- 2
- 361
- 0
- 0
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
-
-
- 1
- 1
- 2
- 0
- 2
- 361
- 0
- 0
- facebook.com
- plugins/Morpheus/icons/dist/socials/facebook.com.png
- referrerType==social;referrerName==Facebook
-
-
-
- 1
- 1
- 2
- 0
- 2
- 361
- 0
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- twitter.com
- plugins/Morpheus/icons/dist/socials/twitter.com.png
- referrerType==social;referrerName==Twitter
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- facebook.com
- plugins/Morpheus/icons/dist/socials/facebook.com.png
- referrerType==social;referrerName==Facebook
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- twitter.com
- plugins/Morpheus/icons/dist/socials/twitter.com.png
- referrerType==social;referrerName==Twitter
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_MultipleDatesNotSupported__MultiSites.getAll_day.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_MultipleDatesNotSupported__MultiSites.getAll_day.xml
deleted file mode 100644
index b0a72e0990ce5d5a1af4defab1c4046870e50990..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_MultipleDatesNotSupported__MultiSites.getAll_day.xml
+++ /dev/null
@@ -1,208 +0,0 @@
-
-
-
-
-
- 2
- 3
- 3
- 3
- 0
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 1
- 1
- $
- 2
- day
- Tue, Dec 14
- 3
- 3
- 3
- 0
- 0
-
- http://piwik.net
-
-
-
- 1
- 1
- 1
- 1
- 0
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 0%
- 0
- 2
- 1
- $
- 1
- day
- Tue, Dec 14
- 1
- 1
- 1
- 0
- 0
-
- http://piwik.net
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
- 3
- 3
- 3
- 0
- 0
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 0%
- 0
- 0%
- 0
- 1
- 1
- $
- 0
- day
- Fri, Dec 24
- 0
- 0
- 0
- 0
- 0
-
- http://piwik.net
-
-
-
- 1
- 1
- 1
- 1
- 0
- 0
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 0%
- 0
- 0%
- 0
- 2
- 1
- $
- 0
- day
- Fri, Dec 24
- 0
- 0
- 0
- 0
- 0
-
- http://piwik.net
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
- 3
- 3
- 3
- 0
- 0
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 0%
- 0
- 0%
- 0
- 1
- 1
- $
- 0
- day
- Fri, Jan 14
- 0
- 0
- 0
- 0
- 0
-
- http://piwik.net
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_Truncated__MultiSites.getAll_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_Truncated__MultiSites.getAll_range.xml
deleted file mode 100644
index b27766ea5e7d53354d092f01f3790a349be0e2fc..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_Truncated__MultiSites.getAll_range.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
- 8
- 11
- 11
- 11
- 0
- 0
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 0%
- 0
- 0%
- 0
- 1
- USD
- 0
- range
- Nov 13 – Dec 14, 2010
- 0
- 0
- 0
- 0
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Actions.getPageUrls_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Actions.getPageUrls_range.xml
deleted file mode 100644
index 6212931ab71839b06ea6444552a0a45a29afc039..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Actions.getPageUrls_range.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
- 3
- 3
- 1080
- 0
- 0
-
-
- 3
- 6
- 1083
- 0
- 3
- 3
- 0
- 0
- 360
- 0%
- 0%
- http://example.org/homepage
- pageUrl==http%253A%252F%252Fexample.org%252Fhomepage
-
-
-
- 3
- 3
- 0
- 0
- 0
-
-
- 3
- 3
- 0
- 3
- 3
- 3
- 3
- 3
- 0
- 0
- 0
- 100%
- 100%
- http://example.org/news
- pageUrl==http%253A%252F%252Fexample.org%252Fnews
-
-
-
- 3
- 3
- 0
- 0
- 0
-
-
- 3
- 0
- 0
- 0
- 0%
- 100%
- pageUrl=^http%253A%252F%252Fpiwik.net%252Fsub1
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__MultiSites.getAll_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__MultiSites.getAll_range.xml
deleted file mode 100644
index 1363321323e6c568d9892bc9aa3f63d53e4742cc..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__MultiSites.getAll_range.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
- 6
- 9
- 9
- 9
- 0
- 0
- 200%
- 1
- 200%
- 1
- 200%
- 1
- 200%
- 1
- 0%
- 0
- 0%
- 0
- 1
- 1
- $
- 2
- range
- Nov 13 – Dec 14, 2010
- 3
- 3
- 3
- 0
- 0
-
- http://piwik.net
-
-
-
- 2
- 2
- 2
- 2
- 0
- 0
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 100%
- 1
- 0%
- 0
- 0%
- 0
- 2
- 1
- $
- 1
- range
- Nov 13 – Dec 14, 2010
- 1
- 1
- 1
- 0
- 0
-
- http://piwik.net
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__MultiSites.getOne_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__MultiSites.getOne_range.xml
deleted file mode 100644
index 0216405540f5ace2cd6275d704c8632ad3e3fc4f..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__MultiSites.getOne_range.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- 6
- 9
- 9
- 9
- 0
- 0
- 200%
- 1
- 200%
- 1
- 200%
- 1
- 200%
- 1
- 0%
- 0
- 0%
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Referrers.getSocials_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Referrers.getSocials_range.xml
deleted file mode 100644
index 54acdfa0fd43178fae6622ef03e61c396956c32f..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Referrers.getSocials_range.xml
+++ /dev/null
@@ -1,278 +0,0 @@
-
-
-
-
-
- 3
- 5
- 2
- 722
- 1
- 0
- 3
- 0
- facebook.com
- plugins/Morpheus/icons/dist/socials/facebook.com.png
- referrerType==social;referrerName==Facebook
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
- 3
- 4
- 2
- 361
- 2
- 0
- 3
- 0
- twitter.com
- plugins/Morpheus/icons/dist/socials/twitter.com.png
- referrerType==social;referrerName==Twitter
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
-
-
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- flickr.com
- plugins/Morpheus/icons/dist/socials/flickr.com.png
- referrerType==social;referrerName==Flickr
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- mixi.jp
- plugins/Morpheus/icons/dist/socials/mixi.jp.png
- referrerType==social;referrerName==Mixi
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- skyrock.com
- plugins/Morpheus/icons/dist/socials/skyrock.com.png
- referrerType==social;referrerName==Skyrock
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- xanga.com
- plugins/Morpheus/icons/dist/socials/xanga.com.png
- referrerType==social;referrerName==Xanga
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
-
-
- 2
- 2
- 1
- 0
- 2
- 0
- 2
- 0
- twitter.com
- plugins/Morpheus/icons/dist/socials/twitter.com.png
- referrerType==social;referrerName==Twitter
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- facebook.com
- plugins/Morpheus/icons/dist/socials/facebook.com.png
- referrerType==social;referrerName==Facebook
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Referrers.getUrlsForSocial_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Referrers.getUrlsForSocial_range.xml
deleted file mode 100644
index 1ed4db4a841ad86083a30688fcc9e55ba5c59b9e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Referrers.getUrlsForSocial_range.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Ffacebook.com%2Fwhatever
- http://facebook.com/whatever
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Ffb.me%2F%3Fq%3Dsdlfjs%26n%3Dslfjsd
- http://fb.me/?q=sdlfjs&n=slfjsd
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Fwww.facebook.com%2Fanother%2Fpath
- http://www.facebook.com/another/path
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Resolution.getResolution_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Resolution.getResolution_range.xml
deleted file mode 100644
index ec3805d0ff26b6ca42d9765a945ba908bfce89d4..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__Resolution.getResolution_range.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
- 6
- 9
- 2
- 1083
- 3
- 0
- 3
- 0
- resolution==1024x768
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__UserCountry.getCountry_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__UserCountry.getCountry_range.xml
deleted file mode 100644
index c8075791022f377da391e400fac8c6c2a2eca8ed..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__UserCountry.getCountry_range.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
- 8
- 12
- 2
- 1444
- 4
- 0
- 4
- 0
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
- countryCode==fr
- 16
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitFrequency.get_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitFrequency.get_range.xml
deleted file mode 100644
index cfd103e6ad84fded84ce6dee334a80700d9b0d91..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitFrequency.get_range.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- 3
- 6
- 0
- 0
- 1083
- 2
- 0%
- 2
- 361
- 3
- 3
- 0
- 3
- 0
- 1
- 100%
- 1
- 0
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitTime.getVisitInformationPerServerTime_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitTime.getVisitInformationPerServerTime_range.xml
deleted file mode 100644
index 95fde209fa58ca62e3cb3f70b610f2f87c584009..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitTime.getVisitInformationPerServerTime_range.xml
+++ /dev/null
@@ -1,291 +0,0 @@
-
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==0
-
-
-
- 3
- 6
- 2
- 1083
- 0
- 0
- 3
- 0
- visitStartServerHour==1
-
-
-
- 3
- 3
- 1
- 0
- 3
- 0
- 3
- 0
- visitStartServerHour==2
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==3
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==4
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==5
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==6
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==7
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==8
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==9
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==10
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==11
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==12
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==13
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==14
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==15
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==16
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==17
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==18
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==19
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==20
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==21
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==22
-
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- visitStartServerHour==23
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitsSummary.get_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitsSummary.get_range.xml
deleted file mode 100644
index 29d972ff8a683191f2b46c3ab994e37b6aa185af..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange__VisitsSummary.get_range.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- 6
- 9
- 0
- 3
- 1083
- 2
- 50%
- 1.5
- 181
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_noIdSubtable__Referrers.getUrlsForSocial_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_noIdSubtable__Referrers.getUrlsForSocial_range.xml
deleted file mode 100644
index d85c6fa7fa4bebb3f7dcea2cac68729b06a4ad6a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_noIdSubtable__Referrers.getUrlsForSocial_range.xml
+++ /dev/null
@@ -1,176 +0,0 @@
-
-
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Ffacebook.com%2Fwhatever
- http://facebook.com/whatever
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Ffb.me%2F%3Fq%3Dsdlfjs%26n%3Dslfjsd
- http://fb.me/?q=sdlfjs&n=slfjsd
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Fmixi.jp
- http://mixi.jp
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Fskyrock.com
- http://skyrock.com
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Ft.co%2Fid%2F%3Fy%3Ddsfs
- http://t.co/id/?y=dsfs
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Ftwitter.com%2Fwhatever2
- http://twitter.com/whatever2
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Fwww.facebook.com%2Fanother%2Fpath
- http://www.facebook.com/another/path
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Fwww.flickr.com
- http://www.flickr.com
-
-
-
- 1
- 2
- 2
- 361
- 0
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Fwww.twitter.com%2Findex%3Fa%3D2334
- http://www.twitter.com/index?a=2334
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Fxanga.com
- http://xanga.com
-
-
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Ft.co%2Fid%2F%3Fy%3Ddsfs
- http://t.co/id/?y=dsfs
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Ftwitter.com%2Fwhatever2
- http://twitter.com/whatever2
-
-
-
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 0
- referrerUrl==http%3A%2F%2Fwww.facebook.com%2Fanother%2Fpath
- http://www.facebook.com/another/path
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_periodIsRange_expanded___Actions.getPageUrls_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_periodIsRange_expanded___Actions.getPageUrls_range.xml
deleted file mode 100644
index 1ef045bcb038d047bf91ba44550af8aa614d59dd..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_periodIsRange_expanded___Actions.getPageUrls_range.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
- 2
- 2
- 720
- 0
- 0
-
-
- 2
- 4
- 722
- 0
- 2
- 2
- 0
- 0
- 360
- 0%
- 0%
- http://example.org/homepage
- pageUrl==http%253A%252F%252Fexample.org%252Fhomepage
-
-
-
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 0
- 100%
- 100%
- http://example.org/news
- pageUrl==http%253A%252F%252Fexample.org%252Fnews
-
-
-
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 0
- 0
- 0
- 0%
- 100%
- pageUrl=^http%253A%252F%252Fpiwik.net%252Fsub1
-
-
-
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 0
- 0%
- 100%
- pageUrl=^http%253A%252F%252Fpiwik.net%252Fsub1%252Fsub2
-
-
-
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 0
- 0%
- 100%
- pageUrl=^http%253A%252F%252Fpiwik.net%252Fsub1%252Fsub2%252Fsub3
-
-
-
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 2
- 2
- 0
- 0%
- 100%
- http://example.org/sub1/sub2/sub3/news
- pageUrl==http%253A%252F%252Fexample.org%252Fsub1%252Fsub2%252Fsub3%252Fnews
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_periodIsRange_flattened___Actions.getPageUrls_range.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_periodIsRange_flattened___Actions.getPageUrls_range.xml
deleted file mode 100644
index 760844c429ef5719c933f3fcb54146a4b45e1013..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_periodIsRange_flattened___Actions.getPageUrls_range.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
- 2
- 2
- 720
- 0
- 0
-
-
- 2
- 4
- 722
- 0
- 2
- 2
- 0
- 0
- 360
- 0%
- 0%
- http://example.org/homepage
- /homepage
- pageUrl==http%253A%252F%252Fexample.org%252Fhomepage
-
-
-
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 0
- 100%
- 100%
- http://example.org/news
- /news
- pageUrl==http%253A%252F%252Fexample.org%252Fnews
-
-
-
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 2
- 2
- 0
- 0
- 0
- 0%
- 100%
- http://example.org/sub1/sub2/sub3/news
- /sub1/sub2/sub3/news
- pageUrl==http%253A%252F%252Fexample.org%252Fsub1%252Fsub2%252Fsub3%252Fnews
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_showColumns__MultiSites.getAll_day.xml b/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_showColumns__MultiSites.getAll_day.xml
deleted file mode 100644
index ae23cd01c0b6d69db4eb7501f7658538159dfd8f..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_oneVisitor_oneWebsite_severalDays_DateRange_showColumns__MultiSites.getAll_day.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
- 2
- 0%
- 1
- 1
- $
- 2
- day
- Tue, Dec 14
-
- http://piwik.net
-
-
-
- 1
- 0%
- 2
- 1
- $
- 1
- day
- Tue, Dec 14
-
- http://piwik.net
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__API.getProcessedReport_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__API.getProcessedReport_range.xml
deleted file mode 100644
index e81294db961341f0fefab6f08c476a07121ae092..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__API.getProcessedReport_range.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
- Piwik test
-
-
- Visitors
- Locations
- Country
- UserCountry
- getCountry
- Country
- Shows which country your visitors connected from when accessing your website.
-
- Visits
- Actions
-
-
- If a visitor comes to your website for the first time or if they visit a page more than 30 minutes after their last page view, this will be recorded as a new visit.
- The number of unduplicated visitors coming to your website. Every user is only counted once, even if they visit the website multiple times a day.
- The number of actions performed by your visitors. Actions can be page views, internal site searches, downloads or outlinks.
- The number of users logged in your website. It is the number of unique active users that have a User ID set (via the Tracking code function 'setUserId').
- The average number of actions (page views, site searches, downloads or outlinks) that were performed during the visits.
- The average duration of a visit.
- The percentage of visits that only had a single pageview. This means, that the visitor left the website directly from the entrance page.
- The percentage of visits that triggered a conversion. The conversion rate is calculated using the number of visits that converted at least one goal. Visits converting multiple goals are only counted once in the conversion rate.
-
-
- Actions per Visit
- Avg. Time on Website
- Bounce Rate
-
-
- number
- number
- number
- number
- number
- duration_s
- percent
- percent
-
-
- Conversions
- Revenue
-
-
- Revenue per Visit
-
-
- money
- number
- percent
- money
-
- index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=UserCountry&apiAction=getCountry&period=range&date=
- index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=UserCountry&apiAction=getCountry&period=day&date=
- UserCountry_getCountry
-
-
-
- Visits
- Actions
- Actions per Visit
- Avg. Time on Website
- Bounce Rate
- Revenue
-
-
-
-
- 3
- 5
- $1,000
- 1.7
- 00:04:02
- 67%
-
-
-
-
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
- countryCode==fr
- 16
-
-
-
- 3
- 5
- 3
- 727
- 2
- 2
-
-
- 2
- 2
- 1000
-
-
- 1
- 1
- 0
-
-
- 3
- 1000
- 2
- 0
- 1.7
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Actions.getPageUrls_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Actions.getPageUrls_range.xml
deleted file mode 100644
index 0b9cefe00c4fd6ebb7e1c10ffa90169faec6a895..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Actions.getPageUrls_range.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
- 2
- 2
- 359
- 0
- 0
-
-
- 2
- 4
- 727
- 1
- 1
-
-
- 1
- 0
- 3
- 0.3333
- 0.5
- 1
- 0
- 1000
- 1
- 500
- 2
-
-
- 1
- 0
- 1
- 1
- 1
- 1
- 0
- 0
- 0.5
- 0
- 1
-
-
- 2
- 2
- 1
- 0
- 0
- 180
- 50%
- 50%
- http://example.org/homepage
- pageUrl==http%253A%252F%252Fexample.org%252Fhomepage
-
-
-
- 1
- 2
- 1
- 0
- 0
-
-
- 1
-
-
- 2
- 0
- 3
- 0.6666
- 1
- 2
- 0
-
-
- 0
- 0
- 1
- 0%
- 100%
- pageUrl=^http%253A%252F%252Fpiwik.net%252Fuser
-
-
-
- 1
- 2
- 1
- 0
- 0
-
-
- 1
-
-
- 2
- 0
- 3
- 0.6666
- 1
- 2
- 0
-
-
- 1
- 1
- 1
- 0%
- 100%
- http://example.org/user/profile
- pageUrl==http%253A%252F%252Fexample.org%252Fuser%252Fprofile
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml
deleted file mode 100644
index 9c61c4e2e77b54fface30d7efa0b3622aec33922..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__CustomVariables.getCustomVariables_range.xml
+++ /dev/null
@@ -1,296 +0,0 @@
-
-
-
-
- 3
- 5
- 3
- 727
- 2
- 2
-
-
- 2
- 2
- 1000
-
-
- 1
- 1
- 0
-
-
- 3
- 1000
- 2
- 0
-
-
- visit
- 1
-
-
- customVariableName==VisitorType
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
-
- 2
- 2
- 1
- 361
- 2
- 1
-
-
- 1
- 1
- 1000
-
-
- 1
- 1
- 0
-
-
- 2
- 1000
- 1
- 0
-
-
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
- visit
- 2
-
-
- customVariableName==SET+WITH+EMPTY+VALUE
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
- visit
- 3
-
-
- customVariableName==Value+will+be+VERY+long+and+truncated
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
-
-
-
- 3
-
-
- page
- 4
-
-
- page
- 5
-
-
- customVariableName==Status+user
-
-
-
- 2
- 2
- 2
-
-
-
- 1
- 1
- 1
-
-
-
-
-
- 2
- 2
- 1
- 361
- 2
- 1
-
-
- 1
- 1
- 1000
-
-
- 1
- 1000
- 1
- 0
-
-
- visit
- 2
-
-
- customVariableName==Othercustom+value+which+should+be+truncated+abcdefghijklmnopqrstuvwxyz
-
-
-
- 2
- 2
- 1
- 361
- 2
- 1
-
-
- 1
- 1
- 1000
-
-
- 1
- 1000
- 1
- 0
-
-
-
-
-
- 1
-
-
- page
- 1
-
-
- customVariableName==Language
-
-
-
- 1
- 1
- 1
-
-
-
-
-
- 1
-
-
- page
- 2
-
-
- customVariableName==SET+WITH+EMPTY+VALUE+PAGE+SCOPE
-
-
-
- 1
- 1
- 1
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Goals.get_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Goals.get_range.xml
deleted file mode 100644
index 11192511004d4edead059860255971c2d5f8fb23..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Goals.get_range.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- 3
- 2
- 1000
- 66.67%
- 3
- 2
- 1000
- 100%
- 0
- 0
- 0
- 0%
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getCounters.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getCounters.xml
deleted file mode 100644
index ba6489a54cde26c534678d769058370621777603..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getCounters.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- 3
- 5
- 2
- 3
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getFirstVisitForVisitorId.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getFirstVisitForVisitorId.xml
deleted file mode 100644
index 4da34c3d70ce6b79d78482cc710ec35eab763294..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getFirstVisitForVisitorId.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
- 1
- 2
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- 1
- USD
- $
- 1
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 361
- 6 min 1s
- 0
- 1
- 1
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisits.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisits.xml
deleted file mode 100644
index 01b8d3f0c51d3f04614be91596008b53e12f67ab..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisits.xml
+++ /dev/null
@@ -1,486 +0,0 @@
-
-
-
- 1
- 3
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- outlink
- http://test.com
-
- 6
-
-
- 5
-
-
- plugins/Morpheus/images/link.png
- plugins/Morpheus/images/link.svg
- Outlink
- http://test.com
-
- 0 M
-
-
- 0
- USD
- $
-
- Piwik test
-
- returning
- plugins/Live/images/returningVisitor.png
- 0
-
- 2
- none
-
- 0
- 3600
- 0
-
- 0
- 0s
- 0
- 1
- 0
- campaign
- Campaigns
- campaign name - yeah!
- campaign keyword - right...
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 3600
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- 1
- 2
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- goal
- triggered js
- 1
-
- 1000
-
-
- http://example.org/homepage
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js ($1,000 revenue)
-
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
-
- 4
-
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- 1
- USD
- $
-
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 361
- 6 min 1s
- 0
- 1
- 1
- campaign
- Campaigns
- campaign name - yeah!
- campaign keyword - right...
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- 1
- 1
- 156.5.3.2
-
- e16cf2bbaeea2c88
-
-
- goal
- second goal
- 2
-
- 0
-
-
- http://example.org/homepage
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- second goal
-
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
-
- 1
-
- 360
- 6 min 0s
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- goal
- triggered js
- 1
-
- 0
-
-
- http://example.org/user/profile
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js
-
-
-
- action
- http://example.org/user/profile
- Profile page
- 4
-
-
- 2
-
- 0
- 0s
- 2
- Profile page
- http://example.org/user/profile
-
- plugins/Morpheus/images/action.svg
-
-
-
- Status user
- Loggedin
-
-
- Status user
- looking at "profile page"
-
-
- 0 M
-
-
- action
- http://example.org/user/profile
- Profile page for user *_)%
- 4
-
-
- 3
-
- 3
- Profile page for user *_)%
- http://example.org/user/profile
-
- plugins/Morpheus/images/action.svg
-
-
-
- Language
- FR
-
-
- SET WITH EMPTY VALUE PAGE SCOPE
-
-
-
- Status user
- looking at "profile page"
-
-
- 0 M
-
-
- 2
- USD
- $
-
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 364
- 6 min 4s
- 0
- 3
- 3
- search
- Search Engines
- Google
- this keyword should be ranked
- 1
- http://www.google.com/url?source=web&cd=1&url=http://piwik.org/&rct=j&q=this keyword should be ranked&sig2=BvKAdCtNixsmfNWXjsNyMw
- http://google.com
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.6
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.6
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
-
-
- VisitorType
- LoggedIn
-
-
- SET WITH EMPTY VALUE
-
-
-
- Value will be VERY long and truncated
- abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrst
-
-
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml
deleted file mode 100644
index 7c2520e6d7529f5572e9096f8e6a8c895b5d6b05..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getLastVisitsDetails_range.xml
+++ /dev/null
@@ -1,479 +0,0 @@
-
-
-
- 1
- 3
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- outlink
- http://test.com
-
- 6
-
- 5
-
-
- plugins/Morpheus/images/link.png
- plugins/Morpheus/images/link.svg
- Outlink
- http://test.com
-
- 0 M
-
-
- 0
- USD
- $
-
- Piwik test
-
- returning
- plugins/Live/images/returningVisitor.png
- 0
-
- 2
- none
-
- 0
- 3600
- 0
-
- 0
- 0s
- 0
- 1
- 0
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 3600
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
- 1
- 2
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- goal
- triggered js
- 1
-
- 1000
-
- http://example.org/homepage
- campaign
- campaign name - yeah!
- campaign keyword - right...
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js ($1,000 revenue)
-
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
- 4
-
- 0
- 0s
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- 1
- USD
- $
-
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 361
- 6 min 1s
- 0
- 1
- 1
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
- 1
- 1
- 156.5.3.2
-
- e16cf2bbaeea2c88
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
- 1
-
- 359
- 5 min 59s
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- goal
- second goal
- 2
-
- 0
-
- http://example.org/homepage
- search
- Google
- piwik
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- second goal
-
-
-
- action
- http://example.org/user/profile
- Profile page
- 4
-
- 2
-
- 1
- 1s
- 2
- Profile page
- http://example.org/user/profile
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- Status user
- Loggedin
-
-
- Status user
- looking at "profile page"
-
-
-
-
- action
- http://example.org/user/profile
- Profile page for user *_)%
- 4
-
- 3
-
- 0
- 0s
- 3
- Profile page for user *_)%
- http://example.org/user/profile
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- Language
- FR
-
-
- SET WITH EMPTY VALUE PAGE SCOPE
-
-
-
- Status user
- looking at "profile page"
-
-
-
-
- goal
- triggered js
- 1
-
- 0
-
- http://example.org/user/profile
- search
- Google
- piwik
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js
-
-
-
- 2
- USD
- $
-
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 366
- 6 min 6s
- 0
- 3
- 3
- search
- Search Engines
- Google
- this keyword should be ranked
- 1
- http://www.google.com/url?source=web&cd=1&url=http://piwik.org/&rct=j&q=this keyword should be ranked&sig2=BvKAdCtNixsmfNWXjsNyMw
- http://google.com
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.6
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.6
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedIn
-
-
- SET WITH EMPTY VALUE
-
-
-
- Value will be VERY long and truncated
- abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrst
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getMostRecentVisitorId.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getMostRecentVisitorId.xml
deleted file mode 100644
index 943e78b64e72250f291f56816ebd13224eb0f3eb..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getMostRecentVisitorId.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-61e8cc2d51fea26d
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getVisitorProfile.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getVisitorProfile.xml
deleted file mode 100644
index a1514984907a725d2e64b2f2475d0fa47f3b2a37..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Live.getVisitorProfile.xml
+++ /dev/null
@@ -1,384 +0,0 @@
-
-
-
- 0
- 2
- 361
- 2
- 1
- 0
- 0
- 1
- 1
- 0
- 0
- 0
-
-
- 1
-
- 1
-
- 0
- 0
-
- 1000
-
-
-
- 1
- 3
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- outlink
- http://test.com
-
- 6
-
-
- 5
-
-
- plugins/Morpheus/images/link.png
- plugins/Morpheus/images/link.svg
- Outlink
- http://test.com
-
- 0 M
-
-
- 0
- USD
- $
-
-
-
-
- Piwik test
-
-
-
-
-
-
-
- returning
- plugins/Live/images/returningVisitor.png
- 0
-
- 2
- none
-
- 0
- 3600
- 0
-
- 0
- 0s
- 0
- 1
- 0
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 3600
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
- 1
- 2
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- goal
- triggered js
- 1
-
- 1000
-
-
- http://example.org/homepage
- campaign
- campaign name - yeah!
- campaign keyword - right...
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js ($1,000 revenue)
-
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
-
- 4
-
- 0
- 0s
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- 1
- USD
- $
-
-
-
-
- Piwik test
-
-
-
-
-
-
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 361
- 6 min 1s
- 0
- 1
- 1
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
-
-
- 6 min 1s
- 0
-
-
-
-
- direct
-
- Direct Entry
-
-
-
-
-
- direct
-
- Direct Entry
-
- 2
-
-
- http://example.org/homepage
- 1
-
-
-
-
- Desktop
- 2
- plugins/Morpheus/icons/dist/devices/desktop.png
-
-
- Generic Desktop
- 2
-
-
-
-
-
-
- eur
- 2
- Europe
-
-
-
-
- fr
- 2
- plugins/Morpheus/icons/dist/flags/fr.png
- France
-
-
-
-
-
- VisitorType
-
-
- LoggedOut
- 2
-
-
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
-
-
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
- 2
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Referrers.getCampaigns_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Referrers.getCampaigns_range.xml
deleted file mode 100644
index 566315146e79b486198e015cb26516e36a6aa0b3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Referrers.getCampaigns_range.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
- 1
- 1
- 1000
-
-
- 1
- 1000
- 0
- referrerType==campaign;referrerName==campaign+name+-+yeah%21
-
-
-
-
-
- 1
- 1
- 1000
-
-
- 1
- 1000
- 0
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Referrers.getKeywords_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Referrers.getKeywords_range.xml
deleted file mode 100644
index 40662f8095a356797da60cbc17e70794a021456b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__Referrers.getKeywords_range.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
- 1
- 0
- referrerType==search;referrerKeyword==this+keyword+should+be+ranked
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
- 1
- 0
-
-
-
-
-
-
-
- 1
- 1
- 0
-
-
- 1
- 1
- 0
-
-
- 2
- 0
- 0
- referrerType==search;referrerKeyword==piwik
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__VisitsSummary.get_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__VisitsSummary.get_range.xml
deleted file mode 100644
index fb680d3186d30f381182cd417bba1c153b4fcec5..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI__VisitsSummary.get_range.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- 3
- 5
- 2
- 2
- 727
- 3
- 67%
- 1.7
- 242
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__API.getProcessedReport_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__API.getProcessedReport_range.xml
deleted file mode 100644
index e81294db961341f0fefab6f08c476a07121ae092..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__API.getProcessedReport_range.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
- Piwik test
-
-
- Visitors
- Locations
- Country
- UserCountry
- getCountry
- Country
- Shows which country your visitors connected from when accessing your website.
-
- Visits
- Actions
-
-
- If a visitor comes to your website for the first time or if they visit a page more than 30 minutes after their last page view, this will be recorded as a new visit.
- The number of unduplicated visitors coming to your website. Every user is only counted once, even if they visit the website multiple times a day.
- The number of actions performed by your visitors. Actions can be page views, internal site searches, downloads or outlinks.
- The number of users logged in your website. It is the number of unique active users that have a User ID set (via the Tracking code function 'setUserId').
- The average number of actions (page views, site searches, downloads or outlinks) that were performed during the visits.
- The average duration of a visit.
- The percentage of visits that only had a single pageview. This means, that the visitor left the website directly from the entrance page.
- The percentage of visits that triggered a conversion. The conversion rate is calculated using the number of visits that converted at least one goal. Visits converting multiple goals are only counted once in the conversion rate.
-
-
- Actions per Visit
- Avg. Time on Website
- Bounce Rate
-
-
- number
- number
- number
- number
- number
- duration_s
- percent
- percent
-
-
- Conversions
- Revenue
-
-
- Revenue per Visit
-
-
- money
- number
- percent
- money
-
- index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=UserCountry&apiAction=getCountry&period=range&date=
- index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=UserCountry&apiAction=getCountry&period=day&date=
- UserCountry_getCountry
-
-
-
- Visits
- Actions
- Actions per Visit
- Avg. Time on Website
- Bounce Rate
- Revenue
-
-
-
-
- 3
- 5
- $1,000
- 1.7
- 00:04:02
- 67%
-
-
-
-
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
- countryCode==fr
- 16
-
-
-
- 3
- 5
- 3
- 727
- 2
- 2
-
-
- 2
- 2
- 1000
-
-
- 1
- 1
- 0
-
-
- 3
- 1000
- 2
- 0
- 1.7
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Actions.getPageUrls_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Actions.getPageUrls_range.xml
deleted file mode 100644
index 0b9cefe00c4fd6ebb7e1c10ffa90169faec6a895..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Actions.getPageUrls_range.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
- 2
- 2
- 359
- 0
- 0
-
-
- 2
- 4
- 727
- 1
- 1
-
-
- 1
- 0
- 3
- 0.3333
- 0.5
- 1
- 0
- 1000
- 1
- 500
- 2
-
-
- 1
- 0
- 1
- 1
- 1
- 1
- 0
- 0
- 0.5
- 0
- 1
-
-
- 2
- 2
- 1
- 0
- 0
- 180
- 50%
- 50%
- http://example.org/homepage
- pageUrl==http%253A%252F%252Fexample.org%252Fhomepage
-
-
-
- 1
- 2
- 1
- 0
- 0
-
-
- 1
-
-
- 2
- 0
- 3
- 0.6666
- 1
- 2
- 0
-
-
- 0
- 0
- 1
- 0%
- 100%
- pageUrl=^http%253A%252F%252Fpiwik.net%252Fuser
-
-
-
- 1
- 2
- 1
- 0
- 0
-
-
- 1
-
-
- 2
- 0
- 3
- 0.6666
- 1
- 2
- 0
-
-
- 1
- 1
- 1
- 0%
- 100%
- http://example.org/user/profile
- pageUrl==http%253A%252F%252Fexample.org%252Fuser%252Fprofile
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__CustomVariables.getCustomVariables_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__CustomVariables.getCustomVariables_range.xml
deleted file mode 100644
index 9c61c4e2e77b54fface30d7efa0b3622aec33922..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__CustomVariables.getCustomVariables_range.xml
+++ /dev/null
@@ -1,296 +0,0 @@
-
-
-
-
- 3
- 5
- 3
- 727
- 2
- 2
-
-
- 2
- 2
- 1000
-
-
- 1
- 1
- 0
-
-
- 3
- 1000
- 2
- 0
-
-
- visit
- 1
-
-
- customVariableName==VisitorType
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
-
- 2
- 2
- 1
- 361
- 2
- 1
-
-
- 1
- 1
- 1000
-
-
- 1
- 1
- 0
-
-
- 2
- 1000
- 1
- 0
-
-
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
- visit
- 2
-
-
- customVariableName==SET+WITH+EMPTY+VALUE
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
- visit
- 3
-
-
- customVariableName==Value+will+be+VERY+long+and+truncated
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
-
-
- 1
- 1
- 0
-
-
- 1
- 0
- 1
- 0
-
-
-
-
-
- 3
-
-
- page
- 4
-
-
- page
- 5
-
-
- customVariableName==Status+user
-
-
-
- 2
- 2
- 2
-
-
-
- 1
- 1
- 1
-
-
-
-
-
- 2
- 2
- 1
- 361
- 2
- 1
-
-
- 1
- 1
- 1000
-
-
- 1
- 1000
- 1
- 0
-
-
- visit
- 2
-
-
- customVariableName==Othercustom+value+which+should+be+truncated+abcdefghijklmnopqrstuvwxyz
-
-
-
- 2
- 2
- 1
- 361
- 2
- 1
-
-
- 1
- 1
- 1000
-
-
- 1
- 1000
- 1
- 0
-
-
-
-
-
- 1
-
-
- page
- 1
-
-
- customVariableName==Language
-
-
-
- 1
- 1
- 1
-
-
-
-
-
- 1
-
-
- page
- 2
-
-
- customVariableName==SET+WITH+EMPTY+VALUE+PAGE+SCOPE
-
-
-
- 1
- 1
- 1
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Goals.get_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Goals.get_range.xml
deleted file mode 100644
index 11192511004d4edead059860255971c2d5f8fb23..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Goals.get_range.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- 3
- 2
- 1000
- 66.67%
- 3
- 2
- 1000
- 100%
- 0
- 0
- 0
- 0%
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getCounters.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getCounters.xml
deleted file mode 100644
index ba6489a54cde26c534678d769058370621777603..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getCounters.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- 3
- 5
- 2
- 3
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getFirstVisitForVisitorId.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getFirstVisitForVisitorId.xml
deleted file mode 100644
index 4da34c3d70ce6b79d78482cc710ec35eab763294..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getFirstVisitForVisitorId.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
- 1
- 2
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- 1
- USD
- $
- 1
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 361
- 6 min 1s
- 0
- 1
- 1
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getLastVisits.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getLastVisits.xml
deleted file mode 100644
index 01b8d3f0c51d3f04614be91596008b53e12f67ab..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getLastVisits.xml
+++ /dev/null
@@ -1,486 +0,0 @@
-
-
-
- 1
- 3
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- outlink
- http://test.com
-
- 6
-
-
- 5
-
-
- plugins/Morpheus/images/link.png
- plugins/Morpheus/images/link.svg
- Outlink
- http://test.com
-
- 0 M
-
-
- 0
- USD
- $
-
- Piwik test
-
- returning
- plugins/Live/images/returningVisitor.png
- 0
-
- 2
- none
-
- 0
- 3600
- 0
-
- 0
- 0s
- 0
- 1
- 0
- campaign
- Campaigns
- campaign name - yeah!
- campaign keyword - right...
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 3600
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- 1
- 2
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- goal
- triggered js
- 1
-
- 1000
-
-
- http://example.org/homepage
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js ($1,000 revenue)
-
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
-
- 4
-
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- 1
- USD
- $
-
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 361
- 6 min 1s
- 0
- 1
- 1
- campaign
- Campaigns
- campaign name - yeah!
- campaign keyword - right...
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- 1
- 1
- 156.5.3.2
-
- e16cf2bbaeea2c88
-
-
- goal
- second goal
- 2
-
- 0
-
-
- http://example.org/homepage
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- second goal
-
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
-
- 1
-
- 360
- 6 min 0s
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- goal
- triggered js
- 1
-
- 0
-
-
- http://example.org/user/profile
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js
-
-
-
- action
- http://example.org/user/profile
- Profile page
- 4
-
-
- 2
-
- 0
- 0s
- 2
- Profile page
- http://example.org/user/profile
-
- plugins/Morpheus/images/action.svg
-
-
-
- Status user
- Loggedin
-
-
- Status user
- looking at "profile page"
-
-
- 0 M
-
-
- action
- http://example.org/user/profile
- Profile page for user *_)%
- 4
-
-
- 3
-
- 3
- Profile page for user *_)%
- http://example.org/user/profile
-
- plugins/Morpheus/images/action.svg
-
-
-
- Language
- FR
-
-
- SET WITH EMPTY VALUE PAGE SCOPE
-
-
-
- Status user
- looking at "profile page"
-
-
- 0 M
-
-
- 2
- USD
- $
-
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 364
- 6 min 4s
- 0
- 3
- 3
- search
- Search Engines
- Google
- this keyword should be ranked
- 1
- http://www.google.com/url?source=web&cd=1&url=http://piwik.org/&rct=j&q=this keyword should be ranked&sig2=BvKAdCtNixsmfNWXjsNyMw
- http://google.com
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.6
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.6
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
-
-
- VisitorType
- LoggedIn
-
-
- SET WITH EMPTY VALUE
-
-
-
- Value will be VERY long and truncated
- abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrst
-
-
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getLastVisitsDetails_range.xml
deleted file mode 100644
index 7c2520e6d7529f5572e9096f8e6a8c895b5d6b05..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getLastVisitsDetails_range.xml
+++ /dev/null
@@ -1,479 +0,0 @@
-
-
-
- 1
- 3
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- outlink
- http://test.com
-
- 6
-
- 5
-
-
- plugins/Morpheus/images/link.png
- plugins/Morpheus/images/link.svg
- Outlink
- http://test.com
-
- 0 M
-
-
- 0
- USD
- $
-
- Piwik test
-
- returning
- plugins/Live/images/returningVisitor.png
- 0
-
- 2
- none
-
- 0
- 3600
- 0
-
- 0
- 0s
- 0
- 1
- 0
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 3600
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
- 1
- 2
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- goal
- triggered js
- 1
-
- 1000
-
- http://example.org/homepage
- campaign
- campaign name - yeah!
- campaign keyword - right...
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js ($1,000 revenue)
-
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
- 4
-
- 0
- 0s
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- 1
- USD
- $
-
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 361
- 6 min 1s
- 0
- 1
- 1
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
- 1
- 1
- 156.5.3.2
-
- e16cf2bbaeea2c88
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
- 1
-
- 359
- 5 min 59s
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- goal
- second goal
- 2
-
- 0
-
- http://example.org/homepage
- search
- Google
- piwik
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- second goal
-
-
-
- action
- http://example.org/user/profile
- Profile page
- 4
-
- 2
-
- 1
- 1s
- 2
- Profile page
- http://example.org/user/profile
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- Status user
- Loggedin
-
-
- Status user
- looking at "profile page"
-
-
-
-
- action
- http://example.org/user/profile
- Profile page for user *_)%
- 4
-
- 3
-
- 0
- 0s
- 3
- Profile page for user *_)%
- http://example.org/user/profile
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- Language
- FR
-
-
- SET WITH EMPTY VALUE PAGE SCOPE
-
-
-
- Status user
- looking at "profile page"
-
-
-
-
- goal
- triggered js
- 1
-
- 0
-
- http://example.org/user/profile
- search
- Google
- piwik
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js
-
-
-
- 2
- USD
- $
-
- Piwik test
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 366
- 6 min 6s
- 0
- 3
- 3
- search
- Search Engines
- Google
- this keyword should be ranked
- 1
- http://www.google.com/url?source=web&cd=1&url=http://piwik.org/&rct=j&q=this keyword should be ranked&sig2=BvKAdCtNixsmfNWXjsNyMw
- http://google.com
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.6
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.6
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedIn
-
-
- SET WITH EMPTY VALUE
-
-
-
- Value will be VERY long and truncated
- abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrstuvwxyz----abcdefghijklmnopqrst
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getMostRecentVisitorId.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getMostRecentVisitorId.xml
deleted file mode 100644
index 943e78b64e72250f291f56816ebd13224eb0f3eb..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getMostRecentVisitorId.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-61e8cc2d51fea26d
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getVisitorProfile.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getVisitorProfile.xml
deleted file mode 100644
index a1514984907a725d2e64b2f2475d0fa47f3b2a37..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Live.getVisitorProfile.xml
+++ /dev/null
@@ -1,384 +0,0 @@
-
-
-
- 0
- 2
- 361
- 2
- 1
- 0
- 0
- 1
- 1
- 0
- 0
- 0
-
-
- 1
-
- 1
-
- 0
- 0
-
- 1000
-
-
-
- 1
- 3
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- outlink
- http://test.com
-
- 6
-
-
- 5
-
-
- plugins/Morpheus/images/link.png
- plugins/Morpheus/images/link.svg
- Outlink
- http://test.com
-
- 0 M
-
-
- 0
- USD
- $
-
-
-
-
- Piwik test
-
-
-
-
-
-
-
- returning
- plugins/Live/images/returningVisitor.png
- 0
-
- 2
- none
-
- 0
- 3600
- 0
-
- 0
- 0s
- 0
- 1
- 0
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 3600
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
- 1
- 2
- 156.5.3.2
-
- d5089722a4391cf9
-
-
- goal
- triggered js
- 1
-
- 1000
-
-
- http://example.org/homepage
- campaign
- campaign name - yeah!
- campaign keyword - right...
- plugins/Morpheus/images/goal.png
- plugins/Morpheus/images/goal.svg
- Goal conversion
- triggered js ($1,000 revenue)
-
-
-
- action
- http://example.org/homepage
- Homepage
- 2
-
-
- 4
-
- 0
- 0s
- 1
- Homepage
- http://example.org/homepage
-
- plugins/Morpheus/images/action.svg
-
- 0 M
-
-
- 1
- USD
- $
-
-
-
-
- Piwik test
-
-
-
-
-
-
-
- new
-
- 1
- plugins/Morpheus/images/goal.svg
- 1
- none
-
- 0
- 0
- 0
-
- 361
- 6 min 1s
- 0
- 1
- 1
- direct
- Direct Entry
-
-
-
-
-
-
-
-
-
-
- fr
- French
- Desktop
- plugins/Morpheus/icons/dist/devices/desktop.png
- Unknown
- Generic Desktop
- Windows XP
- Windows
- plugins/Morpheus/icons/dist/os/WIN.png
- WIN
- XP
- Gecko
- Gecko (Firefox)
- Firefox 3.0
- Firefox
- plugins/Morpheus/icons/dist/browsers/FF.png
- FF
- 3.0
- 0
- Europe
- eur
- France
- fr
- plugins/Morpheus/icons/dist/flags/fr.png
-
-
-
- France
-
-
- 12:34:06
- 12
- 0
- 0
- 1111x222
- cookie, flash, java
-
-
- plugins/Morpheus/icons/dist/plugins/cookie.png
- cookie
-
-
- plugins/Morpheus/icons/dist/plugins/flash.png
- flash
-
-
- plugins/Morpheus/icons/dist/plugins/java.png
- java
-
-
-
-
- VisitorType
- LoggedOut
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
-
-
-
-
-
-
- 6 min 1s
- 0
-
-
-
-
- direct
-
- Direct Entry
-
-
-
-
-
- direct
-
- Direct Entry
-
- 2
-
-
- http://example.org/homepage
- 1
-
-
-
-
- Desktop
- 2
- plugins/Morpheus/icons/dist/devices/desktop.png
-
-
- Generic Desktop
- 2
-
-
-
-
-
-
- eur
- 2
- Europe
-
-
-
-
- fr
- 2
- plugins/Morpheus/icons/dist/flags/fr.png
- France
-
-
-
-
-
- VisitorType
-
-
- LoggedOut
- 2
-
-
-
-
- Othercustom value which should be truncated abcdefghijklmnopqrstuvwxyz
-
-
- abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
- 2
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Referrers.getCampaigns_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Referrers.getCampaigns_range.xml
deleted file mode 100644
index 566315146e79b486198e015cb26516e36a6aa0b3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Referrers.getCampaigns_range.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
- 1
- 1
- 1000
-
-
- 1
- 1000
- 0
- referrerType==campaign;referrerName==campaign+name+-+yeah%21
-
-
-
-
-
- 1
- 1
- 1000
-
-
- 1
- 1000
- 0
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Referrers.getKeywords_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Referrers.getKeywords_range.xml
deleted file mode 100644
index 40662f8095a356797da60cbc17e70794a021456b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Referrers.getKeywords_range.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
- 1
- 0
- referrerType==search;referrerKeyword==this+keyword+should+be+ranked
-
-
-
- 1
- 3
- 3
- 366
- 0
- 1
- 1
- 0
-
-
-
-
-
-
-
- 1
- 1
- 0
-
-
- 1
- 1
- 0
-
-
- 2
- 0
- 0
- referrerType==search;referrerKeyword==piwik
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__VisitsSummary.get_range.xml b/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__VisitsSummary.get_range.xml
deleted file mode 100644
index fb680d3186d30f381182cd417bba1c153b4fcec5..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__VisitsSummary.get_range.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- 3
- 5
- 2
- 2
- 727
- 3
- 67%
- 1.7
- 242
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getDownloads_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getDownloads_day.xml
deleted file mode 100644
index ed73fab9bbfb052446cdfb603c1a9235a3bad8b1..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getDownloads_day.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- http://cloudsite5.com/20/download
- downloadUrl==http%253A%252F%252Fcloudsite5.com%252F20%252Fdownload
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- http://cloudsite6.com/24/download
- downloadUrl==http%253A%252F%252Fcloudsite6.com%252F24%252Fdownload
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- http://cloudsite7.com/28/download
- downloadUrl==http%253A%252F%252Fcloudsite7.com%252F28%252Fdownload
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 10
- 10
- 0
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getDownloads_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getDownloads_month.xml
deleted file mode 100644
index c4002cad4020f2409973fb81583f45fe87230c74..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getDownloads_month.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- http://cloudsite25.com/100/download
- downloadUrl==http%253A%252F%252Fcloudsite25.com%252F100%252Fdownload
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- http://cloudsite26.com/104/download
- downloadUrl==http%253A%252F%252Fcloudsite26.com%252F104%252Fdownload
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- http://cloudsite27.com/108/download
- downloadUrl==http%253A%252F%252Fcloudsite27.com%252F108%252Fdownload
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 60
- 60
- 0
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getOutlinks_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getOutlinks_day.xml
deleted file mode 100644
index 0b833a2b513b55b3316a3fa52b3151015a10f143..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getOutlinks_day.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- http://othersite10.com/
- outlinkUrl==http%253A%252F%252Fothersite10.com%252F
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- http://othersite11.com/
- outlinkUrl==http%253A%252F%252Fothersite11.com%252F
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- http://othersite12.com/
- outlinkUrl==http%253A%252F%252Fothersite12.com%252F
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 10
- 10
- 0
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getOutlinks_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getOutlinks_month.xml
deleted file mode 100644
index 57135bf0bca3bd09980b2a52382c04d910df1084..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getOutlinks_month.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- http://othersite10.com/
- outlinkUrl==http%253A%252F%252Fothersite10.com%252F
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- http://othersite11.com/
- outlinkUrl==http%253A%252F%252Fothersite11.com%252F
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- http://othersite12.com/
- outlinkUrl==http%253A%252F%252Fothersite12.com%252F
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
-
-
-
-
-
- 60
- 60
- 0
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageTitles_day.xml
deleted file mode 100644
index 31695fa6591652bff39abfabd69bcfb67b5f26c2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 2
- 1
- 0
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_34
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 42
- 167
- 15
- 27
- 40
- 0
- 0
- 0
- 64%
- 28%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageTitles_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageTitles_month.xml
deleted file mode 100644
index ca821d13066c9cee34ae2ef7911e114cc3107341..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageTitles_month.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
- 25
- 25
- 0
- 0
- 0
-
-
- 25
- 25
- 0
- 25
- 25
- 25
- 25
- 25
- 0
- 0
- 0
- 100%
- 100%
- pageTitle==bought%2Bbook
-
-
-
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_32
-
-
-
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_33
-
-
-
- 203
- 203
- 0
- 0
- 0
-
-
- 93
- 219
- 16
- 77
- 91
- 14
- 7
- 7
- 0
- 0
- 0
- 83%
- 45%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageUrls_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageUrls_day.xml
deleted file mode 100644
index d8945481e6840ed063479c8ede5f29d87273f528..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageUrls_day.xml
+++ /dev/null
@@ -1,198 +0,0 @@
-
-
-
-
- 32
- 32
- 0
- 0
- 0
-
-
- 11
- 2
- 3
- 1
- 1
- 0
- 0
- 0
- 50%
- 34%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F8
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 24
- 24
- 0
- 0
- 0
-
-
- 2
- 3
- 1
- 1
- 10
- 0
- 50%
- 42%
-
-
-
-
-
- 28
- 28
- 0
- 0
- 0
-
-
- 1
- 2
- 10
- 2
- 0
- 0
- 0
- 0
- 0%
- 4%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F7
-
-
-
- 7
- 7
- 7
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 14%
- http://piwik.net/7/28
- pageUrl==http%253A%252F%252Fpiwik.net%252F7%252F28
-
-
-
- 21
- 21
- 0
- 0
- 0
-
-
- 2
- 10
- 2
- 0
- 0
- 0%
- 0%
-
-
-
-
-
- 24
- 24
- 0
- 0
- 0
-
-
- 1
- 2
- 18
- 2
- 0
- 0
- 0
- 0
- 0%
- 4%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F6
-
-
-
- 6
- 6
- 6
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 17%
- http://piwik.net/6/24
- pageUrl==http%253A%252F%252Fpiwik.net%252F6%252F24
-
-
-
- 18
- 18
- 0
- 0
- 0
-
-
- 2
- 18
- 2
- 0
- 0
- 0%
- 0%
-
-
-
-
-
- 85
- 85
- 0
- 0
- 0
-
-
- 37
- 138
- 11
- 26
- 30
- 0
- 0
- 0
- 70%
- 35%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageUrls_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageUrls_month.xml
deleted file mode 100644
index 2b08fa5049ea141ef195a26c11f732e7d95a98f0..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getPageUrls_month.xml
+++ /dev/null
@@ -1,165 +0,0 @@
-
-
-
-
- 32
- 32
- 0
- 0
- 0
-
-
- 11
- 2
- 3
- 1
- 1
- 0
- 0
- 0
- 50%
- 34%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F8
-
-
-
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 24
- 24
- 0
- 0
- 0
-
-
- 2
- 3
- 1
- 1
- 10
- 0
- 50%
- 42%
-
-
-
-
-
- 28
- 28
- 0
- 0
- 0
-
-
- 1
- 2
- 10
- 2
- 0
- 0
- 0
- 0
- 0%
- 4%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F7
-
-
-
- 7
- 7
- 0
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0%
- 14%
- http://piwik.net/7/28
- pageUrl==http%253A%252F%252Fpiwik.net%252F7%252F28
-
-
-
- 21
- 21
- 0
- 0
- 0
-
-
- 2
- 10
- 2
- 0
- 0
- 0%
- 0%
-
-
-
-
-
- 25
- 25
- 0
- 0
- 0
-
-
- 25
- 25
- 0
- 25
- 25
- 25
- 25
- 25
- 0
- 0
- 0
- 100%
- 100%
- http://example.com/piwik/
- pageUrl==http%253A%252F%252Flocalhost%252F
-
-
-
- 159
- 159
- 0
- 0
- 0
-
-
- 81
- 89
- 206
- 13
- 76
- 0
- 0
- 0
- 85%
- 51%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getSiteSearchKeywords_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getSiteSearchKeywords_day.xml
deleted file mode 100644
index 5de252a5d0b01878e7d90a2e78fdba64dbeebe0a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getSiteSearchKeywords_day.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
- 10
- 10
- 0
- 0
- 0
-
-
- 10
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword20
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword21
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword22
-
-
-
- 37
- 37
- 0
- 0
- 0
-
-
- 37
- 1
- 0
- 0
- 0%
- 100%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getSiteSearchKeywords_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getSiteSearchKeywords_month.xml
deleted file mode 100644
index 56325bc6df79c4b51e973d14ffc49a23b91a5e96..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Actions.getSiteSearchKeywords_month.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
- 30
- 30
- 0
- 0
- 0
-
-
- 30
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword100
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword101
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword102
-
-
-
- 117
- 117
- 0
- 0
- 0
-
-
- 117
- 1
- 0
- 0
- 0%
- 100%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentNames_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentNames_day.xml
deleted file mode 100644
index 0a6a40ca5fccbdd214d14ff62d00ffdca79bc1fd..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentNames_day.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 5
- 100%
- contentName==content+name+20
-
-
-
- 1
- 5
- 5
- 0
- 0%
- contentName==content+name+21
-
-
-
- 1
- 5
- 5
- 5
- 100%
- contentName==content+name+22
-
-
-
- 2
- 10
- 10
- 5
- 50%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentNames_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentNames_month.xml
deleted file mode 100644
index b0b79dac6b94193db4136342b299d721d567b591..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentNames_month.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 5
- 5
- 5
- 1
- 100%
- contentName==content+name+20
-
-
-
- 5
- 5
- 0
- 1
- 0%
- contentName==content+name+21
-
-
-
- 5
- 5
- 5
- 1
- 100%
- contentName==content+name+22
-
-
-
- 60
- 60
- 35
- 12
- 58.33%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentPieces_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentPieces_day.xml
deleted file mode 100644
index 203747d508cdd5a9beda4d164dfbcf892331ab0b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentPieces_day.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 5
- 100%
- contentPiece==content+piece+20
-
-
-
- 1
- 5
- 5
- 0
- 0%
- contentPiece==content+piece+21
-
-
-
- 1
- 5
- 5
- 5
- 100%
- contentPiece==content+piece+22
-
-
-
- 2
- 10
- 10
- 5
- 50%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentPieces_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentPieces_month.xml
deleted file mode 100644
index 22b8f7e2ee910e60db53fe0e0e1641a4608bf811..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Contents.getContentPieces_month.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 5
- 5
- 5
- 1
- 100%
- contentPiece==content+piece+20
-
-
-
- 5
- 5
- 0
- 1
- 0%
- contentPiece==content+piece+21
-
-
-
- 5
- 5
- 5
- 1
- 100%
- contentPiece==content+piece+22
-
-
-
- 60
- 60
- 35
- 12
- 58.33%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__CustomVariables.getCustomVariables_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__CustomVariables.getCustomVariables_day.xml
deleted file mode 100644
index 6ee02592b75d96381959ebe371299dcd61942fc9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__CustomVariables.getCustomVariables_day.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
- 20
-
-
- page
- 4
-
-
- customVariableName==liked
-
-
-
- 16
- 16
-
-
-
- 4
- 4
-
-
-
-
-
- 20
-
-
- page
- 1
-
-
- customVariableName==name
-
-
-
- 1
- 1
-
-
-
- 19
- 19
-
-
-
-
-
- 60
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__CustomVariables.getCustomVariables_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__CustomVariables.getCustomVariables_month.xml
deleted file mode 100644
index 8e46420d5f24e9a1328ade5b557a3e8afbc2f67b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__CustomVariables.getCustomVariables_month.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
- 60
-
-
- page
- 4
-
-
- customVariableName==liked
-
-
-
- 48
- 48
- 15
-
-
-
- 12
- 12
- 12
-
-
-
-
-
- 60
-
-
- page
- 1
-
-
- customVariableName==name
-
-
-
- 3
- 3
- 3
-
-
-
- 57
- 57
- 57
-
-
-
-
-
- 180
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getBrowserVersions_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getBrowserVersions_day.xml
deleted file mode 100644
index 9628795a8df5972ad4d23125be36cdb0b0ecb699..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getBrowserVersions_day.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- 6
- 30
- 30
- 6
- 1
- 0
- 30
- 0
- browserCode==FF;browserVersion==6.0
- plugins/Morpheus/icons/dist/browsers/FF.png
-
-
-
- 4
- 20
- 20
- 4
- 1
- 0
- 20
- 0
- browserCode==CH;browserVersion==3.0
- plugins/Morpheus/icons/dist/browsers/CH.png
-
-
-
- 33
- 93
- 244
- 33
- 15
- 81
- 27
- 0
- plugins/Morpheus/icons/dist/browsers/UNK.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getBrowserVersions_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getBrowserVersions_month.xml
deleted file mode 100644
index 8e85ab1e56efd337809c8ded0d1ba442348fa131..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getBrowserVersions_month.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- 60
- 60
- 2
- 25
- 45
- 0
- 12
- 12
- browserCode==FF;browserVersion==6.0
- plugins/Morpheus/icons/dist/browsers/FF.png
-
-
-
- 60
- 60
- 2
- 25
- 45
- 0
- 12
- 12
- browserCode==IE;browserVersion==9.0
- plugins/Morpheus/icons/dist/browsers/IE.png
-
-
-
- 298
- 499
- 15
- 161
- 162
- 0
- 94
- 94
- plugins/Morpheus/icons/dist/browsers/UNK.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getOsVersions_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getOsVersions_day.xml
deleted file mode 100644
index 55d60b51e95638691d798b6927d7dea46e50b0c6..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getOsVersions_day.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- 8
- 40
- 40
- 8
- 2
- 10
- 35
- 0
- operatingSystemCode==LIN;operatingSystemVersion==
- plugins/Morpheus/icons/dist/os/LIN.png
-
-
-
- 5
- 25
- 30
- 5
- 2
- 20
- 10
- 0
- operatingSystemCode==AND;operatingSystemVersion==4.0
- plugins/Morpheus/icons/dist/os/AND.png
-
-
-
- 30
- 78
- 224
- 30
- 15
- 51
- 32
- 0
- plugins/Morpheus/icons/dist/os/UNK.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getOsVersions_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getOsVersions_month.xml
deleted file mode 100644
index 3c9c5816fb4b4a180c4b65ed39f6714727256882..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__DevicesDetection.getOsVersions_month.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- 100
- 120
- 2
- 55
- 60
- 0
- 20
- 20
- operatingSystemCode==LIN;operatingSystemVersion==
- plugins/Morpheus/icons/dist/os/LIN.png
-
-
-
- 75
- 90
- 2
- 40
- 45
- 0
- 15
- 15
- operatingSystemCode==AND;operatingSystemVersion==4.0
- plugins/Morpheus/icons/dist/os/AND.png
-
-
-
- 243
- 409
- 15
- 116
- 147
- 0
- 83
- 83
- plugins/Morpheus/icons/dist/os/UNK.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getAction_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Events.getAction_day.xml
deleted file mode 100644
index 2e7988119b74e242bd7b221fada7468acc5c7888..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getAction_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventAction==event+action+1
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventAction==event+action+2
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getAction_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Events.getAction_month.xml
deleted file mode 100644
index 9f8ec4c5e9c60b80741a85ed51538b9f8459f286..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getAction_month.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 15
- 15
- 0
- 0
-
-
- 3
- 0
- eventAction==event+action+1
-
-
-
- 5
- 5
- 0
- 0
-
-
- 1
- 0
-
-
-
- 10
- 10
- 0
- 0
-
-
- 2
- 0
-
-
-
-
-
- 10
- 10
- 0
- 0
-
-
- 2
- 0
- eventAction==event+action+0
-
-
-
- 5
- 5
- 0
- 0
-
-
- 1
- 0
-
-
-
- 5
- 5
- 0
- 0
-
-
- 1
- 0
-
-
-
-
-
- 50
- 50
- 0
- 0
-
-
- 10
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Events.getCategory_day.xml
deleted file mode 100644
index cd4822f6156e2733a95456b4ebacaaf3124cb2ff..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getCategory_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventCategory==event+category+0
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventCategory==event+category+1
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getCategory_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Events.getCategory_month.xml
deleted file mode 100644
index 0527d05ca62fa225d7d167d585a74c3e8910ae99..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getCategory_month.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 15
- 15
- 0
- 0
-
-
- 3
- 0
- eventCategory==event+category+1
-
-
-
- 5
- 5
- 0
- 0
-
-
- 1
- 0
-
-
-
- 10
- 10
- 0
- 0
-
-
- 2
- 0
-
-
-
-
-
- 10
- 10
- 0
- 0
-
-
- 2
- 0
- eventCategory==event+category+0
-
-
-
- 5
- 5
- 0
- 0
-
-
- 1
- 0
-
-
-
- 5
- 5
- 0
- 0
-
-
- 1
- 0
-
-
-
-
-
- 50
- 50
- 0
- 0
-
-
- 10
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getName_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Events.getName_day.xml
deleted file mode 100644
index 2e9f6b6bcf002b44dd27571514a99ce743e75e29..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getName_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventName==event+name0
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventName==event+name1
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getName_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Events.getName_month.xml
deleted file mode 100644
index c0f7d9799377a500186b03ada6268e377775552a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Events.getName_month.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 15
- 15
- 0
- 0
-
-
- 3
- 0
- eventName==event+name0
-
-
-
- 5
- 5
- 0
- 0
-
-
- 1
- 0
-
-
-
- 10
- 10
- 0
- 0
-
-
- 2
- 0
-
-
-
-
-
- 15
- 15
- 0
- 0
-
-
- 3
- 0
- eventName==event+name1
-
-
-
- 5
- 5
- 0
- 0
-
-
- 1
- 0
-
-
-
- 10
- 10
- 0
- 0
-
-
- 2
- 0
-
-
-
-
-
- 45
- 45
- 0
- 0
-
-
- 9
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsCategory_day.xml
deleted file mode 100644
index 8688f0299167abe06de6bf1556a5271dce10ccc2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsCategory_day.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%230
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%231
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%232
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%233
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%234
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsName_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsName_day.xml
deleted file mode 100644
index bd2c7510d0efea45426fb0e1137d2a835f7ecc86..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsName_day.xml
+++ /dev/null
@@ -1,253 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book0
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book1
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book2
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book3
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book4
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book5
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book6
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book7
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book8
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book9
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book10
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book11
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book12
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book13
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book14
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book15
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book16
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book17
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book18
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book19
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book20
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book21
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book22
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book23
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book24
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsSku_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsSku_day.xml
deleted file mode 100644
index c12963aa01bb5917a8bb1c99a685d3ee32e48477..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Goals.getItemsSku_day.xml
+++ /dev/null
@@ -1,253 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book0
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book1
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book2
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book3
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book4
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book5
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book6
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book7
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book8
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book9
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book10
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book11
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book12
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book13
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book14
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book15
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book16
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book17
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book18
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book19
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book20
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book21
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book22
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book23
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book24
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getAll_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getAll_day.xml
deleted file mode 100644
index b260cab8d9f73820b9d8143833826512f2968854..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getAll_day.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
- 3
- 4
- 4
- 3
- 1
- 0
- 4
- 0
- referrerName==whatever0.com
- 3
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerKeyword==this+search+term
- 2
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerType==search;referrerKeyword==search+term+2
- 2
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerName==whatever1.com
- 3
-
-
-
- 9
- 9
- 9
- 9
- 2
- 0
- 9
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getAll_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getAll_month.xml
deleted file mode 100644
index c527515078f005f5a383fc8b229e9b8121f25ccb..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getAll_month.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
- 12
- 12
- 1
- 0
- 12
- 0
- 9
- 9
- referrerName==whatever0.com
- 3
-
-
-
- 9
- 9
- 1
- 0
- 9
- 0
- 9
- 9
- referrerType==search;referrerKeyword==this+search+term
- 2
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
- referrerType==search;referrerKeyword==search+term+2
- 2
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
- referrerName==whatever1.com
- 3
-
-
-
- 27
- 27
- 2
- 0
- 27
- 0
- 27
- 27
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getKeywords_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getKeywords_day.xml
deleted file mode 100644
index 2701dce9351fe1cf449a3d9c5c4aef74238f1055..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getKeywords_day.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerKeyword==this+search+term
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerType==search;referrerKeyword==search+term+2
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
-
-
- 7
- 7
- 7
- 7
- 1
- 0
- 7
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getKeywords_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getKeywords_month.xml
deleted file mode 100644
index 9fad17e57824f1f9d55470b69857c402d3561dbe..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getKeywords_month.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 9
- 9
- 1
- 0
- 9
- 0
- 9
- 9
- referrerType==search;referrerKeyword==this+search+term
-
-
-
- 3
- 3
- 1
- 0
- 3
- 0
- 3
- 3
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
-
-
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
- referrerType==search;referrerKeyword==search+term+2
-
-
-
- 3
- 3
- 1
- 0
- 3
- 0
- 3
- 3
-
-
-
- 3
- 3
- 1
- 0
- 3
- 0
- 3
- 3
-
-
-
-
-
- 21
- 21
- 1
- 0
- 21
- 0
- 21
- 21
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getReferrerType_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getReferrerType_day.xml
deleted file mode 100644
index 1778affc303836b13cd2175b5c81cb03a52800d1..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getReferrerType_day.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
- 43
- 123
- 274
- 43
- 15
- 81
- 57
- 0
- referrerType==direct
- 1
-
-
-
- 12
- 12
- 12
- 12
- 1
- 0
- 12
- 0
- referrerType==search
- 2
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerType==search;referrerKeyword==search+term+2
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerKeyword==this+search+term
-
-
-
- 7
- 7
- 7
- 7
- 1
- 0
- 7
- 0
-
-
-
-
-
- 7
- 8
- 8
- 7
- 1
- 0
- 8
- 0
- referrerType==website
- 3
-
-
-
- 3
- 4
- 4
- 3
- 1
- 0
- 4
- 0
- referrerName==whatever0.com
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerName==whatever1.com
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getReferrerType_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getReferrerType_month.xml
deleted file mode 100644
index ad83056aa7414c63c709f38cc59fe2afa55213d6..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getReferrerType_month.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
- 358
- 559
- 15
- 211
- 192
- 0
- 118
- 118
- referrerType==direct
- 1
-
-
-
- 36
- 36
- 1
- 0
- 36
- 0
- 36
- 36
- referrerType==search
- 2
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
- referrerType==search;referrerKeyword==search+term+2
-
-
-
- 9
- 9
- 1
- 0
- 9
- 0
- 9
- 9
- referrerType==search;referrerKeyword==this+search+term
-
-
-
- 21
- 21
- 1
- 0
- 21
- 0
- 21
- 21
-
-
-
-
-
- 24
- 24
- 1
- 0
- 24
- 0
- 21
- 21
- referrerType==website
- 3
-
-
-
- 12
- 12
- 1
- 0
- 12
- 0
- 9
- 9
- referrerName==whatever0.com
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
- referrerName==whatever1.com
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getSearchEngines_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getSearchEngines_day.xml
deleted file mode 100644
index d89b5a581d61752ed4077b386c1f5bd325775d93..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getSearchEngines_day.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerName==Google
- http://google.com
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerName==Yahoo%21
- http://search.yahoo.com
- plugins/Morpheus/icons/dist/searchEngines/search.yahoo.com.png
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
-
- 6
- 6
- 6
- 6
- 1
- 0
- 6
- 0
- URL unknown!
- plugins/Morpheus/icons/dist/searchEngines/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getSearchEngines_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getSearchEngines_month.xml
deleted file mode 100644
index 17ca0895c7fd1c9794114f91451aa47c47bf3686..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getSearchEngines_month.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
- 9
- 9
- 1
- 0
- 9
- 0
- 9
- 9
- referrerType==search;referrerName==Google
- http://google.com
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
-
-
-
- 3
- 3
- 1
- 0
- 3
- 0
- 3
- 3
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
-
-
-
-
-
- 9
- 9
- 1
- 0
- 9
- 0
- 9
- 9
- referrerType==search;referrerName==Yahoo%21
- http://search.yahoo.com
- plugins/Morpheus/icons/dist/searchEngines/search.yahoo.com.png
-
-
-
- 3
- 3
- 1
- 0
- 3
- 0
- 3
- 3
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
-
-
-
-
-
- 18
- 18
- 1
- 0
- 18
- 0
- 18
- 18
- URL unknown!
- plugins/Morpheus/icons/dist/searchEngines/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getWebsites_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getWebsites_day.xml
deleted file mode 100644
index e0fd222b3f6677028b4fd8973583b150b96c5e45..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getWebsites_day.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 3
- 4
- 4
- 3
- 1
- 0
- 4
- 0
- referrerName==whatever0.com
-
-
-
- 1
- 2
- 2
- 1
- 1
- 0
- 2
- 0
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerName==whatever1.com
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getWebsites_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getWebsites_month.xml
deleted file mode 100644
index 5bc8433639c898bf7b7eda9c217cde3fbfc249c4..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Referrers.getWebsites_month.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 12
- 12
- 1
- 0
- 12
- 0
- 9
- 9
- referrerName==whatever0.com
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 3
- 3
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
-
-
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
- referrerName==whatever1.com
-
-
-
- 3
- 3
- 1
- 0
- 3
- 0
- 3
- 3
-
-
-
- 3
- 3
- 1
- 0
- 3
- 0
- 3
- 3
-
-
-
-
-
- 6
- 6
- 1
- 0
- 6
- 0
- 6
- 6
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getConfiguration_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getConfiguration_day.xml
deleted file mode 100644
index 1c1b970450bc8b13dacd1d49fb6303fc8243001d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getConfiguration_day.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
- 4
- 20
- 20
- 4
- 1
- 0
- 20
- 0
-
-
-
- 17
- 17
- 143
- 17
- 15
- 16
- 1
- 0
-
-
-
- 22
- 106
- 131
- 22
- 2
- 65
- 56
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getConfiguration_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getConfiguration_month.xml
deleted file mode 100644
index 3c43c2ef60bb18d5c7e394f33f27779f370f0962..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getConfiguration_month.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
- 40
- 40
- 2
- 15
- 30
- 0
- 8
- 8
-
-
-
- 25
- 25
- 1
- 0
- 25
- 0
- 25
- 25
-
-
-
- 353
- 554
- 15
- 196
- 197
- 0
- 85
- 85
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getResolution_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getResolution_day.xml
deleted file mode 100644
index 4b81cb50fd9b02644ef9b389005f5bf475343981..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getResolution_day.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 8
- 40
- 40
- 8
- 1
- 0
- 40
- 0
- resolution==1920x1080
-
-
-
- 6
- 30
- 30
- 6
- 2
- 25
- 15
- 0
- resolution==1280x1024
-
-
-
- 29
- 73
- 224
- 29
- 15
- 56
- 22
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getResolution_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getResolution_month.xml
deleted file mode 100644
index 018fdf83d650e6a56f53b7d035acef3784252085..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__Resolution.getResolution_month.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 80
- 80
- 2
- 30
- 60
- 0
- 16
- 16
- resolution==1920x1080
-
-
-
- 60
- 60
- 2
- 25
- 45
- 0
- 12
- 12
- resolution==1280x1024
-
-
-
- 278
- 479
- 15
- 156
- 147
- 0
- 90
- 90
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getCity_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getCity_day.xml
deleted file mode 100644
index 1df2cc56cf15bb2b597c805cd93a8d179d05efac..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getCity_day.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
- 7
- 35
- 35
- 7
- 2
- 20
- 25
- 0
- city==Toronto;regionCode==ON;countryCode==ca
- Toronto
- ON
- ca
- Canada
- Ontario
- plugins/Morpheus/icons/dist/flags/ca.png
-
-
-
- 6
- 30
- 40
- 6
- 2
- 20
- 15
- 0
- city==Melbourne;regionCode==VIC;countryCode==au
- Melbourne
- VIC
- au
- Australia
- Victoria
- plugins/Morpheus/icons/dist/flags/au.png
-
-
-
- 30
- 78
- 219
- 30
- 15
- 41
- 37
- 0
- plugins/Morpheus/icons/dist/flags/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getCity_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getCity_month.xml
deleted file mode 100644
index e36e90c3937b6aba25ae9fd198be58acd0b674ff..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getCity_month.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
- 105
- 105
- 2
- 60
- 75
- 0
- 21
- 21
- city==Toronto;regionCode==ON;countryCode==ca
- Toronto
- ON
- ca
- Canada
- Ontario
- plugins/Morpheus/icons/dist/flags/ca.png
-
-
-
- 96
- 126
- 2
- 60
- 51
- 0
- 24
- 24
- city==Melbourne;regionCode==VIC;countryCode==au
- Melbourne
- VIC
- au
- Australia
- Victoria
- plugins/Morpheus/icons/dist/flags/au.png
-
-
-
- 217
- 388
- 15
- 91
- 126
- 0
- 73
- 73
- plugins/Morpheus/icons/dist/flags/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getRegion_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getRegion_day.xml
deleted file mode 100644
index b0b962bad2c1fcec5abed878029f4ce7560e1efc..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getRegion_day.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- 7
- 35
- 35
- 7
- 2
- 20
- 25
- 0
- regionCode==ON;countryCode==ca
- ON
- ca
- Canada
- Ontario
- plugins/Morpheus/icons/dist/flags/ca.png
-
-
-
- 6
- 30
- 35
- 6
- 2
- 10
- 20
- 0
- regionCode==14;countryCode==jp
- 14
- jp
- Japan
- Kanagawa
- plugins/Morpheus/icons/dist/flags/jp.png
-
-
-
- 30
- 78
- 224
- 30
- 15
- 51
- 32
- 0
- plugins/Morpheus/icons/dist/flags/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getRegion_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getRegion_month.xml
deleted file mode 100644
index 5378b18b205bd2727f8b7d7ed400bd2b19cda8e1..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__UserCountry.getRegion_month.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- 105
- 105
- 2
- 60
- 75
- 0
- 21
- 21
- regionCode==ON;countryCode==ca
- ON
- ca
- Canada
- Ontario
- plugins/Morpheus/icons/dist/flags/ca.png
-
-
-
- 96
- 111
- 2
- 30
- 66
- 0
- 24
- 24
- regionCode==14;countryCode==jp
- 14
- jp
- Japan
- Kanagawa
- plugins/Morpheus/icons/dist/flags/jp.png
-
-
-
- 217
- 403
- 15
- 121
- 111
- 0
- 73
- 73
- plugins/Morpheus/icons/dist/flags/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__UserId.getUsers_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting__UserId.getUsers_day.xml
deleted file mode 100644
index 40cd1b2b4670bc16ad4f982fd58890d77fe5dc7d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__UserId.getUsers_day.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 1
- 1
- 0
- 5
- 0
-
- userId==user0
-
-
-
- 1
- 5
- 5
- 1
- 1
- 0
- 5
- 0
-
- userId==user1
-
-
-
- 41
- 133
- 284
- 41
- 15
- 81
- 67
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting__UserId.getUsers_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting__UserId.getUsers_month.xml
deleted file mode 100644
index 9738463b3536233ddc177ec041958596f56cd066..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting__UserId.getUsers_month.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- 5
- 5
- 1
- 0
- 5
- 0
- 1
- 1
-
- userId==user0
-
-
-
- 5
- 5
- 1
- 0
- 5
- 0
- 1
- 1
-
- userId==user1
-
-
-
- 408
- 609
- 15
- 211
- 242
- 0
- 116
- 116
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageTitles_day.xml
deleted file mode 100644
index 31695fa6591652bff39abfabd69bcfb67b5f26c2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 2
- 1
- 0
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_34
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 42
- 167
- 15
- 27
- 40
- 0
- 0
- 0
- 64%
- 28%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageTitles_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageTitles_month.xml
deleted file mode 100644
index ca821d13066c9cee34ae2ef7911e114cc3107341..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageTitles_month.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
- 25
- 25
- 0
- 0
- 0
-
-
- 25
- 25
- 0
- 25
- 25
- 25
- 25
- 25
- 0
- 0
- 0
- 100%
- 100%
- pageTitle==bought%2Bbook
-
-
-
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_32
-
-
-
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- 0%
- 13%
- pageTitle==title_8%2B%252F%2Btitle_33
-
-
-
- 203
- 203
- 0
- 0
- 0
-
-
- 93
- 219
- 16
- 77
- 91
- 14
- 7
- 7
- 0
- 0
- 0
- 83%
- 45%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageUrls_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageUrls_day.xml
deleted file mode 100644
index 948fa00136d7e1f506d3bdcb1ee7f38fad8da6fe..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageUrls_day.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
- 24
- 24
- 0
- 0
- 0
-
-
- 3
- 1
- 2
- 1
- 0
- 0
- 0
- 0
- 0%
- 13%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F8
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/33
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 2
- 1
- 0
- 1
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/34
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F34
-
-
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 42
- 167
- 15
- 27
- 40
- 0
- 0
- 0
- 64%
- 28%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageUrls_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageUrls_month.xml
deleted file mode 100644
index 39bc02bb0385d5bb0db8e05e88bb6a67e89f44f7..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst__Actions.getPageUrls_month.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
- 25
- 25
- 0
- 0
- 0
-
-
- 25
- 25
- 0
- 25
- 25
- 25
- 25
- 25
- 0
- 0
- 0
- 100%
- 100%
- http://example.com/piwik/
- pageUrl==http%253A%252F%252Flocalhost%252F
-
-
-
- 16
- 16
- 0
- 0
- 0
-
-
- 2
- 0
- 0
- 0
- 0%
- 13%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F8
-
-
-
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/33
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F33
-
-
-
-
-
- 203
- 203
- 0
- 0
- 0
-
-
- 93
- 219
- 16
- 77
- 91
- 14
- 7
- 7
- 0
- 0
- 0
- 83%
- 45%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_flattened__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_flattened__Actions.getPageTitles_day.xml
deleted file mode 100644
index b0d35111e132aa5e0443afc67275636d8a5d544d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_flattened__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 42
- 167
- 15
- 27
- 40
- 0
- 0
- 0
- 64%
- 28%
- 1
- Others
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- title_8 / title_32
- pageTitle==title_8%2B%252F%2Btitle_32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- title_8 / title_33
- pageTitle==title_8%2B%252F%2Btitle_33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 2
- 1
- 0
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- title_8 / title_34
- pageTitle==title_8%2B%252F%2Btitle_34
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_flattened__Actions.getPageUrls_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_flattened__Actions.getPageUrls_day.xml
deleted file mode 100644
index 6659af03fda6f93e50044519510c669bcce4e286..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_flattened__Actions.getPageUrls_day.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 42
- 167
- 15
- 27
- 40
- 0
- 0
- 0
- 64%
- 28%
- 1
- Others
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- http://piwik.net/8/32
- /8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- http://piwik.net/8/33
- /8/33
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 2
- 1
- 0
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- http://piwik.net/8/34
- /8/34
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F34
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_rankingQuery__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_rankingQuery__Actions.getPageTitles_day.xml
deleted file mode 100644
index 5135253c32adfbc6e9836ca9806c43ea2c87281c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_rankingQuery__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0%
- 0%
- pageTitle==title_8%2B%252F%2Btitle_32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0%
- 0%
- pageTitle==title_8%2B%252F%2Btitle_33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0%
- 0%
- pageTitle==title_8%2B%252F%2Btitle_34
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 36
- 108
- 12
- 24
- 37
- 0
- 0
- 0
- 67%
- 26%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_rankingQuery__Actions.getPageUrls_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_rankingQuery__Actions.getPageUrls_day.xml
deleted file mode 100644
index b31a801204a0ea116bcf9f5ca2ab8b682b316afc..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flatFirst_rankingQuery__Actions.getPageUrls_day.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
- 24
- 24
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0%
- 0%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F8
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0%
- 0%
- http://piwik.net/8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0%
- 0%
- http://piwik.net/8/33
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0%
- 0%
- http://piwik.net/8/34
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F34
-
-
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 36
- 108
- 12
- 24
- 37
- 0
- 0
- 0
- 67%
- 26%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getDownloads_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getDownloads_day.xml
deleted file mode 100644
index 0641eb934a78bb1f4e282b474770bdbda42bac6b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getDownloads_day.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
- 10
- 10
- 0
- 0
- 0
-
-
- 0
- 1
- Others
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
- 0
- cloudsite5.com/ - Others
- 1
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
- 0
- cloudsite6.com/ - Others
- 1
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
- 0
- cloudsite7.com/ - Others
- 1
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 0
- http://cloudsite5.com/20/download
- cloudsite5.com/20/download
- downloadUrl==http%253A%252F%252Fcloudsite5.com%252F20%252Fdownload
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 0
- http://cloudsite6.com/24/download
- cloudsite6.com/24/download
- downloadUrl==http%253A%252F%252Fcloudsite6.com%252F24%252Fdownload
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 0
- http://cloudsite7.com/28/download
- cloudsite7.com/28/download
- downloadUrl==http%253A%252F%252Fcloudsite7.com%252F28%252Fdownload
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getOutlinks_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getOutlinks_day.xml
deleted file mode 100644
index 332b5cfe234baeb7102e819f4eb135217140f5c8..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getOutlinks_day.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
- 10
- 10
- 0
- 0
- 0
-
-
- 0
- 1
- Others
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
- 0
- othersite10.com/ - Others
- 1
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
- 0
- othersite11.com/ - Others
- 1
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
- 0
- othersite12.com/ - Others
- 1
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 0
- http://othersite10.com/
- othersite10.com/
- outlinkUrl==http%253A%252F%252Fothersite10.com%252F
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 0
- http://othersite11.com/
- othersite11.com/
- outlinkUrl==http%253A%252F%252Fothersite11.com%252F
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 0
- http://othersite12.com/
- othersite12.com/
- outlinkUrl==http%253A%252F%252Fothersite12.com%252F
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getPageTitles_day.xml
deleted file mode 100644
index b0d35111e132aa5e0443afc67275636d8a5d544d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 42
- 167
- 15
- 27
- 40
- 0
- 0
- 0
- 64%
- 28%
- 1
- Others
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- title_8 / title_32
- pageTitle==title_8%2B%252F%2Btitle_32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- title_8 / title_33
- pageTitle==title_8%2B%252F%2Btitle_33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 2
- 1
- 0
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- title_8 / title_34
- pageTitle==title_8%2B%252F%2Btitle_34
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getPageUrls_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getPageUrls_day.xml
deleted file mode 100644
index 72c790bad5489288fd9db574c5129c26960281dc..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getPageUrls_day.xml
+++ /dev/null
@@ -1,155 +0,0 @@
-
-
-
-
- 85
- 85
- 0
- 0
- 0
-
-
- 37
- 138
- 11
- 26
- 30
- 0
- 0
- 0
- 70%
- 35%
- 1
- Others
-
-
-
- 24
- 24
- 0
- 0
- 0
-
-
- 2
- 3
- 1
- 1
- 10
- 0
- 0
- 0
- 50%
- 42%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F8
- /8/ - Others
- 1
-
-
-
- 21
- 21
- 0
- 0
- 0
-
-
- 2
- 10
- 2
- 0
- 0
- 0
- 0
- 0%
- 0%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F7
- /7/ - Others
- 1
-
-
-
- 18
- 18
- 0
- 0
- 0
-
-
- 2
- 18
- 2
- 0
- 0
- 0
- 0
- 0%
- 0%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F6
- /6/ - Others
- 1
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 13%
- http://piwik.net/8/32
- /8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 7
- 7
- 7
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 14%
- http://piwik.net/7/28
- /7/28
- pageUrl==http%253A%252F%252Fpiwik.net%252F7%252F28
-
-
-
- 6
- 6
- 6
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0
- 0%
- 17%
- http://piwik.net/6/24
- /6/24
- pageUrl==http%253A%252F%252Fpiwik.net%252F6%252F24
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getSiteSearchKeywords_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getSiteSearchKeywords_day.xml
deleted file mode 100644
index 794dc442aa822f46f2b5fe30f265f1a7e539add2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Actions.getSiteSearchKeywords_day.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
- 37
- 37
- 0
- 0
- 0
-
-
- 37
- 1
- 0
- 0
- 0%
- 100%
- 1
- Others
-
-
-
- 10
- 10
- 0
- 0
- 0
-
-
- 10
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword
- keyword
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword20
- keyword20
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword21
- keyword21
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword22
- keyword22
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Contents.getContentNames_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Contents.getContentNames_day.xml
deleted file mode 100644
index 375d3ca3cf5f431d7bca9b4ee75559e1c6db8033..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Contents.getContentNames_day.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
- 2
- 10
- 10
- 5
- 50%
- 1
- Others
-
-
-
- 1
- 5
- 5
- 5
- 100%
- content name 20 - content piece 20
- contentName==content+name+20
-
-
-
- 1
- 5
- 5
- 0
- 0%
- content name 21 - content piece 21
- contentName==content+name+21
-
-
-
- 1
- 5
- 5
- 5
- 100%
- content name 22 - content piece 22
- contentName==content+name+22
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Contents.getContentPieces_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Contents.getContentPieces_day.xml
deleted file mode 100644
index e59bf19f2354a0a61ad7e8e30e2b5b67ccf2f317..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Contents.getContentPieces_day.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
- 2
- 10
- 10
- 5
- 50%
- 1
- Others
-
-
-
- 1
- 5
- 5
- 5
- 100%
- content piece 20 - content name 20
- contentPiece==content+piece+20
-
-
-
- 1
- 5
- 5
- 0
- 0%
- content piece 21 - content name 21
- contentPiece==content+piece+21
-
-
-
- 1
- 5
- 5
- 5
- 100%
- content piece 22 - content name 22
- contentPiece==content+piece+22
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__CustomVariables.getCustomVariables_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__CustomVariables.getCustomVariables_day.xml
deleted file mode 100644
index 57b60302f4bcd17773d0ee640149e2b1dc8579cf..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__CustomVariables.getCustomVariables_day.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-
- 60
- 1
- Others
-
-
-
- 19
- 19
-
-
- page
- 1
-
-
- name
- 1
- Others
-
-
-
- 16
- 16
-
-
- page
- 4
-
-
- liked
- y
-
-
-
- 4
- 4
-
-
- page
- 4
-
-
- liked
- 1
- Others
-
-
-
- 1
- 1
-
-
- page
- 1
-
-
- name
- thing0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__DevicesDetection.getBrowserVersions_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__DevicesDetection.getBrowserVersions_day.xml
deleted file mode 100644
index 05f2afb845154f7dc6de80414c60730520750cb5..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__DevicesDetection.getBrowserVersions_day.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- 33
- 93
- 244
- 33
- 15
- 81
- 27
- 0
- plugins/Morpheus/icons/dist/browsers/UNK.png
- 1
- Others
-
-
-
- 6
- 30
- 30
- 6
- 1
- 0
- 30
- 0
- browserCode==FF;browserVersion==6.0
- plugins/Morpheus/icons/dist/browsers/FF.png
- Firefox 6.0
-
-
-
- 4
- 20
- 20
- 4
- 1
- 0
- 20
- 0
- browserCode==CH;browserVersion==3.0
- plugins/Morpheus/icons/dist/browsers/CH.png
- Chrome 3.0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__DevicesDetection.getOsVersions_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__DevicesDetection.getOsVersions_day.xml
deleted file mode 100644
index 108179bd9f0100b1b8f092da45ab5959cedd1422..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__DevicesDetection.getOsVersions_day.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- 30
- 78
- 224
- 30
- 15
- 51
- 32
- 0
- plugins/Morpheus/icons/dist/os/UNK.png
- 1
- Others
-
-
-
- 8
- 40
- 40
- 8
- 2
- 10
- 35
- 0
- operatingSystemCode==LIN;operatingSystemVersion==
- plugins/Morpheus/icons/dist/os/LIN.png
- GNU/Linux
-
-
-
- 5
- 25
- 30
- 5
- 2
- 20
- 10
- 0
- operatingSystemCode==AND;operatingSystemVersion==4.0
- plugins/Morpheus/icons/dist/os/AND.png
- Android 4.0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getAction_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getAction_day.xml
deleted file mode 100644
index 14bc9366099273678b0daacdad8b9e6eaa1eb060..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getAction_day.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
- 1
- Others
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- event action 1
- event name0
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- event action 2
- event name1
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getCategory_day.xml
deleted file mode 100644
index e3279b2e651226a4e12dc44e4a07941eb92cfb5c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getCategory_day.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
- 1
- Others
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- event category 0
- event action 4
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- event category 1
- event action 5
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getName_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getName_day.xml
deleted file mode 100644
index c581277d6b91711fb66f628b09f2b8a913f5b6c2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Events.getName_day.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
- 1
- Others
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- event name0
- event action 1
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- event name1
- event action 2
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsCategory_day.xml
deleted file mode 100644
index b5aa849c884bf39e6bd0009a59fa6cdf12cdbb95..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsCategory_day.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%230
- Books Cat #0
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%231
- Books Cat #1
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%232
- Books Cat #2
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%233
- Books Cat #3
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%234
- Books Cat #4
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsName_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsName_day.xml
deleted file mode 100644
index 4f7f2cb02400a1259dbfaa17edd5603f14af220f..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsName_day.xml
+++ /dev/null
@@ -1,278 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book0
- Book0
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book1
- Book1
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book2
- Book2
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book3
- Book3
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book4
- Book4
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book5
- Book5
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book6
- Book6
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book7
- Book7
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book8
- Book8
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book9
- Book9
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book10
- Book10
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book11
- Book11
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book12
- Book12
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book13
- Book13
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book14
- Book14
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book15
- Book15
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book16
- Book16
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book17
- Book17
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book18
- Book18
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book19
- Book19
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book20
- Book20
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book21
- Book21
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book22
- Book22
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book23
- Book23
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book24
- Book24
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsSku_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsSku_day.xml
deleted file mode 100644
index b27ae39dcfa7e47e0bf7f808de2a5ebda7a7aae1..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Goals.getItemsSku_day.xml
+++ /dev/null
@@ -1,278 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book0
- id_book0
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book1
- id_book1
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book2
- id_book2
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book3
- id_book3
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book4
- id_book4
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book5
- id_book5
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book6
- id_book6
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book7
- id_book7
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book8
- id_book8
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book9
- id_book9
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book10
- id_book10
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book11
- id_book11
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book12
- id_book12
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book13
- id_book13
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book14
- id_book14
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book15
- id_book15
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book16
- id_book16
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book17
- id_book17
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book18
- id_book18
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book19
- id_book19
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book20
- id_book20
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book21
- id_book21
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book22
- id_book22
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book23
- id_book23
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book24
- id_book24
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getAll_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getAll_day.xml
deleted file mode 100644
index aafe22fa2d14fc025639832034115bb1993a4ffd..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getAll_day.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
- 9
- 9
- 9
- 9
- 2
- 0
- 9
- 0
- 1
- Others
-
-
-
- 3
- 4
- 4
- 3
- 1
- 0
- 4
- 0
- referrerName==whatever0.com
- 3
- whatever0.com
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerKeyword==this+search+term
- 2
- this search term
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerType==search;referrerKeyword==search+term+2
- 2
- search term 2
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerName==whatever1.com
- 3
- whatever1.com
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getKeywords_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getKeywords_day.xml
deleted file mode 100644
index 1b9490979f039ff4eda3c081f33fa4a4d991c6e9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getKeywords_day.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
- 7
- 7
- 7
- 7
- 1
- 0
- 7
- 0
- 1
- Others
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- plugins/Morpheus/icons/dist/searchEngines/xx.png
- this search term
- 1
- Others
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
- http://alexa.com/search?q=search+term+2
- plugins/Morpheus/icons/dist/searchEngines/alexa.com.png
- search term 2
- Alexa
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
- http://search.babylon.com/?q=search+term+2
- plugins/Morpheus/icons/dist/searchEngines/search.babylon.com.png
- search term 2
- Babylon
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
- http://ask.com/web?q=this+search+term
- plugins/Morpheus/icons/dist/searchEngines/ask.com.png
- this search term
- Ask
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getReferrerType_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getReferrerType_day.xml
deleted file mode 100644
index 4a42a974a432433dcb72fae910162c309bf0605a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getReferrerType_day.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 43
- 123
- 274
- 43
- 15
- 81
- 57
- 0
- referrerType==direct
- 1
-
-
-
- 12
- 12
- 12
- 12
- 1
- 0
- 12
- 0
- referrerType==search
- 2
-
-
-
- 7
- 8
- 8
- 7
- 1
- 0
- 8
- 0
- referrerType==website
- 3
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getSearchEngines_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getSearchEngines_day.xml
deleted file mode 100644
index 99f2cd2bff2637a28a8862c79fe212eb3833cc8d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getSearchEngines_day.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
- 6
- 6
- 6
- 6
- 1
- 0
- 6
- 0
- plugins/Morpheus/icons/dist/searchEngines/xx.png
- 1
- Others
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
- Google
- 1
- Others
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- plugins/Morpheus/icons/dist/searchEngines/search.yahoo.com.png
- Yahoo!
- 1
- Others
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
- http://google.com/search?q=search+term+3
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
- Google
- search term 3
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
- http://search.yahoo.com/search?p=search+term+4
- plugins/Morpheus/icons/dist/searchEngines/search.yahoo.com.png
- Yahoo!
- search term 4
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getWebsites_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getWebsites_day.xml
deleted file mode 100644
index ab153c3ec6c599a4e6b3b2265c00456f14930e3e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Referrers.getWebsites_day.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- 1
- Others
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- whatever0.com
- 1
- Others
-
-
-
- 1
- 2
- 2
- 1
- 1
- 0
- 2
- 0
- http://whatever0.com/0
- whatever0.com
- index
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
- http://whatever1.com/2
- whatever1.com
- 2
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
- http://whatever1.com/0
- whatever1.com
- index
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Resolution.getConfiguration_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Resolution.getConfiguration_day.xml
deleted file mode 100644
index 0adfa0209024eecc319b61242afbb0b88243f09e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Resolution.getConfiguration_day.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- 22
- 106
- 131
- 22
- 2
- 65
- 56
- 0
- 1
- Others
-
-
-
- 4
- 20
- 20
- 4
- 1
- 0
- 20
- 0
- GNU/Linux / Firefox / 1920x1080
-
-
-
- 17
- 17
- 143
- 17
- 15
- 16
- 1
- 0
- Unknown / Unknown / 1024x768
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Resolution.getResolution_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Resolution.getResolution_day.xml
deleted file mode 100644
index 4cfd933048d33ac8527bfe0a5272f394b7007339..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__Resolution.getResolution_day.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 29
- 73
- 224
- 29
- 15
- 56
- 22
- 0
- 1
- Others
-
-
-
- 8
- 40
- 40
- 8
- 1
- 0
- 40
- 0
- 1920x1080
- resolution==1920x1080
-
-
-
- 6
- 30
- 30
- 6
- 2
- 25
- 15
- 0
- 1280x1024
- resolution==1280x1024
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserCountry.getCity_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserCountry.getCity_day.xml
deleted file mode 100644
index 367e9606dce6f1c43a50b65bb22d813f9e53f109..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserCountry.getCity_day.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
- 30
- 78
- 219
- 30
- 15
- 41
- 37
- 0
- plugins/Morpheus/icons/dist/flags/xx.png
- 1
- Others
-
-
-
- 7
- 35
- 35
- 7
- 2
- 20
- 25
- 0
- city==Toronto;regionCode==ON;countryCode==ca
- Toronto
- ON
- ca
- Canada
- Ontario
- plugins/Morpheus/icons/dist/flags/ca.png
- Toronto, Ontario, Canada
-
-
-
- 6
- 30
- 40
- 6
- 2
- 20
- 15
- 0
- city==Melbourne;regionCode==VIC;countryCode==au
- Melbourne
- VIC
- au
- Australia
- Victoria
- plugins/Morpheus/icons/dist/flags/au.png
- Melbourne, Victoria, Australia
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserCountry.getRegion_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserCountry.getRegion_day.xml
deleted file mode 100644
index 62c6182d0f604e910d2450c22dd53d88cdab9b48..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserCountry.getRegion_day.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
- 30
- 78
- 224
- 30
- 15
- 51
- 32
- 0
- plugins/Morpheus/icons/dist/flags/xx.png
- 1
- Others
-
-
-
- 7
- 35
- 35
- 7
- 2
- 20
- 25
- 0
- regionCode==ON;countryCode==ca
- ON
- ca
- Canada
- Ontario
- plugins/Morpheus/icons/dist/flags/ca.png
- Ontario, Canada
-
-
-
- 6
- 30
- 35
- 6
- 2
- 10
- 20
- 0
- regionCode==14;countryCode==jp
- 14
- jp
- Japan
- Kanagawa
- plugins/Morpheus/icons/dist/flags/jp.png
- Kanagawa, Japan
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserId.getUsers_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserId.getUsers_day.xml
deleted file mode 100644
index 40cd1b2b4670bc16ad4f982fd58890d77fe5dc7d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_flattened__UserId.getUsers_day.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 1
- 1
- 0
- 5
- 0
-
- userId==user0
-
-
-
- 1
- 5
- 5
- 1
- 1
- 0
- 5
- 0
-
- userId==user1
-
-
-
- 41
- 133
- 284
- 41
- 15
- 81
- 67
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rangeFlat_rankingQueryDisabled__Actions.getDownloads_range.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rangeFlat_rankingQueryDisabled__Actions.getDownloads_range.xml
deleted file mode 100644
index ea9493230f358a0ebc0329841e3c5f1719cf43da..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rangeFlat_rankingQueryDisabled__Actions.getDownloads_range.xml
+++ /dev/null
@@ -1,378 +0,0 @@
-
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite5.com/20/download
- cloudsite5.com/20/download
- downloadUrl==http%253A%252F%252Fcloudsite5.com%252F20%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite5.com/21/download
- cloudsite5.com/21/download
- downloadUrl==http%253A%252F%252Fcloudsite5.com%252F21%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite5.com/22/download
- cloudsite5.com/22/download
- downloadUrl==http%253A%252F%252Fcloudsite5.com%252F22%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite5.com/23/download
- cloudsite5.com/23/download
- downloadUrl==http%253A%252F%252Fcloudsite5.com%252F23%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite5.com/download
- cloudsite5.com/download
- downloadUrl==http%253A%252F%252Fcloudsite5.com%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite6.com/24/download
- cloudsite6.com/24/download
- downloadUrl==http%253A%252F%252Fcloudsite6.com%252F24%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite6.com/25/download
- cloudsite6.com/25/download
- downloadUrl==http%253A%252F%252Fcloudsite6.com%252F25%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite6.com/26/download
- cloudsite6.com/26/download
- downloadUrl==http%253A%252F%252Fcloudsite6.com%252F26%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite6.com/27/download
- cloudsite6.com/27/download
- downloadUrl==http%253A%252F%252Fcloudsite6.com%252F27%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite6.com/download
- cloudsite6.com/download
- downloadUrl==http%253A%252F%252Fcloudsite6.com%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite7.com/28/download
- cloudsite7.com/28/download
- downloadUrl==http%253A%252F%252Fcloudsite7.com%252F28%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite7.com/29/download
- cloudsite7.com/29/download
- downloadUrl==http%253A%252F%252Fcloudsite7.com%252F29%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite7.com/30/download
- cloudsite7.com/30/download
- downloadUrl==http%253A%252F%252Fcloudsite7.com%252F30%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite7.com/31/download
- cloudsite7.com/31/download
- downloadUrl==http%253A%252F%252Fcloudsite7.com%252F31%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite7.com/download
- cloudsite7.com/download
- downloadUrl==http%253A%252F%252Fcloudsite7.com%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite8.com/32/download
- cloudsite8.com/32/download
- downloadUrl==http%253A%252F%252Fcloudsite8.com%252F32%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite8.com/33/download
- cloudsite8.com/33/download
- downloadUrl==http%253A%252F%252Fcloudsite8.com%252F33%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite8.com/34/download
- cloudsite8.com/34/download
- downloadUrl==http%253A%252F%252Fcloudsite8.com%252F34%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite8.com/35/download
- cloudsite8.com/35/download
- downloadUrl==http%253A%252F%252Fcloudsite8.com%252F35%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite8.com/download
- cloudsite8.com/download
- downloadUrl==http%253A%252F%252Fcloudsite8.com%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite9.com/36/download
- cloudsite9.com/36/download
- downloadUrl==http%253A%252F%252Fcloudsite9.com%252F36%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite9.com/37/download
- cloudsite9.com/37/download
- downloadUrl==http%253A%252F%252Fcloudsite9.com%252F37%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite9.com/38/download
- cloudsite9.com/38/download
- downloadUrl==http%253A%252F%252Fcloudsite9.com%252F38%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite9.com/39/download
- cloudsite9.com/39/download
- downloadUrl==http%253A%252F%252Fcloudsite9.com%252F39%252Fdownload
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 0
- http://cloudsite9.com/download
- cloudsite9.com/download
- downloadUrl==http%253A%252F%252Fcloudsite9.com%252Fdownload
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Actions.getPageUrls_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Actions.getPageUrls_day.xml
deleted file mode 100644
index 0ea453a5df3acf186fbc5628ddb5329a65137df5..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Actions.getPageUrls_day.xml
+++ /dev/null
@@ -1,1095 +0,0 @@
-
-
-
-
- 32
- 32
- 0
- 0
- 0
-
-
- 11
- 2
- 3
- 1
- 1
- 0
- 0
- 0
- 50%
- 34%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F8
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/33
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 2
- 1
- 0
- 1
- 1
- 0
- 0%
- 13%
- http://piwik.net/8/34
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F34
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 8
- 8
- 0
- 100%
- 100%
- http://piwik.net/8/35
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F35
-
-
-
-
-
- 28
- 28
- 0
- 0
- 0
-
-
- 1
- 2
- 10
- 2
- 0
- 0
- 0
- 0
- 0%
- 4%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F7
-
-
-
- 7
- 7
- 7
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 14%
- http://piwik.net/7/28
- pageUrl==http%253A%252F%252Fpiwik.net%252F7%252F28
-
-
-
- 7
- 7
- 7
- 0
- 0
- 0
-
-
- 0
- 0%
- 0%
- http://piwik.net/7/29
- pageUrl==http%253A%252F%252Fpiwik.net%252F7%252F29
-
-
-
- 7
- 7
- 7
- 0
- 0
- 0
-
-
- 1
- 1
- 6
- 1
- 0
- 0
- 0%
- 0%
- http://piwik.net/7/30
- pageUrl==http%253A%252F%252Fpiwik.net%252F7%252F30
-
-
-
- 7
- 7
- 7
- 0
- 0
- 0
-
-
- 1
- 1
- 4
- 1
- 0
- 0
- 0%
- 0%
- http://piwik.net/7/31
- pageUrl==http%253A%252F%252Fpiwik.net%252F7%252F31
-
-
-
-
-
- 24
- 24
- 0
- 0
- 0
-
-
- 1
- 2
- 18
- 2
- 0
- 0
- 0
- 0
- 0%
- 4%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F6
-
-
-
- 6
- 6
- 6
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 17%
- http://piwik.net/6/24
- pageUrl==http%253A%252F%252Fpiwik.net%252F6%252F24
-
-
-
- 6
- 6
- 6
- 0
- 0
- 0
-
-
- 0
- 0%
- 0%
- http://piwik.net/6/25
- pageUrl==http%253A%252F%252Fpiwik.net%252F6%252F25
-
-
-
- 6
- 6
- 6
- 0
- 0
- 0
-
-
- 1
- 1
- 10
- 1
- 0
- 0
- 0%
- 0%
- http://piwik.net/6/26
- pageUrl==http%253A%252F%252Fpiwik.net%252F6%252F26
-
-
-
- 6
- 6
- 6
- 0
- 0
- 0
-
-
- 1
- 1
- 8
- 1
- 0
- 0
- 0%
- 0%
- http://piwik.net/6/27
- pageUrl==http%253A%252F%252Fpiwik.net%252F6%252F27
-
-
-
-
-
- 21
- 21
- 0
- 0
- 0
-
-
- 7
- 35
- 2
- 5
- 6
- 0
- 0
- 0
- 71%
- 29%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F4
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 2
- 2
- 0
- 100%
- 40%
- http://piwik.net/4/16
- pageUrl==http%253A%252F%252Fpiwik.net%252F4%252F16
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 20%
- http://piwik.net/4/17
- pageUrl==http%253A%252F%252Fpiwik.net%252F4%252F17
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
-
-
- 2
- 2
- 16
- 1
- 1
- 1
- 1
- 0
- 50%
- 20%
- http://piwik.net/4/18
- pageUrl==http%253A%252F%252Fpiwik.net%252F4%252F18
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
-
-
- 2
- 2
- 16
- 1
- 1
- 1
- 1
- 0
- 50%
- 20%
- http://piwik.net/4/19
- pageUrl==http%253A%252F%252Fpiwik.net%252F4%252F19
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/4/
- pageUrl==http%253A%252F%252Fpiwik.net%252F4%252F
-
-
-
-
-
- 20
- 20
- 0
- 0
- 0
-
-
- 1
- 2
- 26
- 2
- 0
- 0
- 0
- 0
- 0%
- 5%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F5
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0%
- 20%
- http://piwik.net/5/20
- pageUrl==http%253A%252F%252Fpiwik.net%252F5%252F20
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
-
-
- 0
- 0%
- 0%
- http://piwik.net/5/21
- pageUrl==http%253A%252F%252Fpiwik.net%252F5%252F21
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
-
-
- 1
- 1
- 14
- 1
- 0
- 0
- 0%
- 0%
- http://piwik.net/5/22
- pageUrl==http%253A%252F%252Fpiwik.net%252F5%252F22
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
-
-
- 1
- 1
- 12
- 1
- 0
- 0
- 0%
- 0%
- http://piwik.net/5/23
- pageUrl==http%253A%252F%252Fpiwik.net%252F5%252F23
-
-
-
-
-
- 17
- 17
- 0
- 0
- 0
-
-
- 7
- 31
- 2
- 5
- 6
- 0
- 0
- 0
- 71%
- 35%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F3
-
-
-
- 4
- 4
- 4
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 2
- 2
- 0
- 100%
- 50%
- http://piwik.net/3/12
- pageUrl==http%253A%252F%252Fpiwik.net%252F3%252F12
-
-
-
- 4
- 4
- 4
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 25%
- http://piwik.net/3/13
- pageUrl==http%253A%252F%252Fpiwik.net%252F3%252F13
-
-
-
- 4
- 4
- 4
- 0
- 0
- 0
-
-
- 2
- 2
- 13
- 1
- 1
- 1
- 1
- 0
- 50%
- 25%
- http://piwik.net/3/14
- pageUrl==http%253A%252F%252Fpiwik.net%252F3%252F14
-
-
-
- 4
- 4
- 4
- 0
- 0
- 0
-
-
- 2
- 2
- 15
- 1
- 1
- 1
- 1
- 0
- 50%
- 25%
- http://piwik.net/3/15
- pageUrl==http%253A%252F%252Fpiwik.net%252F3%252F15
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/3/
- pageUrl==http%253A%252F%252Fpiwik.net%252F3%252F
-
-
-
-
-
- 13
- 13
- 0
- 0
- 0
-
-
- 7
- 23
- 2
- 5
- 6
- 0
- 0
- 0
- 71%
- 46%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F2
-
-
-
- 3
- 3
- 3
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 2
- 2
- 0
- 100%
- 67%
- http://piwik.net/2/8
- pageUrl==http%253A%252F%252Fpiwik.net%252F2%252F8
-
-
-
- 3
- 3
- 3
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 33%
- http://piwik.net/2/9
- pageUrl==http%253A%252F%252Fpiwik.net%252F2%252F9
-
-
-
- 3
- 3
- 3
- 0
- 0
- 0
-
-
- 2
- 2
- 9
- 1
- 1
- 1
- 1
- 0
- 50%
- 33%
- http://piwik.net/2/10
- pageUrl==http%253A%252F%252Fpiwik.net%252F2%252F10
-
-
-
- 3
- 3
- 3
- 0
- 0
- 0
-
-
- 2
- 2
- 11
- 1
- 1
- 1
- 1
- 0
- 50%
- 33%
- http://piwik.net/2/11
- pageUrl==http%253A%252F%252Fpiwik.net%252F2%252F11
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/2/
- pageUrl==http%253A%252F%252Fpiwik.net%252F2%252F
-
-
-
-
-
- 9
- 9
- 0
- 0
- 0
-
-
- 9
- 18
- 3
- 6
- 6
- 0
- 0
- 0
- 67%
- 67%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F1
-
-
-
- 2
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 0
- 100%
- 100%
- http://piwik.net/1/4
- pageUrl==http%253A%252F%252Fpiwik.net%252F1%252F4
-
-
-
- 2
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 2
- 3
- 1
- 1
- 1
- 1
- 0
- 50%
- 50%
- http://piwik.net/1/5
- pageUrl==http%253A%252F%252Fpiwik.net%252F1%252F5
-
-
-
- 2
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 2
- 5
- 1
- 1
- 1
- 1
- 0
- 50%
- 50%
- http://piwik.net/1/6
- pageUrl==http%253A%252F%252Fpiwik.net%252F1%252F6
-
-
-
- 2
- 2
- 2
- 0
- 0
- 0
-
-
- 2
- 2
- 7
- 1
- 1
- 1
- 1
- 0
- 50%
- 50%
- http://piwik.net/1/7
- pageUrl==http%253A%252F%252Fpiwik.net%252F1%252F7
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/1/
- pageUrl==http%253A%252F%252Fpiwik.net%252F1%252F
-
-
-
-
-
- 5
- 5
- 0
- 0
- 0
-
-
- 5
- 5
- 0
- 5
- 5
- 0
- 0
- 0
- 100%
- 100%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/0/0
- pageUrl==http%253A%252F%252Fpiwik.net%252F0%252F0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/0/1
- pageUrl==http%253A%252F%252Fpiwik.net%252F0%252F1
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/0/2
- pageUrl==http%253A%252F%252Fpiwik.net%252F0%252F2
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/0/3
- pageUrl==http%253A%252F%252Fpiwik.net%252F0%252F3
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 100%
- 100%
- http://piwik.net/0/
- pageUrl==http%253A%252F%252Fpiwik.net%252F0%252F
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Insights.getInsightsOverview_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Insights.getInsightsOverview_day.xml
deleted file mode 100644
index 28e649ff7d43ac6bc97c1dc3302c050fb73584e5..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Insights.getInsightsOverview_day.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
- 501
- 149.3%
- 149.3
- 1
- 201
- 501
- 300
- 300
- 0
- 0
- 1
- 1
-
-
-
-
-
- 501
- 149.3%
- 149.3
- 1
- 201
- 501
- 300
- 300
- 0
- 0
- 1
- 1
-
-
-
-
-
-
-
-
-
-
-
- 1
- -100%
- -100
- 0
- 1
- 0
- -1
- 1
- 1
- 0
- 0
- 0
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Provider.getProvider_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Provider.getProvider_month.xml
deleted file mode 100644
index 95d4b8662796306e6a3ba7ba38ffae9b0c989d35..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQueryDisabled__Provider.getProvider_month.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
- 52
- 52
- 1
- 0
- 52
- 0
- 20
- 0
- http://www.comcast.net/
-
-
-
- 26
- 26
- 1
- 0
- 26
- 0
- 10
- 0
- http://www.awesomeisp.com/
-
-
-
- 22
- 22
- 1
- 0
- 22
- 0
- 10
- 0
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getDownloads_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getDownloads_day.xml
deleted file mode 100644
index 7cc00d26d76a2858937335c5de32d555936895e8..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getDownloads_day.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- http://cloudsite5.com/20/download
- downloadUrl==http%253A%252F%252Fcloudsite5.com%252F20%252Fdownload
-
-
-
- 3
- 3
- 0
- 0
- 0
-
-
-
-
-
-
-
- 21
- 21
- 0
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getOutlinks_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getOutlinks_day.xml
deleted file mode 100644
index f3b4745ec7c522279a8d23bf7882d59076248ff3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getOutlinks_day.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
- 4
- 4
- 0
- 0
- 0
-
-
- 0
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- http://othersite10.com/
- outlinkUrl==http%253A%252F%252Fothersite10.com%252F
-
-
-
- 3
- 3
- 0
- 0
- 0
-
-
-
-
-
-
-
- 21
- 21
- 0
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getPageTitles_day.xml
deleted file mode 100644
index 5135253c32adfbc6e9836ca9806c43ea2c87281c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0%
- 0%
- pageTitle==title_8%2B%252F%2Btitle_32
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0%
- 0%
- pageTitle==title_8%2B%252F%2Btitle_33
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0
- 0
- 0%
- 0%
- pageTitle==title_8%2B%252F%2Btitle_34
-
-
-
- 145
- 145
- 0
- 0
- 0
-
-
- 36
- 108
- 12
- 24
- 37
- 0
- 0
- 0
- 67%
- 26%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getPageUrls_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getPageUrls_day.xml
deleted file mode 100644
index 88bfc041dc8661392042e21136d7617c61dd769b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getPageUrls_day.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
- 32
- 32
- 0
- 0
- 0
-
-
- 8
- 0
- 0
- 0
- 0%
- 25%
- pageUrl=^http%253A%252F%252Fpiwik.net%252F8
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
-
-
- 0
- 0%
- 0%
- http://piwik.net/8/32
- pageUrl==http%253A%252F%252Fpiwik.net%252F8%252F32
-
-
-
- 24
- 24
- 0
- 0
- 0
-
-
- 8
- 0
- 0%
- 33%
-
-
-
-
-
- 137
- 137
- 0
- 0
- 0
-
-
- 36
- 108
- 12
- 24
- 29
- 0
- 0
- 0
- 67%
- 21%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getSiteSearchKeywords_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getSiteSearchKeywords_day.xml
deleted file mode 100644
index 5de252a5d0b01878e7d90a2e78fdba64dbeebe0a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Actions.getSiteSearchKeywords_day.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
- 10
- 10
- 0
- 0
- 0
-
-
- 10
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword20
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword21
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 0
- 0%
- 100%
- siteSearchKeyword==keyword22
-
-
-
- 37
- 37
- 0
- 0
- 0
-
-
- 37
- 1
- 0
- 0
- 0%
- 100%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Contents.getContentNames_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Contents.getContentNames_day.xml
deleted file mode 100644
index 08c70c52e9d8417d53a64812d54e578cbdde086e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Contents.getContentNames_day.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 5
- 100%
- contentName==content+name+20
-
-
-
- 1
- 5
- 5
- 0
- 0%
- contentName==content+name+21
-
-
-
- 1
- 5
- 5
- 5
- 100%
- contentName==content+name+22
-
-
-
- 2
- 10
- 10
- 0
- 0%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Contents.getContentPieces_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Contents.getContentPieces_day.xml
deleted file mode 100644
index a15f27c035b947f07bcafc868ec5a233c4bbe75b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Contents.getContentPieces_day.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 5
- 100%
- contentPiece==content+piece+20
-
-
-
- 1
- 5
- 5
- 0
- 0%
- contentPiece==content+piece+21
-
-
-
- 1
- 5
- 5
- 5
- 100%
- contentPiece==content+piece+22
-
-
-
- 2
- 10
- 10
- 0
- 0%
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__CustomVariables.getCustomVariables_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__CustomVariables.getCustomVariables_day.xml
deleted file mode 100644
index 6ee02592b75d96381959ebe371299dcd61942fc9..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__CustomVariables.getCustomVariables_day.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
- 20
-
-
- page
- 4
-
-
- customVariableName==liked
-
-
-
- 16
- 16
-
-
-
- 4
- 4
-
-
-
-
-
- 20
-
-
- page
- 1
-
-
- customVariableName==name
-
-
-
- 1
- 1
-
-
-
- 19
- 19
-
-
-
-
-
- 60
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__DevicesDetection.getBrowserVersions_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__DevicesDetection.getBrowserVersions_day.xml
deleted file mode 100644
index 9628795a8df5972ad4d23125be36cdb0b0ecb699..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__DevicesDetection.getBrowserVersions_day.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- 6
- 30
- 30
- 6
- 1
- 0
- 30
- 0
- browserCode==FF;browserVersion==6.0
- plugins/Morpheus/icons/dist/browsers/FF.png
-
-
-
- 4
- 20
- 20
- 4
- 1
- 0
- 20
- 0
- browserCode==CH;browserVersion==3.0
- plugins/Morpheus/icons/dist/browsers/CH.png
-
-
-
- 33
- 93
- 244
- 33
- 15
- 81
- 27
- 0
- plugins/Morpheus/icons/dist/browsers/UNK.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__DevicesDetection.getOsVersions_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__DevicesDetection.getOsVersions_day.xml
deleted file mode 100644
index 55d60b51e95638691d798b6927d7dea46e50b0c6..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__DevicesDetection.getOsVersions_day.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- 8
- 40
- 40
- 8
- 2
- 10
- 35
- 0
- operatingSystemCode==LIN;operatingSystemVersion==
- plugins/Morpheus/icons/dist/os/LIN.png
-
-
-
- 5
- 25
- 30
- 5
- 2
- 20
- 10
- 0
- operatingSystemCode==AND;operatingSystemVersion==4.0
- plugins/Morpheus/icons/dist/os/AND.png
-
-
-
- 30
- 78
- 224
- 30
- 15
- 51
- 32
- 0
- plugins/Morpheus/icons/dist/os/UNK.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getAction_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getAction_day.xml
deleted file mode 100644
index 2e7988119b74e242bd7b221fada7468acc5c7888..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getAction_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventAction==event+action+1
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventAction==event+action+2
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getCategory_day.xml
deleted file mode 100644
index 4353aa725b007939a98667661d586fc7da6b31b8..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getCategory_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventCategory==event+category+0
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventCategory==event+category+3
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getName_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getName_day.xml
deleted file mode 100644
index 2e9f6b6bcf002b44dd27571514a99ce743e75e29..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Events.getName_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventName==event+name0
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
- eventName==event+name1
-
-
-
- 1
- 5
- 5
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 15
- 15
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsCategory_day.xml
deleted file mode 100644
index 8688f0299167abe06de6bf1556a5271dce10ccc2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsCategory_day.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%230
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%231
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%232
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%233
-
-
-
- 5
- 5
- 5
- 7.5
- 0
- 0%
- productCategory==Books+Cat+%234
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsName_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsName_day.xml
deleted file mode 100644
index bd2c7510d0efea45426fb0e1137d2a835f7ecc86..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsName_day.xml
+++ /dev/null
@@ -1,253 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book0
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book1
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book2
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book3
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book4
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book5
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book6
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book7
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book8
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book9
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book10
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book11
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book12
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book13
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book14
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book15
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book16
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book17
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book18
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book19
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book20
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book21
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book22
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book23
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productName==Book24
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsSku_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsSku_day.xml
deleted file mode 100644
index c12963aa01bb5917a8bb1c99a685d3ee32e48477..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Goals.getItemsSku_day.xml
+++ /dev/null
@@ -1,253 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book0
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book1
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book2
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book3
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book4
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book5
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book6
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book7
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book8
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book9
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book10
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book11
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book12
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book13
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book14
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book15
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book16
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book17
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book18
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book19
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book20
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book21
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book22
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book23
-
-
-
- 1
- 1
- 1
- 7.5
- 0
- 0%
- productSku==id_book24
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getAll_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getAll_day.xml
deleted file mode 100644
index b260cab8d9f73820b9d8143833826512f2968854..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getAll_day.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
- 3
- 4
- 4
- 3
- 1
- 0
- 4
- 0
- referrerName==whatever0.com
- 3
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerKeyword==this+search+term
- 2
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerType==search;referrerKeyword==search+term+2
- 2
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerName==whatever1.com
- 3
-
-
-
- 9
- 9
- 9
- 9
- 2
- 0
- 9
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getKeywords_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getKeywords_day.xml
deleted file mode 100644
index 2701dce9351fe1cf449a3d9c5c4aef74238f1055..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getKeywords_day.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerKeyword==this+search+term
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerType==search;referrerKeyword==search+term+2
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
-
-
- 7
- 7
- 7
- 7
- 1
- 0
- 7
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getReferrerType_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getReferrerType_day.xml
deleted file mode 100644
index 1778affc303836b13cd2175b5c81cb03a52800d1..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getReferrerType_day.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
- 43
- 123
- 274
- 43
- 15
- 81
- 57
- 0
- referrerType==direct
- 1
-
-
-
- 12
- 12
- 12
- 12
- 1
- 0
- 12
- 0
- referrerType==search
- 2
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerType==search;referrerKeyword==search+term+2
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerKeyword==this+search+term
-
-
-
- 7
- 7
- 7
- 7
- 1
- 0
- 7
- 0
-
-
-
-
-
- 7
- 8
- 8
- 7
- 1
- 0
- 8
- 0
- referrerType==website
- 3
-
-
-
- 3
- 4
- 4
- 3
- 1
- 0
- 4
- 0
- referrerName==whatever0.com
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerName==whatever1.com
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getSearchEngines_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getSearchEngines_day.xml
deleted file mode 100644
index d89b5a581d61752ed4077b386c1f5bd325775d93..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getSearchEngines_day.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerName==Google
- http://google.com
- plugins/Morpheus/icons/dist/searchEngines/google.com.png
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
-
- 3
- 3
- 3
- 3
- 1
- 0
- 3
- 0
- referrerType==search;referrerName==Yahoo%21
- http://search.yahoo.com
- plugins/Morpheus/icons/dist/searchEngines/search.yahoo.com.png
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
-
- 6
- 6
- 6
- 6
- 1
- 0
- 6
- 0
- URL unknown!
- plugins/Morpheus/icons/dist/searchEngines/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getWebsites_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getWebsites_day.xml
deleted file mode 100644
index e0fd222b3f6677028b4fd8973583b150b96c5e45..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Referrers.getWebsites_day.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
- 3
- 4
- 4
- 3
- 1
- 0
- 4
- 0
- referrerName==whatever0.com
-
-
-
- 1
- 2
- 2
- 1
- 1
- 0
- 2
- 0
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
- referrerName==whatever1.com
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
-
-
-
-
-
- 2
- 2
- 2
- 2
- 1
- 0
- 2
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Resolution.getConfiguration_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Resolution.getConfiguration_day.xml
deleted file mode 100644
index 1c1b970450bc8b13dacd1d49fb6303fc8243001d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Resolution.getConfiguration_day.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
- 4
- 20
- 20
- 4
- 1
- 0
- 20
- 0
-
-
-
- 17
- 17
- 143
- 17
- 15
- 16
- 1
- 0
-
-
-
- 22
- 106
- 131
- 22
- 2
- 65
- 56
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Resolution.getResolution_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Resolution.getResolution_day.xml
deleted file mode 100644
index 4b81cb50fd9b02644ef9b389005f5bf475343981..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__Resolution.getResolution_day.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- 8
- 40
- 40
- 8
- 1
- 0
- 40
- 0
- resolution==1920x1080
-
-
-
- 6
- 30
- 30
- 6
- 2
- 25
- 15
- 0
- resolution==1280x1024
-
-
-
- 29
- 73
- 224
- 29
- 15
- 56
- 22
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserCountry.getCity_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserCountry.getCity_day.xml
deleted file mode 100644
index 1df2cc56cf15bb2b597c805cd93a8d179d05efac..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserCountry.getCity_day.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
- 7
- 35
- 35
- 7
- 2
- 20
- 25
- 0
- city==Toronto;regionCode==ON;countryCode==ca
- Toronto
- ON
- ca
- Canada
- Ontario
- plugins/Morpheus/icons/dist/flags/ca.png
-
-
-
- 6
- 30
- 40
- 6
- 2
- 20
- 15
- 0
- city==Melbourne;regionCode==VIC;countryCode==au
- Melbourne
- VIC
- au
- Australia
- Victoria
- plugins/Morpheus/icons/dist/flags/au.png
-
-
-
- 30
- 78
- 219
- 30
- 15
- 41
- 37
- 0
- plugins/Morpheus/icons/dist/flags/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserCountry.getRegion_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserCountry.getRegion_day.xml
deleted file mode 100644
index b0b962bad2c1fcec5abed878029f4ce7560e1efc..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserCountry.getRegion_day.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- 7
- 35
- 35
- 7
- 2
- 20
- 25
- 0
- regionCode==ON;countryCode==ca
- ON
- ca
- Canada
- Ontario
- plugins/Morpheus/icons/dist/flags/ca.png
-
-
-
- 6
- 30
- 35
- 6
- 2
- 10
- 20
- 0
- regionCode==14;countryCode==jp
- 14
- jp
- Japan
- Kanagawa
- plugins/Morpheus/icons/dist/flags/jp.png
-
-
-
- 30
- 78
- 224
- 30
- 15
- 51
- 32
- 0
- plugins/Morpheus/icons/dist/flags/xx.png
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserId.getUsers_day.xml b/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserId.getUsers_day.xml
deleted file mode 100644
index 40cd1b2b4670bc16ad4f982fd58890d77fe5dc7d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_rankingQuery__UserId.getUsers_day.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- 1
- 5
- 5
- 1
- 1
- 0
- 5
- 0
-
- userId==user0
-
-
-
- 1
- 5
- 5
- 1
- 1
- 0
- 5
- 0
-
- userId==user1
-
-
-
- 41
- 133
- 284
- 41
- 15
- 81
- 67
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimiting_segment_provider_rankingQueryDisabled__Provider.getProvider_month.xml b/tests/PHPUnit/System/expected/test_reportLimiting_segment_provider_rankingQueryDisabled__Provider.getProvider_month.xml
deleted file mode 100644
index 7993897a0ac46d7dd22eb73db37f2a5a57806913..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimiting_segment_provider_rankingQueryDisabled__Provider.getProvider_month.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
- 52
- 52
- 1
- 0
- 52
- 0
- 20
- 0
- http://www.comcast.net/
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingdimension_1__CustomDimensions.getCustomDimension_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingdimension_1__CustomDimensions.getCustomDimension_day.xml
deleted file mode 100644
index f63c0654072d9ec149237b6c5c8a5c066a57adab..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingdimension_1__CustomDimensions.getCustomDimension_day.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
- 5
- 5
- 6
- 5
- 2
- 3
- 3
- 0
- 0
- 1
- 60%
- 1.2
- dimension1==0
-
-
-
- 5
- 5
- 6
- 5
- 2
- 2
- 3
- 0
- 0
- 0
- 60%
- 1.2
- dimension1==5
-
-
-
- 15
- 15
- 18
- 15
- 2
- 8
- 9
- 0
- 0
- 1
- 60%
- 1.2
- dimension1==-1
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingdimension_1_flattened__CustomDimensions.getCustomDimension_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingdimension_1_flattened__CustomDimensions.getCustomDimension_day.xml
deleted file mode 100644
index 51240f1e87b9f249b45618adfd67d69a19c3bf5c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingdimension_1_flattened__CustomDimensions.getCustomDimension_day.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
- 15
- 15
- 18
- 15
- 2
- 8
- 9
- 0
- 0
- 1
- 60%
- 1.2
- dimension1==-1
- 1
- Others
-
-
-
- 5
- 5
- 6
- 5
- 2
- 3
- 3
- 0
- 0
- 1
- 60%
- 1.2
- dimension1==0
- 0
-
-
-
- 5
- 5
- 6
- 5
- 2
- 2
- 3
- 0
- 0
- 0
- 60%
- 1.2
- dimension1==5
- 5
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingdimension_1_rankingQuery__CustomDimensions.getCustomDimension_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingdimension_1_rankingQuery__CustomDimensions.getCustomDimension_day.xml
deleted file mode 100644
index f63c0654072d9ec149237b6c5c8a5c066a57adab..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingdimension_1_rankingQuery__CustomDimensions.getCustomDimension_day.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
- 5
- 5
- 6
- 5
- 2
- 3
- 3
- 0
- 0
- 1
- 60%
- 1.2
- dimension1==0
-
-
-
- 5
- 5
- 6
- 5
- 2
- 2
- 3
- 0
- 0
- 0
- 60%
- 1.2
- dimension1==5
-
-
-
- 15
- 15
- 18
- 15
- 2
- 8
- 9
- 0
- 0
- 1
- 60%
- 1.2
- dimension1==-1
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingdimension_2__CustomDimensions.getCustomDimension_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingdimension_2__CustomDimensions.getCustomDimension_day.xml
deleted file mode 100644
index f81d06228955246b63739d5ff3bb13e4cb2e3453..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingdimension_2__CustomDimensions.getCustomDimension_day.xml
+++ /dev/null
@@ -1,301 +0,0 @@
-
-
-
-
- 9
- 9
- 9
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
-
-
-
-
-
-
-
- 4
- 4
- 4
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
-
-
-
-
-
-
-
-
-
- 9
- 9
- 9
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
-
-
-
-
-
-
-
- 4
- 4
- 4
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
-
-
-
-
-
-
-
-
-
- 226
- 226
- 226
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_flattened__CustomDimensions.getCustomDimension_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_flattened__CustomDimensions.getCustomDimension_day.xml
deleted file mode 100644
index ddb82662c2a7613ba592e086bce3418d7b5852f0..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_flattened__CustomDimensions.getCustomDimension_day.xml
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
-
- 226
- 226
- 226
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
- 1
- Others
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
-
- 20 - piwik.net/4/16
-
-
-
- 5
- 5
- 5
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
-
- 21 - piwik.net/4/17
-
-
-
- 4
- 4
- 4
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
- 20 - Others
- 1
-
-
-
- 4
- 4
- 4
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
- 21 - Others
- 1
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_rankingQuery__CustomDimensions.getCustomDimension_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_rankingQuery__CustomDimensions.getCustomDimension_day.xml
deleted file mode 100644
index ec77dba206cfe4360ca3c0776970c84ebe07fbf8..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingdimension_2_rankingQuery__CustomDimensions.getCustomDimension_day.xml
+++ /dev/null
@@ -1,217 +0,0 @@
-
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
-
-
-
-
-
-
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
-
-
-
- 8
- 8
- 8
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
-
-
-
-
-
-
-
-
-
- 228
- 228
- 228
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
- 0
- 0
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getAction_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getAction_day.xml
deleted file mode 100644
index 48ced301290cf8dd4d301e0b006ad2473ddf94d5..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getAction_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventAction==-1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventAction==event+action+0
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 19
- 19
- 19
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getCategory_day.xml
deleted file mode 100644
index 46a1146fc0eecfc64fc8a075c916faebb43e0b6e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getCategory_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventCategory==-1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventCategory==event+category+0
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 19
- 19
- 19
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getName_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getName_day.xml
deleted file mode 100644
index 31d2d849ad4397001ec296e1edd376d8db93972a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel___Events.getName_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventName==-1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventName==event+name+0
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 19
- 19
- 19
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getAction_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getAction_day.xml
deleted file mode 100644
index ddf552146529fc8db5e98096d49d5199a39d3465..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getAction_day.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 19
- 19
- 19
- 0
- 0
-
-
- 0
- 1
- Others
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- -1
- -1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- event action 0
- event name 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getCategory_day.xml
deleted file mode 100644
index 8f2b51fd5ee55f8c90bd6c79b14cd85468da596d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getCategory_day.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 19
- 19
- 19
- 0
- 0
-
-
- 0
- 1
- Others
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- -1
- -1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- event category 0
- event action 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getName_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getName_day.xml
deleted file mode 100644
index 9f85d8411bc8798b2508230fb0a9657508446c4a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__flattened__Events.getName_day.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
- 19
- 19
- 19
- 0
- 0
-
-
- 0
- 1
- Others
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- -1
- -1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- event name 0
- event action 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getAction_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getAction_day.xml
deleted file mode 100644
index 7d74074f3695ad97728fb18643bc111a7902921c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getAction_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventAction==-1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventAction==event+action+0
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 19
- 19
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getCategory_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getCategory_day.xml
deleted file mode 100644
index 3da6ff1077f4aea33f5741cf1cec11b4b9700ea6..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getCategory_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventCategory==-1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventCategory==event+category+0
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 19
- 19
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getName_day.xml b/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getName_day.xml
deleted file mode 100644
index 1ae683001b396156695cc0f2566ff03e3da8d67f..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_reportLimitingwithNegOneLabel__rankingQuery__Events.getName_day.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventName==-1
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- eventName==event+name+0
-
-
-
- 1
- 1
- 1
- 0
- 0
-
-
- 0
-
-
-
-
-
- 3
- 19
- 19
- 0
- 0
-
-
- 0
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrl_day.rss b/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrl_day.rss
deleted file mode 100644
index 426221f6f30ff49f93c2a86dec5566a2a2c97d5f..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrl_day.rss
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
- matomo statistics - RSS
- https://matomo.org
- Matomo RSS feed
- Tue, 20 Oct 2020 20:10:20 +0000
- matomo
- en
- Tue, 20 Oct 2020 20:10:20 +0000
- -
- Tue, 21 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-21
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-21
- Site AAAAAA on 2010-12-21
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Mon, 20 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-20
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-20
- Site AAAAAA on 2010-12-20
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Sun, 19 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-19
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-19
- Site AAAAAA on 2010-12-19
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Sat, 18 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-18
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-18
- Site AAAAAA on 2010-12-18
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Fri, 17 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-17
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-17
- Site AAAAAA on 2010-12-17
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Thu, 16 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-16
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-16
- Site AAAAAA on 2010-12-16
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Wed, 15 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-15
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-15
- Site AAAAAA on 2010-12-15
- https://matomo.org
- <table border=1 width=70%><tr> <td><strong>label</strong></td> <td><strong>nb_visits</strong></td> <td><strong>nb_uniq_visitors</strong></td> <td><strong>nb_hits</strong></td> <td><strong>sum_time_spent</strong></td> <td><strong>sum_bandwidth</strong></td> <td><strong>nb_hits_with_bandwidth</strong></td> <td><strong>min_bandwidth</strong></td> <td><strong>max_bandwidth</strong></td> <td><strong>entry_nb_uniq_visitors</strong></td> <td><strong>entry_nb_visits</strong></td> <td><strong>entry_nb_actions</strong></td> <td><strong>entry_sum_visit_length</strong></td> <td><strong>entry_bounce_count</strong></td> <td><strong>avg_time_on_page</strong></td> <td><strong>bounce_rate</strong></td> <td><strong>exit_rate</strong></td> <td><strong>avg_bandwidth</strong></td></tr><tr> <td>/homepage</td> <td>1</td> <td>1</td> <td>1</td> <td>360</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>1</td> <td>1</td> <td>2</td> <td>361</td> <td>0</td> <td>360</td> <td>0%</td> <td>0%</td> <td>0</td></tr></table>
-
- -
- Tue, 14 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-14
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-14
- Site AAAAAA on 2010-12-14
- https://matomo.org
- <table border=1 width=70%><tr> <td><strong>label</strong></td> <td><strong>nb_visits</strong></td> <td><strong>nb_uniq_visitors</strong></td> <td><strong>nb_hits</strong></td> <td><strong>sum_time_spent</strong></td> <td><strong>sum_bandwidth</strong></td> <td><strong>nb_hits_with_bandwidth</strong></td> <td><strong>min_bandwidth</strong></td> <td><strong>max_bandwidth</strong></td> <td><strong>entry_nb_uniq_visitors</strong></td> <td><strong>entry_nb_visits</strong></td> <td><strong>entry_nb_actions</strong></td> <td><strong>entry_sum_visit_length</strong></td> <td><strong>entry_bounce_count</strong></td> <td><strong>avg_time_on_page</strong></td> <td><strong>bounce_rate</strong></td> <td><strong>exit_rate</strong></td> <td><strong>avg_bandwidth</strong></td></tr><tr> <td>/homepage</td> <td>1</td> <td>1</td> <td>1</td> <td>360</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>1</td> <td>1</td> <td>2</td> <td>361</td> <td>0</td> <td>360</td> <td>0%</td> <td>0%</td> <td>0</td></tr></table>
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrl_week.rss b/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrl_week.rss
deleted file mode 100644
index a883410a8f33b5f9b5a5dd07299fb0e19032c324..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrl_week.rss
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- matomo statistics - RSS
- https://matomo.org
- Matomo RSS feed
- Tue, 20 Oct 2020 20:10:20 +0000
- matomo
- en
- Tue, 20 Oct 2020 20:10:20 +0000
- -
- Mon, 20 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=2010-12-20
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=2010-12-20
- Site AAAAAA on 2010-12-20,2010-12-26
- https://matomo.org
- <table border=1 width=70%><tr> <td><strong>label</strong></td> <td><strong>nb_visits</strong></td> <td><strong>nb_hits</strong></td> <td><strong>sum_time_spent</strong></td> <td><strong>sum_bandwidth</strong></td> <td><strong>nb_hits_with_bandwidth</strong></td> <td><strong>min_bandwidth</strong></td> <td><strong>max_bandwidth</strong></td> <td><strong>entry_nb_visits</strong></td> <td><strong>entry_nb_actions</strong></td> <td><strong>entry_sum_visit_length</strong></td> <td><strong>entry_bounce_count</strong></td> <td><strong>sum_daily_nb_uniq_visitors</strong></td> <td><strong>sum_daily_entry_nb_uniq_visitors</strong></td> <td><strong>avg_time_on_page</strong></td> <td><strong>bounce_rate</strong></td> <td><strong>exit_rate</strong></td> <td><strong>avg_bandwidth</strong></td></tr><tr> <td>/homepage</td> <td>1</td> <td>1</td> <td>360</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>1</td> <td>2</td> <td>361</td> <td>0</td> <td>1</td> <td>1</td> <td>360</td> <td>0%</td> <td>0%</td> <td>0</td></tr></table>
-
- -
- Mon, 13 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=2010-12-13
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=2010-12-13
- Site AAAAAA on 2010-12-13,2010-12-19
- https://matomo.org
- <table border=1 width=70%><tr> <td><strong>label</strong></td> <td><strong>nb_visits</strong></td> <td><strong>nb_hits</strong></td> <td><strong>sum_time_spent</strong></td> <td><strong>sum_bandwidth</strong></td> <td><strong>nb_hits_with_bandwidth</strong></td> <td><strong>min_bandwidth</strong></td> <td><strong>max_bandwidth</strong></td> <td><strong>entry_nb_visits</strong></td> <td><strong>entry_nb_actions</strong></td> <td><strong>entry_sum_visit_length</strong></td> <td><strong>entry_bounce_count</strong></td> <td><strong>sum_daily_nb_uniq_visitors</strong></td> <td><strong>sum_daily_entry_nb_uniq_visitors</strong></td> <td><strong>avg_time_on_page</strong></td> <td><strong>bounce_rate</strong></td> <td><strong>exit_rate</strong></td> <td><strong>avg_bandwidth</strong></td></tr><tr> <td>/homepage</td> <td>2</td> <td>2</td> <td>720</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>2</td> <td>4</td> <td>722</td> <td>0</td> <td>2</td> <td>2</td> <td>360</td> <td>0%</td> <td>0%</td> <td>0</td></tr></table>
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrls_day.rss b/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrls_day.rss
deleted file mode 100644
index aa5cbd1d0ed286c6f1ee778222f68b93c488848e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_rssExport__Actions.getPageUrls_day.rss
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
- matomo statistics - RSS
- https://matomo.org
- Matomo RSS feed
- Tue, 20 Oct 2020 20:10:20 +0000
- matomo
- en
- Tue, 20 Oct 2020 20:10:20 +0000
- -
- Thu, 16 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-16
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-16
- Site AAAAAA on 2010-12-16
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Wed, 15 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-15
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-15
- Site AAAAAA on 2010-12-15
- https://matomo.org
- <table border=1 width=70%><tr> <td><strong>label</strong></td> <td><strong>nb_visits</strong></td> <td><strong>nb_uniq_visitors</strong></td> <td><strong>nb_hits</strong></td> <td><strong>sum_time_spent</strong></td> <td><strong>sum_bandwidth</strong></td> <td><strong>nb_hits_with_bandwidth</strong></td> <td><strong>min_bandwidth</strong></td> <td><strong>max_bandwidth</strong></td> <td><strong>entry_nb_uniq_visitors</strong></td> <td><strong>entry_nb_visits</strong></td> <td><strong>entry_nb_actions</strong></td> <td><strong>entry_sum_visit_length</strong></td> <td><strong>entry_bounce_count</strong></td> <td><strong>avg_bandwidth</strong></td> <td><strong>avg_page_load_time</strong></td> <td><strong>avg_time_on_page</strong></td> <td><strong>bounce_rate</strong></td> <td><strong>exit_rate</strong></td> <td><strong>exit_nb_uniq_visitors</strong></td> <td><strong>exit_nb_visits</strong></td></tr><tr> <td>/homepage</td> <td>1</td> <td>1</td> <td>1</td> <td>360</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>1</td> <td>1</td> <td>2</td> <td>361</td> <td>0</td> <td>0</td> <td>0</td> <td>360</td> <td>0%</td> <td>0%</td> <td>-</td> <td>-</td></tr><tr> <td>/news</td> <td>1</td> <td>1</td> <td>1</td> <td>0</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>1</td> <td>1</td> <td>1</td> <td>0</td> <td>1</td> <td>0</td> <td>0</td> <td>0</td> <td>100%</td> <td>100%</td> <td>1</td> <td>1</td></tr><tr> <td>sub1</td> <td>1</td> <td>-</td> <td>1</td> <td>0</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>0</td> <td>0</td> <td>0</td> <td>0%</td> <td>100%</td> <td>-</td> <td>1</td></tr></table>
-
- -
- Tue, 14 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-14
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-14
- Site AAAAAA on 2010-12-14
- https://matomo.org
- <table border=1 width=70%><tr> <td><strong>label</strong></td> <td><strong>nb_visits</strong></td> <td><strong>nb_uniq_visitors</strong></td> <td><strong>nb_hits</strong></td> <td><strong>sum_time_spent</strong></td> <td><strong>sum_bandwidth</strong></td> <td><strong>nb_hits_with_bandwidth</strong></td> <td><strong>min_bandwidth</strong></td> <td><strong>max_bandwidth</strong></td> <td><strong>entry_nb_uniq_visitors</strong></td> <td><strong>entry_nb_visits</strong></td> <td><strong>entry_nb_actions</strong></td> <td><strong>entry_sum_visit_length</strong></td> <td><strong>entry_bounce_count</strong></td> <td><strong>avg_bandwidth</strong></td> <td><strong>avg_page_load_time</strong></td> <td><strong>avg_time_on_page</strong></td> <td><strong>bounce_rate</strong></td> <td><strong>exit_rate</strong></td> <td><strong>exit_nb_uniq_visitors</strong></td> <td><strong>exit_nb_visits</strong></td></tr><tr> <td>/homepage</td> <td>1</td> <td>1</td> <td>1</td> <td>360</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>1</td> <td>1</td> <td>2</td> <td>361</td> <td>0</td> <td>0</td> <td>0</td> <td>360</td> <td>0%</td> <td>0%</td> <td>-</td> <td>-</td></tr><tr> <td>/news</td> <td>1</td> <td>1</td> <td>1</td> <td>0</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>1</td> <td>1</td> <td>1</td> <td>0</td> <td>1</td> <td>0</td> <td>0</td> <td>0</td> <td>100%</td> <td>100%</td> <td>1</td> <td>1</td></tr><tr> <td>sub1</td> <td>1</td> <td>-</td> <td>1</td> <td>0</td> <td>0</td> <td>0</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>-</td> <td>0</td> <td>0</td> <td>0</td> <td>0%</td> <td>100%</td> <td>-</td> <td>1</td></tr></table>
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_rssExport__VisitsSummary.get_day.rss b/tests/PHPUnit/System/expected/test_rssExport__VisitsSummary.get_day.rss
deleted file mode 100644
index 9e841a342be96d02f62cd8c5418aee20b7855005..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_rssExport__VisitsSummary.get_day.rss
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
- matomo statistics - RSS
- https://matomo.org
- Matomo RSS feed
- Tue, 20 Oct 2020 20:10:20 +0000
- matomo
- en
- Tue, 20 Oct 2020 20:10:20 +0000
- -
- Thu, 16 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-16
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-16
- Site AAAAAA on 2010-12-16
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Wed, 15 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-15
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-15
- Site AAAAAA on 2010-12-15
- https://matomo.org
- <table border=1 width=70%><tr> <td><strong>nb_uniq_visitors</strong></td> <td><strong>nb_users</strong></td> <td><strong>nb_visits</strong></td> <td><strong>nb_actions</strong></td> <td><strong>nb_visits_converted</strong></td> <td><strong>bounce_count</strong></td> <td><strong>sum_visit_length</strong></td> <td><strong>max_actions</strong></td> <td><strong>bounce_rate</strong></td> <td><strong>nb_actions_per_visit</strong></td> <td><strong>avg_time_on_site</strong></td></tr><tr> <td>1</td> <td>0</td> <td>2</td> <td>3</td> <td>0</td> <td>1</td> <td>361</td> <td>2</td> <td>50%</td> <td>1.5</td> <td>181</td></tr></table>
-
- -
- Tue, 14 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-14
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-14
- Site AAAAAA on 2010-12-14
- https://matomo.org
- <table border=1 width=70%><tr> <td><strong>nb_uniq_visitors</strong></td> <td><strong>nb_users</strong></td> <td><strong>nb_visits</strong></td> <td><strong>nb_actions</strong></td> <td><strong>nb_visits_converted</strong></td> <td><strong>bounce_count</strong></td> <td><strong>sum_visit_length</strong></td> <td><strong>max_actions</strong></td> <td><strong>bounce_rate</strong></td> <td><strong>nb_actions_per_visit</strong></td> <td><strong>avg_time_on_site</strong></td></tr><tr> <td>1</td> <td>0</td> <td>2</td> <td>3</td> <td>0</td> <td>1</td> <td>361</td> <td>2</td> <td>50%</td> <td>1.5</td> <td>181</td></tr></table>
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_rssExport_empty__Actions.getPageUrl_day.rss b/tests/PHPUnit/System/expected/test_rssExport_empty__Actions.getPageUrl_day.rss
deleted file mode 100644
index f18c004ac6a15c83f328187c0c3874692d3fa1cc..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_rssExport_empty__Actions.getPageUrl_day.rss
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
- matomo statistics - RSS
- https://matomo.org
- Matomo RSS feed
- Tue, 20 Oct 2020 20:10:20 +0000
- matomo
- en
- Tue, 20 Oct 2020 20:10:20 +0000
- -
- Tue, 20 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- Site AAAAAA on 2020-10-20
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Mon, 19 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- Site AAAAAA on 2020-10-19
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Sun, 18 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- Site AAAAAA on 2020-10-18
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Sat, 17 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- Site AAAAAA on 2020-10-17
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Fri, 16 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- Site AAAAAA on 2020-10-16
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Thu, 15 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- Site AAAAAA on 2020-10-15
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Wed, 14 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=
- Site AAAAAA on 2020-10-14
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_rssExport_empty__Actions.getPageUrl_week.rss b/tests/PHPUnit/System/expected/test_rssExport_empty__Actions.getPageUrl_week.rss
deleted file mode 100644
index eb34219dbcd29ba8338990b3459399fda570677c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_rssExport_empty__Actions.getPageUrl_week.rss
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
- matomo statistics - RSS
- https://matomo.org
- Matomo RSS feed
- Tue, 20 Oct 2020 20:10:20 +0000
- matomo
- en
- Tue, 20 Oct 2020 20:10:20 +0000
- -
- Mon, 19 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=
- Site AAAAAA on 2020-10-19,2020-10-25
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Mon, 12 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=
- Site AAAAAA on 2020-10-12,2020-10-18
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Mon, 05 Oct 2020 20:10:20 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=week&date=
- Site AAAAAA on 2020-10-05,2020-10-11
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_rssExport_subdir__Actions.getPageUrl_day.rss b/tests/PHPUnit/System/expected/test_rssExport_subdir__Actions.getPageUrl_day.rss
deleted file mode 100644
index 4cc06ac0826029de4179050412f1593641cf687e..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_rssExport_subdir__Actions.getPageUrl_day.rss
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
- matomo statistics - RSS
- https://matomo.org
- Matomo RSS feed
- Tue, 20 Oct 2020 20:10:20 +0000
- matomo
- en
- Tue, 20 Oct 2020 20:10:20 +0000
- -
- Tue, 21 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-21
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-21
- Site AAAAAA on 2010-12-21
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Mon, 20 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-20
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-20
- Site AAAAAA on 2010-12-20
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Sun, 19 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-19
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-19
- Site AAAAAA on 2010-12-19
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Sat, 18 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-18
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-18
- Site AAAAAA on 2010-12-18
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Fri, 17 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-17
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-17
- Site AAAAAA on 2010-12-17
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Thu, 16 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-16
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-16
- Site AAAAAA on 2010-12-16
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Wed, 15 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-15
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-15
- Site AAAAAA on 2010-12-15
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
- -
- Tue, 14 Dec 2010 00:00:00 +0000
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-14
- http://example.com/piwik/tests/PHPUnit/proxy/?module=CoreHome&action=index&idSite=1&period=day&date=2010-12-14
- Site AAAAAA on 2010-12-14
- https://matomo.org
- <strong><em>Empty table</em></strong><br />
-
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_specialDateParams_lastmonth__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_specialDateParams_lastmonth__Actions.getPageTitles_day.xml
deleted file mode 100644
index f5bc8695113d8a01a1780df1e25bfbf41efa49ae..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_specialDateParams_lastmonth__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 0
- 0
- 100%
- 100%
- pageTitle==Checkout%252FPurchasing...
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_specialDateParams_lastmonth__VisitsSummary.getVisits_day.xml b/tests/PHPUnit/System/expected/test_specialDateParams_lastmonth__VisitsSummary.getVisits_day.xml
deleted file mode 100644
index 606fbb524182170284d7f1baad7fce4697d9b8b3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_specialDateParams_lastmonth__VisitsSummary.getVisits_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-1
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_specialDateParams_lastweek__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_specialDateParams_lastweek__Actions.getPageTitles_day.xml
deleted file mode 100644
index 0cbcf088c966e803b5522ae7791132381817c935..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_specialDateParams_lastweek__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 0
- 0
- 100%
- 100%
- pageTitle==incredible%2521
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_specialDateParams_lastweek__VisitsSummary.getVisits_day.xml b/tests/PHPUnit/System/expected/test_specialDateParams_lastweek__VisitsSummary.getVisits_day.xml
deleted file mode 100644
index 606fbb524182170284d7f1baad7fce4697d9b8b3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_specialDateParams_lastweek__VisitsSummary.getVisits_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-1
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_specialDateParams_lastyear__Actions.getPageTitles_day.xml b/tests/PHPUnit/System/expected/test_specialDateParams_lastyear__Actions.getPageTitles_day.xml
deleted file mode 100644
index 2a3ee0717b2e50d57dc775f605428c889df18d3d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_specialDateParams_lastyear__Actions.getPageTitles_day.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
- 1
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 0
- 0
- 0
- 100%
- 100%
- pageTitle==Visit%2Bproduct
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_specialDateParams_lastyear__VisitsSummary.getVisits_day.xml b/tests/PHPUnit/System/expected/test_specialDateParams_lastyear__VisitsSummary.getVisits_day.xml
deleted file mode 100644
index 606fbb524182170284d7f1baad7fce4697d9b8b3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_specialDateParams_lastyear__VisitsSummary.getVisits_day.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-1
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_specialDateParams_range__Actions.getPageTitles_range.xml b/tests/PHPUnit/System/expected/test_specialDateParams_range__Actions.getPageTitles_range.xml
deleted file mode 100644
index 759d5c33928597cf1e3853a6915ae9caba071f15..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_specialDateParams_range__Actions.getPageTitles_range.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 1
- 1
- 1
- 1
- 1
- 0
- 0
- 0
- 100%
- 100%
- pageTitle==Checkout%252FPurchasing...
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 1
- 1
- 1
- 1
- 1
- 0
- 0
- 0
- 100%
- 100%
- pageTitle==incredible%2521
-
-
-
- 1
- 1
- 0
- 0
- 0
-
-
- 1
- 1
- 0
- 1
- 1
- 1
- 1
- 1
- 0
- 0
- 0
- 100%
- 100%
- pageTitle==Visit%2Bproduct
-
-
\ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_specialDateParams_range__VisitsSummary.getVisits_range.xml b/tests/PHPUnit/System/expected/test_specialDateParams_range__VisitsSummary.getVisits_range.xml
deleted file mode 100644
index 15ef03fb49cfea4767aa035a031e96c3b348bc93..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/System/expected/test_specialDateParams_range__VisitsSummary.getVisits_range.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-3
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/API/ApiRendererTest.php b/tests/PHPUnit/Unit/API/ApiRendererTest.php
deleted file mode 100644
index 9373963727a80303bbea964f230538abad75e3da..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/API/ApiRendererTest.php
+++ /dev/null
@@ -1,51 +0,0 @@
-loadPlugins(array('API'));
- }
-
- public function testFactoryShouldCreateAnInstanceIfValidFormatGiven()
- {
- $renderer = ApiRenderer::factory('xml', array());
- $this->assertInstanceOf('Piwik\Plugins\API\Renderer\Xml', $renderer);
-
- $renderer = ApiRenderer::factory('XML', array());
- $this->assertInstanceOf('Piwik\Plugins\API\Renderer\Xml', $renderer);
-
- $renderer = ApiRenderer::factory('cSv', array());
- $this->assertInstanceOf('Piwik\Plugins\API\Renderer\Csv', $renderer);
-
- $renderer = ApiRenderer::factory('xmL', array());
- $this->assertInstanceOf('Piwik\Plugins\API\Renderer\Xml', $renderer);
-
- $renderer = ApiRenderer::factory('OriginAl', array());
- $this->assertInstanceOf('Piwik\Plugins\API\Renderer\Original', $renderer);
- }
-
- public function testFactoryShouldThrowAnExceptionIfInvalidFormatGiven()
- {
- $this->expectException(\Exception::class);
- $this->expectExceptionMessage('General_ExceptionInvalidRendererFormat');
-
- ApiRenderer::factory('csvi', array());
- }
-}
diff --git a/tests/PHPUnit/Unit/API/DataTableGenericFilterTest.php b/tests/PHPUnit/Unit/API/DataTableGenericFilterTest.php
deleted file mode 100644
index ae0c0c1eef34afe385eff70728180ac4d0ec0501..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/API/DataTableGenericFilterTest.php
+++ /dev/null
@@ -1,31 +0,0 @@
-addRowsFromSimpleArray([
- ['nb_visits' => 2, 'nb_actions' => 3],
- ['nb_visits' => 4, 'nb_actions' => 5],
- ]);
- $dataTable->setMetadata(DataTable::GENERIC_FILTERS_TO_DISABLE_METADATA_NAME, ['Limit']);
-
- $genericFilter = new DataTableGenericFilter(['filter_limit' => 1], null);
- $genericFilter->filter($dataTable);
-
- $this->assertEquals(2, $dataTable->getRowsCount());
- }
-}
diff --git a/tests/PHPUnit/Unit/API/ResponseBuilderTest.php b/tests/PHPUnit/Unit/API/ResponseBuilderTest.php
deleted file mode 100644
index d7a251ea118e33699ecafa4ec55f91488a5f1b48..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/API/ResponseBuilderTest.php
+++ /dev/null
@@ -1,351 +0,0 @@
-loadPlugins(array('API'));
- }
-
- public function testGetResponseExceptionShouldFormatExceptionDependingOnFormatAndAddDebugHelp()
- {
- $builder = new ResponseBuilder('xml', array());
- $response = $builder->getResponseException(new Exception('My Message'));
-
- $this->assertEquals('
-
-
-', $response);
- }
-
- public function testGetResponseShouldTreatAsSuccessIfNoValue()
- {
- $builder = new ResponseBuilder('xml', array());
- $response = $builder->getResponse(null);
-
- $this->assertEquals('
-
-
-', $response);
- }
-
- public function testGetResponseShouldNotReturnAnythingIfContentWasOutput()
- {
- echo 5;
- $builder = new ResponseBuilder('xml', array());
- $response = $builder->getResponse(null);
-
- $this->assertNull($response);
- ob_clean();
- }
-
- public function testGetResponseShouldHandleScalar()
- {
- $builder = new ResponseBuilder('xml', array());
-
- $response = $builder->getResponse(true);
- $this->assertEquals('
-1', $response);
-
- $response = $builder->getResponse(5);
- $this->assertEquals('
-5', $response);
-
- $response = $builder->getResponse('string');
- $this->assertEquals('
-string', $response);
- }
-
- public function testGetResponseShouldHandleDataTable()
- {
- $builder = new ResponseBuilder('xml', array());
-
- $dataTable = new DataTable();
- $dataTable->addRowFromSimpleArray(array('nb_visits' => 5, 'nb_random' => 10));
-
- $response = $builder->getResponse($dataTable);
- $this->assertEquals('
-
-
- 5
- 10
-
-', $response);
- }
-
- public function testGetResponseShouldHandleObject()
- {
- $object = new \stdClass();
-
- $builder = new ResponseBuilder('xml', array());
- $response = $builder->getResponse($object);
- $this->assertSame('
-
-
-', $response);
-
- $builder = new ResponseBuilder('original', array());
- $response = $builder->getResponse($object);
- $this->assertSame($object, $response);
- }
-
- public function testGetResponseShouldHandleResource()
- {
- $resource = curl_init();
-
- $builder = new ResponseBuilder('xml', array());
- $response = $builder->getResponse($resource);
- $this->assertSame('
-
-
-', $response);
-
- $builder = new ResponseBuilder('original', array());
- $response = $builder->getResponse($resource);
- $this->assertSame($resource, $response);
- }
-
- public function testGetResponseShouldHandleArray()
- {
- $builder = new ResponseBuilder('xml', array());
- $response = $builder->getResponse(array(1, 2, 3, 'string', 10));
- $this->assertSame('
-
- 1
- 2
- 3
- string
- 10
-', $response);
- }
-
- public function testGetResponseShouldHandleAssociativeArray()
- {
- $builder = new ResponseBuilder('xml', array());
- $response = $builder->getResponse(array('test' => 'two', 'test2' => 'three'));
- $this->assertSame('
-
-
- two
- three
-
-', $response);
- }
-
- public function testGetResponseShouldHandleIndexedAssociativeArray()
- {
- $builder = new ResponseBuilder('xml', array());
- $response = $builder->getResponse(array(array('test' => 'two', 'test2' => 'three')));
- $this->assertSame('
-
-
- two
- three
-
-', $response);
- }
-
- public function testGetResponseShouldBeAbleToApplyFilterOnIndexedAssociativeArray()
- {
- $input = array();
- for ($i = 0; $i < 10; $i++) {
- $input[] = array('test' => 'two' . $i, 'test2' => 'three');
- }
-
- $builder = new ResponseBuilder('original', array('serialize' => 0));
- $response = $builder->getResponse($input);
-
- $this->assertEquals($input, $response);
- $this->assertCount(10, $response);
-
- $builder = new ResponseBuilder('original', array('serialize' => 0, 'showColumns' => 'test'));
- $response = $builder->getResponse($input);
-
- $this->assertEquals(array('test' => 'two0'), array_shift($response));
- }
-
- public function testGetResponseShouldApplyFilterLimitOnIndexedArray()
- {
- $input = range(0, 100);
- $expected = range(0, 14);
- $this->assertLimitedResponseEquals($expected, $input, $limit = 15, $offset = null);
- }
-
- public function testGetResponseShouldReturnEmptyArrayOnIndexedArrayIfOffsetIsTooHigh()
- {
- $input = range(0, 100);
- $this->assertLimitedResponseEquals(array(), $input, $limit = 15, $offset = 200);
- }
-
- public function testGetResponseShouldReturnAllOnIndexedArrayIfLimitIsTooHigh()
- {
- $input = range(0, 100);
- $this->assertLimitedResponseEquals($input, $input, $limit = 200, $offset = null);
- }
-
- public function testGetResponseShouldNotApplyFilterLimitOnIndexedArrayIfParamNotSet()
- {
- $input = range(0, 100);
- $this->assertLimitedResponseEquals($input, $input, $limit = null, $offset = null);
- }
-
- public function testGetResponseShouldApplyLimitOnIndexedArrayIfLimitIsDefaultFilterLimitValue()
- {
- $limit = Config::getInstance()->General['API_datatable_default_limit'];
- $input = range(0, 2000);
- $expected = range(0, $limit - 1);
- $this->assertLimitedResponseEquals($expected, $input, $limit, $offset = 0);
- }
-
- private function assertLimitedResponseEquals($expectedResponse, $input, $limit, $offset = 0)
- {
- $params = array('serialize' => 0);
-
- if (!is_null($limit)) {
- $params['filter_limit'] = $limit;
- }
-
- if (!is_null($offset)) {
- $params['filter_offset'] = $offset;
- }
-
- $builder = new ResponseBuilder('json', $params);
- $response = json_decode($builder->getResponse($input), true);
-
- $this->assertEquals($expectedResponse, $response);
- }
-
- public function testGetResponseShouldAlwaysApplyDefaultFilterLimitEvenWhenResponseIsAnArray()
- {
- $input = range(0, 200);
- $limit = Config::getInstance()->General['API_datatable_default_limit'];
-
- $builder = new ResponseBuilder('json', array(
- 'serialize' => 0,
- 'api_datatable_default_limit' => $limit,
- 'filter_limit' => $limit,
- 'filter_offset' => 0));
- $response = $builder->getResponse($input);
-
- $this->assertEquals(range(0, 99), json_decode($response, true));
- }
-
- public function testGetResponseShouldApplyLimitIfLimitIsSetBySystemButDifferentToDefaultLimit()
- {
- $input = range(0, 200);
- $defaultLimit = Config::getInstance()->General['API_datatable_default_limit'];
- $limit = $defaultLimit - 1;
-
- $builder = new ResponseBuilder('json', array(
- 'serialize' => 0,
- 'api_datatable_default_limit' => $defaultLimit,
- 'filter_limit' => $limit,
- 'filter_offset' => 0));
- $response = $builder->getResponse($input);
-
- $this->assertEquals(range(0, $limit - 1), json_decode($response, true));
- }
-
- public function testGetResponseShouldApplyFilterOffsetOnIndexedArrayIfFilterLimitIsGiven()
- {
- $input = range(0, 100);
- $expected = range(30, 44);
- $this->assertLimitedResponseEquals($expected, $input, $limit = 15, $offset = 30);
- }
-
- public function testGetResponseShouldApplyFilterOffsetOnIndexedArrayIfNoFilterLimitIsSetButOffset()
- {
- $input = range(0, 100);
- $expected = range(30, 100);
- $this->assertLimitedResponseEquals($expected, $input, $limit = null, $offset = 30);
- }
-
- public function testGetResponseShouldReturnEmptyArrayOnIndexedArrayIfFilterLimitIsZero()
- {
- $input = range(0, 100);
- $this->assertLimitedResponseEquals($expected = array(), $input, $limit = 0, $offset = 30);
- }
-
- public function testGetResponseShouldApplyFilterOffsetOnIndexedArrayIfFilterLimitIsMinusOne()
- {
- $input = range(0, 100);
- $expected = range(30, 100);
- $this->assertLimitedResponseEquals($expected, $input, $limit = -1, $offset = 30);
- }
-
- public function testGetResponseShouldReturnAllOnIndexedArrayIfFilterLimitIsMinusOne()
- {
- $input = range(0, 100);
- $this->assertLimitedResponseEquals($input, $input, $limit = -1, $offset = null);
- }
-
- public function testGetResponseShouldApplyPatternIfFilterColumnAndPatternIsGiven()
- {
- $input = array(
- 0 => array('name' => 'google', 'url' => 'www.google.com'),
- 1 => array('name' => 'ask', 'url' => 'www.ask.com'),
- 2 => array('name' => 'piwik', 'url' => 'piwik.org'),
- 3 => array('url' => 'nz.yahoo.com'),
- 4 => array('name' => 'amazon', 'url' => 'amazon.com'),
- 5 => array('url' => 'nz.piwik.org'),
- );
-
- $builder = new ResponseBuilder('json', array(
- 'serialize' => 0,
- 'filter_limit' => -1,
- 'filter_column' => array('name', 'url'),
- 'filter_pattern' => 'piwik',
- ));
- $response = $builder->getResponse($input);
-
- $expected = array(
- 2 => array('name' => 'piwik', 'url' => 'piwik.org'),
- 5 => array('url' => 'nz.piwik.org'),
- );
- $this->assertEquals($expected, json_decode($response, true));
- }
-
- public function testGetResponseShouldBeAbleToApplyColumFilterAndLimitFilterOnIndexedAssociativeArray()
- {
- $input = array();
- for ($i = 0; $i < 10; $i++) {
- $input[] = array('test' => 'two' . $i, 'test2' => 'three');
- }
-
- $limit = 3;
-
- $builder = new ResponseBuilder('json', array(
- 'serialize' => 0,
- 'filter_limit' => $limit,
- 'filter_offset' => 3,
- 'showColumns' => 'test',
- ));
- $response = $builder->getResponse($input);
-
- $this->assertEquals(array(
- 0 => array('test' => 'two3'),
- 1 => array('test' => 'two4'),
- 2 => array('test' => 'two5'),
- ), json_decode($response, true));
- }
-}
diff --git a/tests/PHPUnit/Unit/Archive/ArchiveStateTest.php b/tests/PHPUnit/Unit/Archive/ArchiveStateTest.php
deleted file mode 100644
index 9527ddc8e823671868f340e8220a2283bfe3366a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Archive/ArchiveStateTest.php
+++ /dev/null
@@ -1,274 +0,0 @@
-setUpSite([]);
-
- [$archiveData, $archiveIds, $archiveStates] = $this->createArchiveInfo(
- $date1,
- $date2,
- $tsArchived,
- $archiveState
- );
-
- $collection = $this->createCollection($archiveData);
-
- $archiveState = new ArchiveState();
- $archiveState->addMetadataToResultCollection($collection, $archiveData, $archiveIds, $archiveStates);
-
- $this->assertMetadataState($expectedMetadataState, $collection);
- }
-
- public function getArchiveStateTestData(): iterable
- {
- yield 'complete' => [
- '2020-01-31',
- '2020-01-31',
- '2020-02-01 10:00:00',
- ArchiveWriter::DONE_OK,
- ArchiveState::COMPLETE,
- ];
-
- yield 'invalidated archive' => [
- '2020-01-31',
- '2020-01-31',
- '2020-02-01 10:00:00',
- ArchiveWriter::DONE_INVALIDATED,
- ArchiveState::INVALIDATED,
- ];
-
- yield 'archive date matching date end exactly' => [
- '2020-01-31',
- '2020-01-31',
- '2020-01-31 23:59:59',
- ArchiveWriter::DONE_OK,
- ArchiveState::INCOMPLETE,
- ];
-
- yield 'archive date one second before date end' => [
- '2020-01-31',
- '2020-01-31',
- '2020-01-31 23:59:58',
- ArchiveWriter::DONE_OK,
- ArchiveState::INCOMPLETE,
- ];
-
- yield 'archive date one second past date end' => [
- '2020-01-31',
- '2020-01-31',
- '2020-02-01 00:00:00',
- ArchiveWriter::DONE_OK,
- ArchiveState::COMPLETE,
- ];
- }
-
- /**
- * @dataProvider getCheckTsArchivedWithBorderTimezonesTestData
- */
- public function testCheckTsArchivedWithBorderTimezones(
- string $timezone,
- string $date,
- string $tsArchivedUTC,
- string $expectedState
- ): void {
- $this->setUpSite(['timezone' => $timezone]);
-
- [$archiveData, $archiveIds, $archiveStates] = $this->createArchiveInfo(
- $date,
- $date,
- $tsArchivedUTC,
- ArchiveWriter::DONE_OK
- );
-
- $collection = $this->createCollection($archiveData);
-
- $archiveState = new ArchiveState();
- $archiveState->addMetadataToResultCollection($collection, $archiveData, $archiveIds, $archiveStates);
-
- $this->assertMetadataState($expectedState, $collection);
- }
-
- public function getCheckTsArchivedWithBorderTimezonesTestData(): iterable
- {
- yield 'UTC+14, complete' => [
- 'UTC+14',
- '2020-10-10',
- '2020-10-10 10:00:00',
- ArchiveState::COMPLETE,
- ];
-
- yield 'UTC+14, incomplete' => [
- 'UTC+14',
- '2020-10-10',
- '2020-10-10 09:59:59',
- ArchiveState::INCOMPLETE,
- ];
-
- yield 'UTC-12, complete' => [
- 'UTC-12',
- '2020-10-10',
- '2020-10-11 12:00:00',
- ArchiveState::COMPLETE,
- ];
-
- yield 'UTC-12, incomplete' => [
- 'UTC-12',
- '2020-10-10',
- '2020-10-11 11:59:59',
- ArchiveState::INCOMPLETE,
- ];
- }
-
- public function testNoMetadataSetIfNoInformationAvailable(): void
- {
- $this->setUpSite([]);
-
- [$archiveData, $archiveIds] = $this->createArchiveInfo(
- '2020-01-31',
- '2020-01-31',
- '2020-02-01 10:00:00',
- ArchiveWriter::DONE_INVALIDATED
- );
-
- $collection = $this->createCollection($archiveData);
-
- $archiveState = new ArchiveState();
- $archiveState->addMetadataToResultCollection($collection, $archiveData, $archiveIds, []);
-
- $this->assertMetadataState(null, $collection);
- }
-
- private function assertMetadataState(?string $expectedState, DataCollection $collection): void
- {
- $data = $collection->getIndexedArray([]);
- $metadata = $collection->getDataRowMetadata($data);
-
- if (null === $expectedState) {
- self::assertArrayNotHasKey(DataTable::ARCHIVE_STATE_METADATA_NAME, $metadata);
- } else {
- self::assertSame($expectedState, $metadata[DataTable::ARCHIVE_STATE_METADATA_NAME]);
- }
- }
-
- private function createArchiveInfo(
- string $date1,
- string $date2,
- string $tsArchived,
- int $archiveState
- ): array {
- $archiveId = 15;
- $rangeStr = $date1 . ',' . $date2;
-
- $archiveData = [
- [
- 'idsite' => self::IDSITE,
- 'date1' => $date1,
- 'date2' => $date2,
- 'name' => 'nb_visits',
- 'value' => 123,
- 'ts_archived' => $tsArchived,
- ],
- ];
-
- $archiveIds = [$rangeStr => [$archiveId]];
- $archiveStates = [self::IDSITE => [$rangeStr => [$archiveId => $archiveState]]];
-
- return [$archiveData, $archiveIds, $archiveStates];
- }
-
- private function createCollection($archiveData): DataCollection
- {
- $periods = [];
-
- foreach ($archiveData as $row) {
- if ($row['date1'] === $row['date2']) {
- $periods[] = Period\Factory::build('day', $row['date1']);
- } else {
- $periods[] = Period\Factory::build('range', $row['date1'] . ',' . $row['date2']);
- }
- }
-
- $collection = new DataCollection(
- ['nb_visits'],
- 'numeric',
- [1],
- $periods,
- $this->createMockSegment(),
- ['nb_visits' => -1]
- );
-
- foreach ($archiveData as $row) {
- $collection->set(
- self::IDSITE,
- $row['date1'] . ',' . $row['date2'],
- $row['name'],
- $row['value'],
- [
- DataTable::ARCHIVED_DATE_METADATA_NAME => $row['ts_archived'],
- ]
- );
- }
-
- return $collection;
- }
-
- private function createMockSegment(): Segment
- {
- // using mock since Segment makes API queries
- $segment = $this->getMockBuilder(Segment::class)->disableOriginalConstructor()->getMock();
- $segment->method('getString')->willReturn('');
-
- return $segment;
- }
-
- private function setUpSite(array $siteInfo): void
- {
- $defaults = [
- 'idsite' => self::IDSITE,
- 'ecommerce' => 0,
- 'sitesearch' => 0,
- 'exclude_unknown_urls' => 0,
- 'keep_url_fragment' => 0,
- 'timezone' => 'UTC',
- ];
-
- // setting static site information since Site makes API queries
- Site::setSiteFromArray(self::IDSITE, array_merge($defaults, $siteInfo));
- }
-}
diff --git a/tests/PHPUnit/Unit/Archive/ChunkTest.php b/tests/PHPUnit/Unit/Archive/ChunkTest.php
deleted file mode 100644
index 1b5fa4652eb0ce5772e7b66ae6f683c38d6efe84..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Archive/ChunkTest.php
+++ /dev/null
@@ -1,130 +0,0 @@
-chunk = new Chunk();
- }
-
- /**
- * @dataProvider getRecordNameForTableIdDataProvider
- */
- public function testGetRecordNameForTableIdShouldSplitChunksIntoBitsOf100($expectedChunk, $tableId)
- {
- $this->assertEquals($this->recordName . '_chunk_' . $expectedChunk, $this->chunk->getRecordNameForTableId($this->recordName, $tableId));
- }
-
- public function getRecordNameForTableIdDataProvider()
- {
- return array(
- array($expectedChunk = '0_99', $tableId = 0),
- array('0_99', 1),
- array('0_99', 45),
- array('0_99', 99),
- array('100_199', 100),
- array('100_199', 101),
- array('100_199', 134),
- array('100_199', 199),
- array('200_299', 200),
- array('1000_1099', 1000),
- array('9900_9999', 9999),
- array('10000_10099', 10000),
- );
- }
-
- /**
- * @dataProvider isRecordNameAChunkDataProvider
- */
- public function testIsRecordNameAChunkShouldSplitChunksIntoBitsOf100($isChunk, $recordName)
- {
- $this->assertSame($isChunk, $this->chunk->isRecordNameAChunk($recordName));
- }
-
- public function isRecordNameAChunkDataProvider()
- {
- return array(
- array($isChunk = true, $recordName = 'Actions_ActionsUrl_chunk_0_99'),
- array(true, 'Actions_ActionsUrl_chunk_100_199'),
- array(true, 'Actions_ActionsUrl_chunk_1000_1099'),
- array(false, 'Actions_ActionsUrl_chunk_0'), // it is no range, should contain something after "chunk_0" eg "chunk_0_99"
- array(false, 'Actions_ActionsUrl_chunk_9999'),
- array(false, 'Actions_ActionsUrl_chunk_4'),
- array(false, 'Actions_ActionsUrl_chunk_ActionsTest_4'), // should end with _chunk_NUMERIC
- array(false, 'Actions_ActionsUrl_chunk_4_ActionsTest'), // should end with _chunk_NUMERIC
- array(false, 'Actions_ActionsUrl_chunk9999'),
- array(false, 'Actions_ActionsUrlchunk_9999'),
- array(false, 'chunk_9999'),
- array(false, 'chunk_9999'),
- );
- }
-
- public function testMoveArchiveBlobsIntoChunksNoChunksGiven()
- {
- $this->assertSame(array(), $this->chunk->moveArchiveBlobsIntoChunks($this->recordName, array()));
- }
-
- /**
- * @dataProvider isRecordNameAChunkDataProvider
- */
- public function testMoveArchiveBlobsIntoChunksShouldSplitBlobsIntoChunks()
- {
- $array = array_fill(0, 245, 'test');
- $expected = array(
- $this->recordName . '_chunk_0_99' => array_fill(0, Chunk::NUM_TABLES_IN_CHUNK, 'test'),
- $this->recordName . '_chunk_100_199' => array_fill(100, Chunk::NUM_TABLES_IN_CHUNK, 'test'),
- $this->recordName . '_chunk_200_299' => array_fill(200, 45, 'test'),
- );
-
- $this->assertSame($expected, $this->chunk->moveArchiveBlobsIntoChunks($this->recordName, $array));
- }
-
- /**
- * @dataProvider getRecordNameWithoutChunkAppendixDataProvider
- */
- public function testGetRecordNameWithoutChunkAppendixShouldSplitChunksIntoBitsOf100($realName, $recordName)
- {
- $this->assertSame($realName, $this->chunk->getRecordNameWithoutChunkAppendix($recordName));
- }
-
- public function getRecordNameWithoutChunkAppendixDataProvider()
- {
- return array(
- array($isChunk = 'Actions_ActionsUrl', $recordName = 'Actions_ActionsUrl_chunk_0_99'),
- array('Actions_ActionsUrl', 'Actions_ActionsUrl_chunk_9900_9999'),
- array('Actions_ActionsUrl', 'Actions_ActionsUrl_chunk_400_499'),
- // the following are not chunks so we do return the full record name
- array('Actions_ActionsUrl_chunk_0', 'Actions_ActionsUrl_chunk_0'),
- array('Actions_ActionsUrl_chunk_9999', 'Actions_ActionsUrl_chunk_9999'),
- array('Actions_ActionsUrl_chunk_4', 'Actions_ActionsUrl_chunk_4'),
- array('Actions_ActionsUrl_chunk_ActionsTest_4', 'Actions_ActionsUrl_chunk_ActionsTest_4'),
- array('Actions_ActionsUrl_chunk_4_ActionsTest', 'Actions_ActionsUrl_chunk_4_ActionsTest'),
- array('Actions_ActionsUrl_chunk9999', 'Actions_ActionsUrl_chunk9999'),
- array('Actions_ActionsUrlchunk_9999', 'Actions_ActionsUrlchunk_9999'),
- array('chunk_9999', 'chunk_9999'),
- array('chunk_9999', 'chunk_9999'),
- );
- }
-}
diff --git a/tests/PHPUnit/Unit/Archive/DataCollectionTest.php b/tests/PHPUnit/Unit/Archive/DataCollectionTest.php
deleted file mode 100644
index 6a1e58f5b8e4c2fea96eafccd4b131603a72ac80..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Archive/DataCollectionTest.php
+++ /dev/null
@@ -1,281 +0,0 @@
-site1, $this->site2);
- $dataNames = array('Name1', 'Name2');
- $defaultRow = array(
- 'default' => 1,
- );
-
- if ($onlyOnePeriod) {
- $periods = array($periods[0]);
- }
-
- if ($onlyOneSite) {
- $siteIds = array($siteIds[0]);
- }
-
- // using mock since Segment makes API queries
- $mockSegment = $this->getMockBuilder(Segment::class)
- ->disableOriginalConstructor()
- ->getMock()
- ->method('getString')->willReturn('');
- return new DataCollection($dataNames, $dataType, $siteIds, $periods, $mockSegment, $defaultRow);
- }
-
- public function testGetIndexedArrayNumericNoResultIndicesNoData()
- {
- $collection = $this->createCollection($onlyOnePeriod = true, $onlyOneSite = true);
- $this->assertEquals(array(), $collection->getIndexedArray($resultIndices = array()));
- }
-
- public function testGetIndexedArrayNumericNoResultIndicesWithData()
- {
- $collection = $this->createCollection($onlyOnePeriod = true, $onlyOneSite = true);
- $collection->set($this->site1, '2012-12-12,2012-12-12', 'nb_visits', '5');
- $collection->set($this->site1, '2012-12-12,2012-12-12', 'nb_unique_visits', '10');
-
- $expected = array(
- 'default' => 1,
- 'nb_visits' => '5',
- 'nb_unique_visits' => '10',
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($resultIndices = array()));
- }
-
- public function testGetIndexedArrayNumericNoResultIndicesWithDefaultOverwritten()
- {
- $collection = $this->createCollection($onlyOnePeriod = true, $onlyOneSite = true);
- $collection->set($this->site1, '2012-12-12,2012-12-12', 'nb_visits', '5');
- $collection->set($this->site1, '2012-12-12,2012-12-12', 'default', '10');
-
- $expected = array(
- 'default' => '10',
- 'nb_visits' => '5',
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($resultIndices = array()));
- }
-
- private function getSiteResultIndices()
- {
- return array(DataTableFactory::TABLE_METADATA_SITE_INDEX => 'idSite');
- }
-
- public function testGetIndexedArrayNumericWithSiteResultIndicesNoData()
- {
- $collection = $this->createCollection();
-
- $this->assertEquals(array(
- 1 => array(),
- 2 => array(),
- ), $collection->getIndexedArray($this->getSiteResultIndices()));
- }
-
- public function testGetIndexedArrayNumericWithSiteResultIndicesWithData()
- {
- $collection = $this->createCollection();
- $collection->set($this->site1, '2012-12-12,2012-12-12', 'nb_visits', '5');
- $collection->set($this->site1, '2012-12-12,2012-12-12', 'nb_unique_visits', '10');
-
- $expected = array(
- 1 => array(
- 'default' => 1,
- 'nb_visits' => '5',
- 'nb_unique_visits' => '10',
- ),
- 2 => array(
- ),
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($this->getSiteResultIndices()));
- }
-
- public function testGetIndexedArrayNumericWithSiteResultIndicesWithDefaultOverwritten()
- {
- $collection = $this->createCollection();
- $collection->set($this->site1, '2012-12-12,2012-12-12', 'nb_visits', '5');
- $collection->set($this->site1, '2012-12-12,2012-12-12', 'default', '10');
- $collection->set($this->site2, '2012-12-12,2012-12-12', 'nb_visits', '15');
-
- $expected = array(
- 1 => array(
- 'default' => '10',
- 'nb_visits' => '5',
- ),
- 2 => array(
- 'default' => 1,
- 'nb_visits' => '15',
- ),
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($this->getSiteResultIndices()));
- }
-
- private function getPeriodResultIndices()
- {
- return array(DataTableFactory::TABLE_METADATA_PERIOD_INDEX => 'date');
- }
-
- public function testGetIndexedArrayNumericWithPeriodResultIndicesNoData()
- {
- $collection = $this->createCollection($onlyOnePeriod = false, $onlyOneSite = true);
-
- $this->assertEquals(array(
- $this->date1 => array(),
- $this->date2 => array(),
- ), $collection->getIndexedArray($this->getPeriodResultIndices()));
- }
-
- public function testGetIndexedArrayNumericWithPeriodResultIndicesWithData()
- {
- $collection = $this->createCollection($onlyOnePeriod = false, $onlyOneSite = true);
- $collection->set($this->site1, $this->date1, 'nb_visits', '5');
- $collection->set($this->site1, $this->date1, 'nb_unique_visits', '10');
-
- $expected = array(
- $this->date1 => array(
- 'default' => 1,
- 'nb_visits' => '5',
- 'nb_unique_visits' => '10',
- ),
- $this->date2 => array(
- ),
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($this->getPeriodResultIndices()));
- }
-
- public function testGetIndexedArrayNumericWithPeriodResultIndicesWithDefaultOverwritten()
- {
- $collection = $this->createCollection($onlyOnePeriod = false, $onlyOneSite = true);
- $collection->set($this->site1, $this->date1, 'nb_visits', '5');
- $collection->set($this->site1, $this->date1, 'default', '10');
- $collection->set($this->site1, $this->date2, 'nb_visits', '15');
-
- $expected = array(
- $this->date1 => array(
- 'default' => '10',
- 'nb_visits' => '5',
- ),
- $this->date2 => array(
- 'default' => 1,
- 'nb_visits' => '15',
- ),
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($this->getPeriodResultIndices()));
- }
-
-
- private function getPeriodAndSiteResultIndices()
- {
- return array_merge($this->getSiteResultIndices(), $this->getPeriodResultIndices());
- }
-
- public function testGetIndexedArrayNumericWithPeriodAndSiteResultIndicesNoData()
- {
- $collection = $this->createCollection();
-
- $expected = array(
- $this->site1 => array(
- $this->date1 => array(),
- $this->date2 => array(),
- ),
- $this->site2 => array(
- $this->date1 => array(),
- $this->date2 => array(),
- ),
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($this->getPeriodAndSiteResultIndices()));
- }
-
- public function testGetIndexedArrayNumericWithPeriodAndSiteResultIndicesWithData()
- {
- $collection = $this->createCollection();
- $collection->set($this->site1, $this->date1, 'nb_visits', '5');
- $collection->set($this->site1, $this->date1, 'nb_unique_visits', '10');
- $collection->set($this->site2, $this->date1, 'nb_unique_visits', '21');
- $collection->set($this->site2, $this->date2, 'nb_unique_visits', '22');
-
- $expected = array(
- $this->site1 => array(
- $this->date1 => array(
- 'default' => 1,
- 'nb_visits' => '5',
- 'nb_unique_visits' => '10',
- ),
- $this->date2 => array(),
- ),
- $this->site2 => array(
- $this->date1 => array(
- 'default' => 1,
- 'nb_unique_visits' => '21',
- ),
- $this->date2 => array(
- 'default' => 1,
- 'nb_unique_visits' => '22',
- ),
- ),
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($this->getPeriodAndSiteResultIndices()));
- }
-
- public function testGetIndexedArrayNumericWithPeriodAndSiteResultIndicesWithDefaultOverwritten()
- {
- $collection = $this->createCollection();
- $collection->set($this->site1, $this->date1, 'nb_visits', '5');
- $collection->set($this->site1, $this->date1, 'default', '10');
- $collection->set($this->site2, $this->date1, 'default', '21');
-
- $expected = array(
- $this->site1 => array(
- $this->date1 => array(
- 'default' => 10,
- 'nb_visits' => '5',
- ),
- $this->date2 => array(),
- ),
- $this->site2 => array(
- $this->date1 => array('default' => 21),
- $this->date2 => array(),
- ),
- );
-
- $this->assertEquals($expected, $collection->getIndexedArray($this->getPeriodAndSiteResultIndices()));
- }
-}
diff --git a/tests/PHPUnit/Unit/ArchiveProcessor/BlobTableAggregatorTest.php b/tests/PHPUnit/Unit/ArchiveProcessor/BlobTableAggregatorTest.php
deleted file mode 100644
index e332ca8475de0a50cfce36e8f1ed8cfb2a92ffa1..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/ArchiveProcessor/BlobTableAggregatorTest.php
+++ /dev/null
@@ -1,126 +0,0 @@
-assertSame(123, BlobTableAggregator::parseSubtableIdFromBlobName('Actions_actions_123'));
- $this->assertNull(BlobTableAggregator::parseSubtableIdFromBlobName('Actions_actions_subtable'));
- }
-
- public function testAggregateBlobRowsRespectsRowFilter(): void
- {
- $rows = array_merge(
- $this->makeArchiveDataRowsForPeriod('Test_record', '2020-01-01', $this->makeSimpleTable('page-a', 3)),
- $this->makeArchiveDataRowsForPeriod('Test_record', '2020-01-02', $this->makeSimpleTable('page-b', 7))
- );
-
- [$result, $hasRows] = BlobTableAggregator::aggregateBlobRows(
- $rows,
- 'Test_record',
- null,
- function (DataTable $table): void {
- },
- function (array $archiveDataRow): bool {
- return $archiveDataRow['date1'] === '2020-01-01';
- }
- );
-
- $this->assertTrue($hasRows);
- $this->assertSame(1, $result->getRowsCount());
- $row = $result->getRowFromLabel('page-a');
- $this->assertInstanceOf(Row::class, $row);
- $this->assertSame(3, $row->getColumn('nb_visits'));
- }
-
- public function testAggregateBlobRowsCallsMissingParentCallbackForOrphanedSubtable(): void
- {
- $rows = $this->makeArchiveDataRowsForPeriod(
- 'Test_record',
- '2020-01-01',
- $this->makeTableWithSubtable('parent', 'child', 5)
- );
- $rows[] = [
- 'name' => 'Test_record_999',
- 'date1' => '2020-01-02',
- 'date2' => '2020-01-02',
- 'value' => $rows[1]['value'],
- ];
-
- $missingParents = [];
- [$result, $hasRows] = BlobTableAggregator::aggregateBlobRows(
- $rows,
- 'Test_record',
- null,
- function (DataTable $table): void {
- },
- null,
- function (string $period, int $tableId) use (&$missingParents): void {
- $missingParents[] = [$period, $tableId];
- }
- );
-
- $this->assertTrue($hasRows);
- $this->assertContains(['2020-01-02,2020-01-02', 999], $missingParents);
- $this->assertGreaterThan(0, $result->getRowsCount());
- $rows = $result->getRows();
- $row = reset($rows);
- $this->assertInstanceOf(Row::class, $row);
- }
-
- private function makeSimpleTable(string $label, int $nbVisits): DataTable
- {
- $table = new DataTable();
- $table->addRowFromSimpleArray(['label' => $label, 'nb_visits' => $nbVisits]);
- return $table;
- }
-
- private function makeTableWithSubtable(string $parentLabel, string $childLabel, int $nbVisits): DataTable
- {
- $table = new DataTable();
- $row = new Row([Row::COLUMNS => ['label' => $parentLabel, 'nb_visits' => $nbVisits]]);
-
- $subtable = new DataTable();
- $subtable->addRowFromSimpleArray(['label' => $childLabel, 'nb_visits' => $nbVisits]);
- $row->setSubtable($subtable);
-
- $table->addRow($row);
- return $table;
- }
-
- /**
- * @return array
- */
- private function makeArchiveDataRowsForPeriod(string $recordName, string $date, DataTable $table): array
- {
- $rows = [];
- $serialized = $table->getSerialized();
- $rootKey = array_key_first($serialized);
-
- foreach ($serialized as $key => $value) {
- $name = $key === $rootKey ? $recordName : $recordName . '_' . $key;
- $rows[] = [
- 'name' => $name,
- 'date1' => $date,
- 'date2' => $date,
- 'value' => $value,
- ];
- }
-
- return $rows;
- }
-}
diff --git a/tests/PHPUnit/Unit/ArchiveProcessor/RecordBuilderTest.php b/tests/PHPUnit/Unit/ArchiveProcessor/RecordBuilderTest.php
deleted file mode 100644
index acfabd961771bac969a45e2ef054e643a23a9af2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/ArchiveProcessor/RecordBuilderTest.php
+++ /dev/null
@@ -1,1937 +0,0 @@
-numericRecordsInserted = [];
- $this->blobRecordsInserted = [];
- }
-
- protected function tearDown(): void
- {
- Manager::getInstance()->deleteAll();
- Site::clearCache();
-
- parent::tearDown();
- }
-
- public function testBuildFromLogsDoesNothingIfRecordBuilderNotEnabled()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function isEnabled(ArchiveProcessor $archiveProcessor): bool
- {
- return false;
- }
-
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor();
- $recordBuilder->buildFromLogs($mockArchiveProcessor);
-
- $this->assertEmpty($this->numericRecordsInserted);
- $this->assertEmpty($this->blobRecordsInserted);
- }
-
- public function testBuildFromLogsInsertsDataReturnedByAggregate()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor();
- $recordBuilder->buildFromLogs($mockArchiveProcessor);
-
- $expectedNumericRecords = ['TestPlugin_myMetric' => 50];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- [Row::COLUMNS => ['label' => 'the thing', 'nb_visits' => 40], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => 'another thing', 'nb_visits' => 50], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => 'a third thing', 'nb_visits' => 20], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildFromLogsIgnoresDataIfAssociatedRecordMetadataDoesNotExist()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor();
- $recordBuilder->buildFromLogs($mockArchiveProcessor);
-
- $this->assertEmpty($this->numericRecordsInserted);
- $this->assertEmpty($this->blobRecordsInserted);
- }
-
- public function testBuildFromLogsIgnoresDataIfRecordMetadataValueExistsButIsInvalid()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- // @phpstan-ignore-next-line intentionally returns invalid values to verify runtime filtering.
- return [
- 0,
- 'def',
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor();
- $recordBuilder->buildFromLogs($mockArchiveProcessor);
-
- $this->assertEmpty($this->numericRecordsInserted);
- $this->assertEmpty($this->blobRecordsInserted);
- }
-
- public function testBuildFromLogsUsesRecordSpecificLimitAndSortWhenSpecifiedInRecordMetadata()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport')
- ->setMaxRowsInTable(2)
- ->setColumnToSortByBeforeTruncation('nb_visits'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 30,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor();
- $recordBuilder->buildFromLogs($mockArchiveProcessor);
-
- $expectedNumericRecords = ['TestPlugin_myMetric' => 30];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- -1 => [Row::COLUMNS => ['label' => -1, 'nb_visits' => 60], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- 0 => [Row::COLUMNS => ['label' => 'another thing', 'nb_visits' => 50], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildFromLogsUsesZeroRecordSpecificLimitInsteadOfDefaultLimit(): void
- {
- $recordBuilder = new class (2, null, 'nb_visits') extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport')
- ->setMaxRowsInTable(0),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 30,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor();
- $recordBuilder->buildFromLogs($mockArchiveProcessor);
-
- $expectedNumericRecords = ['TestPlugin_myMetric' => 30];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- [Row::COLUMNS => ['label' => 'the thing', 'nb_visits' => 40], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => 'another thing', 'nb_visits' => 50], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => 'a third thing', 'nb_visits' => 20], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodDoesNothingIfRecordBuilderNotEnabled()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function isEnabled(ArchiveProcessor $archiveProcessor): bool
- {
- return false;
- }
-
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week');
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $this->assertEmpty($this->numericRecordsInserted);
- $this->assertEmpty($this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodAggregatesAllChildReportsIfNoRequestedReportsAreSpecified()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week');
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $expectedNumericRecords = [
- 'TestPlugin_myMetric' => 9000,
- 'TestPlugin_myOtherMetric' => 10500,
- ];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- 'TestPlugin_myReport2' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodAggregatesOnlyRequestedReportsIfRequestedReportsSpecifiedAndNoneAlreadyExist()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_myMetric', 'TestPlugin_myReport']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $expectedNumericRecords = ['TestPlugin_myMetric' => 9000];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodAggregatesOnlyRequestedReportsThatDoNotExistIfSomeRequestedReportsAlreadyExist()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor(
- 'week',
- ['TestPlugin_myOtherMetric', 'TestPlugin_myMetric', 'TestPlugin_myReport', 'TestPlugin_myReport2'],
- ['TestPlugin_myMetric', 'TestPlugin_myReport']
- );
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $expectedNumericRecords = ['TestPlugin_myOtherMetric' => 9000];
- $expectedBlobRecords = [
- 'TestPlugin_myReport2' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodUsesCustomBlobSerializationPropertiesIfSpecifiedInRecordMetadata()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport')
- ->setColumnToSortByBeforeTruncation('nb_visits')
- ->setMaxRowsInTable(2)
- ->setBlobColumnAggregationOps(['nb_visits' => 'max']),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week');
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $expectedNumericRecords = [
- 'TestPlugin_myMetric' => 9000,
- 'TestPlugin_myOtherMetric' => 10500,
- ];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- 0 => [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- -1 => [Row::COLUMNS => ['label' => '-1', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- 'TestPlugin_myReport2' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodAppliesAggregatedRecordTransformAndLeavesOtherRecordsUntouched()
- {
- $received = (object) ['recordName' => null, 'hasArchiveProcessor' => false];
-
- $recordBuilder = new class ($received) extends ArchiveProcessor\RecordBuilder {
- private $received;
-
- public function __construct(object $received)
- {
- parent::__construct();
- $this->received = $received;
- }
-
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- $received = $this->received;
-
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_scored')
- ->setAggregatedRecordTransform(
- function (DataTable $table, ArchiveProcessor $ap, Record $record) use ($received): void {
- // Record the contextual args to prove they were passed through.
- $received->recordName = $record->getName();
- $received->hasArchiveProcessor = $ap instanceof ArchiveProcessor;
-
- // Recompute a column from the aggregated (summed) values.
- foreach ($table->getRows() as $row) {
- $row->setColumn('score', 1000 - (int) $row->getColumn('nb_visits'));
- }
- }
- ),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_plain'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week');
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- // The callback received the full contextual signature.
- $this->assertSame('TestPlugin_scored', $received->recordName);
- $this->assertTrue($received->hasArchiveProcessor);
-
- $expectedBlobRecords = [
- // The transform ran on the aggregated table (nb_visits are the summed values) and the
- // recomputed 'score' column was stored.
- 'TestPlugin_scored' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140, 'score' => 860], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150, 'score' => 850], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30, 'score' => 970], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- // A record without a transform is unaffected.
- 'TestPlugin_plain' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodTruncatesUsingColumnRecomputedByAggregatedRecordTransform()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_scored')
- ->setColumnToSortByBeforeTruncation('score')
- ->setMaxRowsInTable(2)
- ->setAggregatedRecordTransform(function (DataTable $table): void {
- // Inverse of nb_visits, so the score order differs from the physical nb_visits order.
- foreach ($table->getRows() as $row) {
- $row->setColumn('score', 1000 - (int) $row->getColumn('nb_visits'));
- }
- }),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week');
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- // "a third thing" has the highest score (970) but the lowest nb_visits (30); it survives
- // truncation, proving the sort-before-truncation used the transform-computed 'score' column.
- $labels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_scored');
- $this->assertSame('[aggregated] a third thing', $labels[0]);
- }
-
- public function testBuildForNonDayPeriodBuildsHierarchyFromFlatBlobWhenFlatBlobIsRequested()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord('TestPlugin_flat', function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- if (!is_string($label) || $label === '') {
- return null;
- }
-
- return [$label];
- }),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregateRootDataTableFromBlobs(
- ArchiveProcessor $archiveProcessor,
- string $recordName,
- ?array $columnsAggregationOperation,
- ?array $columnsToRenameAfterAggregation
- ): array {
- $table = new DataTable();
- if ($recordName === 'TestPlugin_flat') {
- $table->addRowFromSimpleArray(['label' => '/flat-path', 'nb_visits' => 5]);
- return [$table, true, ['2020-03-04,2020-03-04' => true]];
- }
-
- return [$table, false, []];
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return ['2020-03-04,2020-03-04' => true];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_flat']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $this->assertArrayHasKey('TestPlugin_flat', $this->blobRecordsInserted);
- $this->assertArrayHasKey('TestPlugin_hierarchy', $this->blobRecordsInserted);
-
- $flatLabels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_flat');
- $hierarchyLabels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_hierarchy');
-
- $this->assertSame(['/flat-path'], $flatLabels);
- $this->assertSame(['/flat-path'], $hierarchyLabels);
- }
-
- public function testBuildForNonDayPeriodAppliesAggregatedRecordTransformOnBothFlatAndHierarchyRecords()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord('TestPlugin_flat', function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- if (!is_string($label) || $label === '') {
- return null;
- }
-
- return [$label];
- })
- // Recomputed on the rebuilt hierarchy table, after it is built.
- ->setAggregatedRecordTransform(function (DataTable $table): void {
- foreach ($table->getRows() as $row) {
- $row->setColumn('hier_score', 20);
- }
- }),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat')
- // Recomputed on the aggregated flat table, before it is stored.
- ->setAggregatedRecordTransform(function (DataTable $table): void {
- foreach ($table->getRows() as $row) {
- $row->setColumn('flat_score', 10);
- }
- }),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregateRootDataTableFromBlobs(
- ArchiveProcessor $archiveProcessor,
- string $recordName,
- ?array $columnsAggregationOperation,
- ?array $columnsToRenameAfterAggregation
- ): array {
- $table = new DataTable();
- if ($recordName === 'TestPlugin_flat') {
- $table->addRowFromSimpleArray(['label' => '/flat-path-a', 'nb_visits' => 5]);
- $table->addRowFromSimpleArray(['label' => '/flat-path-b', 'nb_visits' => 3]);
- return [$table, true, ['2020-03-04,2020-03-04' => true]];
- }
-
- return [$table, false, []];
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return ['2020-03-04,2020-03-04' => true];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_flat']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- // The flat record's transform ran on the aggregated flat table.
- $flatScores = $this->getFlatInsertedBlobMetric('TestPlugin_flat', 'flat_score');
- ksort($flatScores);
- $this->assertSame(['/flat-path-a' => 10, '/flat-path-b' => 10], $flatScores);
-
- // The hierarchy record's transform ran on the rebuilt hierarchy table.
- $hierScores = $this->getFlatInsertedBlobMetric('TestPlugin_hierarchy', 'hier_score');
- ksort($hierScores);
- $this->assertSame(['/flat-path-a' => 20, '/flat-path-b' => 20], $hierScores);
- }
-
- public function testBuildForNonDayPeriodBuiltFromFlatReadsFlatBlobRowsOnlyOnce(): void
- {
- $table = new DataTable();
- $table->addRowFromSimpleArray(['label' => '/flat-path', 'nb_visits' => 5]);
- $serialized = $table->getSerialized();
- $rootBlob = reset($serialized);
- $counter = (object) ['flatQueryCount' => 0];
-
- $recordBuilder = new class ($counter, (string) $rootBlob) extends ArchiveProcessor\RecordBuilder {
- private $counter;
- private $flatRootBlob;
-
- public function __construct(object $counter, string $flatRootBlob)
- {
- parent::__construct();
- $this->counter = $counter;
- $this->flatRootBlob = $flatRootBlob;
- }
-
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord('TestPlugin_flat', function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- if (!is_string($label) || $label === '') {
- return null;
- }
-
- return [$label];
- }),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function querySingleBlobRows(ArchiveProcessor $archiveProcessor, string $recordName): iterable
- {
- if ($recordName !== 'TestPlugin_flat') {
- return [];
- }
-
- $this->counter->flatQueryCount++;
-
- return [[
- 'name' => 'TestPlugin_flat',
- 'date1' => '2020-03-04',
- 'date2' => '2020-03-04',
- 'value' => $this->flatRootBlob,
- ]];
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return ['2020-03-04,2020-03-04' => true];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_hierarchy']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $this->assertSame(1, $counter->flatQueryCount);
- $this->assertArrayHasKey('TestPlugin_flat', $this->blobRecordsInserted);
- $this->assertArrayHasKey('TestPlugin_hierarchy', $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodCanFallbackToLegacyHierarchyWhenFlatBlobMissingForSomeSubperiods()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord(
- 'TestPlugin_flat',
- function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- if (!is_string($label) || $label === '') {
- return null;
- }
-
- return [$label];
- },
- function (DataTable $legacyHierarchy, DataTable $flatTable): void {
- foreach ($legacyHierarchy->getRows() as $legacyRow) {
- $flatTable->addRowFromSimpleArray([
- 'label' => (string) $legacyRow->getColumn('label'),
- 'nb_visits' => $legacyRow->getColumn('nb_visits'),
- ]);
- }
- }
- ),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregateRootDataTableFromBlobs(
- ArchiveProcessor $archiveProcessor,
- string $recordName,
- ?array $columnsAggregationOperation,
- ?array $columnsToRenameAfterAggregation
- ): array {
- $table = new DataTable();
- if ($recordName === 'TestPlugin_flat') {
- $table->addRowFromSimpleArray(['label' => '/flat-path', 'nb_visits' => 5]);
- return [$table, true, ['2020-03-04,2020-03-04' => true]];
- }
-
- return [$table, false, []];
- }
-
- protected function querySingleBlobRows(ArchiveProcessor $archiveProcessor, string $recordName): iterable
- {
- if ($recordName !== 'TestPlugin_hierarchy') {
- return [];
- }
-
- $legacyTable = new DataTable();
- $legacyTable->addRowFromSimpleArray(['label' => '/legacy-path', 'nb_visits' => 7]);
-
- yield [
- 'date1' => '2020-03-05',
- 'date2' => '2020-03-05',
- 'name' => 'TestPlugin_hierarchy',
- 'value' => $legacyTable->getSerialized()[0],
- ];
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return [
- '2020-03-04,2020-03-04' => true,
- '2020-03-05,2020-03-05' => true,
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_hierarchy']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $this->assertArrayHasKey('TestPlugin_flat', $this->blobRecordsInserted);
- $this->assertArrayHasKey('TestPlugin_hierarchy', $this->blobRecordsInserted);
-
- $flatLabels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_flat');
- $hierarchyLabels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_hierarchy');
-
- sort($flatLabels);
- sort($hierarchyLabels);
-
- $this->assertSame(['/flat-path', '/legacy-path'], $flatLabels);
- $this->assertSame(['/flat-path', '/legacy-path'], $hierarchyLabels);
- }
-
- public function testBuildForNonDayPeriodConsumesFlatTableBeforePreInsertHook(): void
- {
- $hookState = (object) ['flatRowsAtHook' => null, 'hierarchyLabelsAtHook' => []];
-
- $recordBuilder = new class ($hookState) extends ArchiveProcessor\RecordBuilder {
- private $hookState;
-
- public function __construct(object $hookState)
- {
- parent::__construct();
- $this->hookState = $hookState;
- }
-
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord('TestPlugin_flat', function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- if (!is_string($label) || $label === '') {
- return null;
- }
-
- return [$label];
- }),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregateRootDataTableFromBlobs(
- ArchiveProcessor $archiveProcessor,
- string $recordName,
- ?array $columnsAggregationOperation,
- ?array $columnsToRenameAfterAggregation
- ): array {
- $table = new DataTable();
- if ($recordName === 'TestPlugin_flat') {
- $table->addRowFromSimpleArray(['label' => '/flat-path-a', 'nb_visits' => 5]);
- $table->addRowFromSimpleArray(['label' => '/flat-path-b', 'nb_visits' => 3]);
- $table->addSummaryRow(new Row([Row::COLUMNS => ['label' => '-1', 'nb_visits' => 2]]));
-
- return [$table, true, ['2020-03-04,2020-03-04' => true]];
- }
-
- return [$table, false, []];
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return ['2020-03-04,2020-03-04' => true];
- }
-
- protected function beforeInsertBuiltFromFlatHierarchyRecord(
- ArchiveProcessor $archiveProcessor,
- Record $hierarchicalRecord,
- DataTable $hierarchicalTable,
- DataTable $flatTable
- ): void {
- $this->hookState->flatRowsAtHook = $flatTable->getRowsCount();
- $this->hookState->hierarchyLabelsAtHook = $hierarchicalTable->getColumn('label');
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_flat']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $this->assertSame(0, $hookState->flatRowsAtHook);
- $this->assertSame(['/flat-path-a', '/flat-path-b', '-1'], $hookState->hierarchyLabelsAtHook);
-
- $this->assertSame(['/flat-path-a', '/flat-path-b', '-1'], $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_flat'));
- $this->assertSame(['/flat-path-a', '/flat-path-b', '-1'], $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_hierarchy'));
- }
-
- public function testBuildForNonDayPeriodReducesLegacyFallbackPerPeriod(): void
- {
- $state = (object) ['reducerCalls' => []];
-
- $recordBuilder = new class ($state) extends ArchiveProcessor\RecordBuilder {
- private $state;
-
- public function __construct(object $state)
- {
- parent::__construct();
- $this->state = $state;
- }
-
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord(
- 'TestPlugin_flat',
- function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- return is_string($label) && $label !== '' ? [$label] : null;
- },
- function (DataTable $legacyHierarchy, DataTable $flatTable) {
- $this->state->reducerCalls[] = $legacyHierarchy->getColumn('label');
-
- foreach ($legacyHierarchy->getRowsWithoutSummaryRow() as $row) {
- $flatTable->addRow(clone $row);
- }
- }
- ),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregateRootDataTableFromBlobs(
- ArchiveProcessor $archiveProcessor,
- string $recordName,
- ?array $columnsAggregationOperation,
- ?array $columnsToRenameAfterAggregation
- ): array {
- $table = new DataTable();
- if ($recordName === 'TestPlugin_flat') {
- $table->addRowFromSimpleArray(['label' => '/flat-path', 'nb_visits' => 5]);
- return [$table, true, ['2020-03-04,2020-03-04' => true]];
- }
-
- return [$table, false, []];
- }
-
- protected function querySingleBlobRows(ArchiveProcessor $archiveProcessor, string $recordName): iterable
- {
- if ($recordName !== 'TestPlugin_hierarchy') {
- return [];
- }
-
- $legacyTableA = new DataTable();
- $legacyTableA->addRowFromSimpleArray(['label' => '/legacy-path-a', 'nb_visits' => 2]);
-
- $legacyTableB = new DataTable();
- $legacyTableB->addRowFromSimpleArray(['label' => '/legacy-path-b', 'nb_visits' => 3]);
-
- yield [
- 'date1' => '2020-03-05',
- 'date2' => '2020-03-05',
- 'name' => 'TestPlugin_hierarchy',
- 'value' => $legacyTableA->getSerialized()[0],
- ];
-
- yield [
- 'date1' => '2020-03-06',
- 'date2' => '2020-03-06',
- 'name' => 'TestPlugin_hierarchy',
- 'value' => $legacyTableB->getSerialized()[0],
- ];
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return [
- '2020-03-04,2020-03-04' => true,
- '2020-03-05,2020-03-05' => true,
- '2020-03-06,2020-03-06' => true,
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_hierarchy']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $this->assertSame([['/legacy-path-a'], ['/legacy-path-b']], $state->reducerCalls);
-
- $flatLabels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_flat');
- sort($flatLabels);
- $this->assertSame(['/flat-path', '/legacy-path-a', '/legacy-path-b'], $flatLabels);
-
- $hierarchyLabels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_hierarchy');
- sort($hierarchyLabels);
- $this->assertSame(['/flat-path', '/legacy-path-a', '/legacy-path-b'], $hierarchyLabels);
- }
-
- public function testBuildForNonDayPeriodPassesDeepLegacyHierarchyWithSubtablesToReducer(): void
- {
- $state = (object) ['receivedHierarchies' => []];
-
- $recordBuilder = new class ($state) extends ArchiveProcessor\RecordBuilder {
- private $state;
-
- public function __construct(object $state)
- {
- parent::__construct();
- $this->state = $state;
- }
-
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord(
- 'TestPlugin_flat',
- function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- if (!is_string($label) || $label === '') {
- return null;
- }
- return explode('/', ltrim($label, '/'));
- },
- function (DataTable $legacyHierarchy, DataTable $flatTable) {
- $this->state->receivedHierarchies[] = RecordBuilderTest::describeHierarchy($legacyHierarchy);
- RecordBuilderTest::flattenHierarchyIntoFlatTable($legacyHierarchy, $flatTable);
- }
- ),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregateRootDataTableFromBlobs(
- ArchiveProcessor $archiveProcessor,
- string $recordName,
- ?array $columnsAggregationOperation,
- ?array $columnsToRenameAfterAggregation
- ): array {
- // No flat record for any period, so the legacy fallback must cover both days.
- return [new DataTable(), false, []];
- }
-
- protected function querySingleBlobRows(ArchiveProcessor $archiveProcessor, string $recordName): iterable
- {
- if ($recordName !== 'TestPlugin_hierarchy') {
- return [];
- }
-
- $deepTable = RecordBuilderTest::makeDeepHierarchyTable([
- '/products' => [
- 'shoes' => 4,
- 'shirts' => 1,
- ],
- '/about' => 9,
- ]);
-
- foreach (RecordBuilderTest::serializeToArchiveRows('TestPlugin_hierarchy', '2020-03-04', $deepTable) as $row) {
- yield $row;
- }
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return ['2020-03-04,2020-03-04' => true];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_hierarchy']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- // Reducer must have been called exactly once (single period) and must have received the parent
- // rows with subtables attached, not a flattened table.
- $this->assertCount(1, $state->receivedHierarchies);
- $this->assertSame(
- [
- '/products' => ['shoes' => 4, 'shirts' => 1],
- '/about' => 9,
- ],
- $state->receivedHierarchies[0]
- );
-
- $flatLabels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_flat');
- sort($flatLabels);
- $this->assertSame(['/about', '/products/shirts', '/products/shoes'], $flatLabels);
-
- // The hierarchy blob must be rebuilt from the resulting flat table. Top-level labels come
- // from the first segment returned by the flatRowToHierarchyPath callback (leading "/" stripped).
- $hierarchyLabels = $this->getTopLevelLabelsOfInsertedBlobRecord('TestPlugin_hierarchy');
- sort($hierarchyLabels);
- $this->assertSame(['about', 'products'], $hierarchyLabels);
- }
-
- public function testBuildForNonDayPeriodMergesOverlappingDeepLegacyHierarchyPathsAcrossPeriods(): void
- {
- $state = (object) ['reducerCallCount' => 0];
-
- $recordBuilder = new class ($state) extends ArchiveProcessor\RecordBuilder {
- private $state;
-
- public function __construct(object $state)
- {
- parent::__construct();
- $this->state = $state;
- }
-
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord(
- 'TestPlugin_flat',
- function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- if (!is_string($label) || $label === '') {
- return null;
- }
- return explode('/', ltrim($label, '/'));
- },
- function (DataTable $legacyHierarchy, DataTable $flatTable) {
- $this->state->reducerCallCount++;
- RecordBuilderTest::flattenHierarchyIntoFlatTable($legacyHierarchy, $flatTable);
- }
- ),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregateRootDataTableFromBlobs(
- ArchiveProcessor $archiveProcessor,
- string $recordName,
- ?array $columnsAggregationOperation,
- ?array $columnsToRenameAfterAggregation
- ): array {
- // No flat blobs for either period -> both periods fall through to the legacy deep hierarchy.
- return [new DataTable(), false, []];
- }
-
- protected function querySingleBlobRows(ArchiveProcessor $archiveProcessor, string $recordName): iterable
- {
- if ($recordName !== 'TestPlugin_hierarchy') {
- return [];
- }
-
- // Period A: /products/shoes=4, /products/shirts=1, /about=9
- $periodA = RecordBuilderTest::makeDeepHierarchyTable([
- '/products' => [
- 'shoes' => 4,
- 'shirts' => 1,
- ],
- '/about' => 9,
- ]);
-
- // Period B: /products/shoes=2 (overlap), /products/hats=6, /about=3 (overlap)
- $periodB = RecordBuilderTest::makeDeepHierarchyTable([
- '/products' => [
- 'shoes' => 2,
- 'hats' => 6,
- ],
- '/about' => 3,
- ]);
-
- foreach (RecordBuilderTest::serializeToArchiveRows('TestPlugin_hierarchy', '2020-03-05', $periodA) as $row) {
- yield $row;
- }
- foreach (RecordBuilderTest::serializeToArchiveRows('TestPlugin_hierarchy', '2020-03-06', $periodB) as $row) {
- yield $row;
- }
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return [
- '2020-03-05,2020-03-05' => true,
- '2020-03-06,2020-03-06' => true,
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_hierarchy']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- // One reducer call per period with legacy data.
- $this->assertSame(2, $state->reducerCallCount);
-
- $flatByLabel = $this->getFlatInsertedBlobMetric('TestPlugin_flat', 'nb_visits');
- ksort($flatByLabel);
-
- // Overlapping leaves must be summed across periods; non-overlapping leaves must appear once.
- $this->assertSame(
- [
- '/about' => 12, // 9 + 3
- '/products/hats' => 6, // period B only
- '/products/shirts' => 1, // period A only
- '/products/shoes' => 6, // 4 + 2
- ],
- $flatByLabel
- );
- }
-
- public function testBuildForNonDayPeriodMixesFlatRecordWithDeepLegacyHierarchyFallback(): void
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_BLOB, 'TestPlugin_hierarchy')
- ->setBuiltFromFlatRecord(
- 'TestPlugin_flat',
- function (Row $flatRow): ?array {
- $label = $flatRow->getColumn('label');
- if (!is_string($label) || $label === '') {
- return null;
- }
- return explode('/', ltrim($label, '/'));
- },
- function (DataTable $legacyHierarchy, DataTable $flatTable) {
- RecordBuilderTest::flattenHierarchyIntoFlatTable($legacyHierarchy, $flatTable);
- }
- ),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_flat'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [];
- }
-
- protected function aggregateRootDataTableFromBlobs(
- ArchiveProcessor $archiveProcessor,
- string $recordName,
- ?array $columnsAggregationOperation,
- ?array $columnsToRenameAfterAggregation
- ): array {
- $table = new DataTable();
- if ($recordName === 'TestPlugin_flat') {
- // Period 03-04 already has a flat record with paths overlapping the legacy hierarchy.
- $table->addRowFromSimpleArray(['label' => '/products/shoes', 'nb_visits' => 10]);
- $table->addRowFromSimpleArray(['label' => '/contact', 'nb_visits' => 2]);
- return [$table, true, ['2020-03-04,2020-03-04' => true]];
- }
- return [$table, false, []];
- }
-
- protected function querySingleBlobRows(ArchiveProcessor $archiveProcessor, string $recordName): iterable
- {
- if ($recordName !== 'TestPlugin_hierarchy') {
- return [];
- }
-
- // Only period 03-05 falls back to legacy deep hierarchy.
- $legacyTable = RecordBuilderTest::makeDeepHierarchyTable([
- '/products' => [
- 'shoes' => 4,
- 'shirts' => 1,
- ],
- '/about' => 9,
- ]);
-
- foreach (RecordBuilderTest::serializeToArchiveRows('TestPlugin_hierarchy', '2020-03-05', $legacyTable) as $row) {
- yield $row;
- }
- }
-
- protected function getAllSubperiodKeys(ArchiveProcessor $archiveProcessor): array
- {
- return [
- '2020-03-04,2020-03-04' => true,
- '2020-03-05,2020-03-05' => true,
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_hierarchy']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $flatByLabel = $this->getFlatInsertedBlobMetric('TestPlugin_flat', 'nb_visits');
- ksort($flatByLabel);
-
- $this->assertSame(
- [
- '/about' => 9, // from legacy hierarchy (period 03-05)
- '/contact' => 2, // from flat record (period 03-04)
- '/products/shirts' => 1, // from legacy hierarchy (period 03-05)
- '/products/shoes' => 14, // 10 (flat) + 4 (legacy) merged by label
- ],
- $flatByLabel
- );
- }
-
- public function testBuildForNonDayPeriodCorrectlyAggregatesMetricsForMetricsThatAreRowCountsOfRecords()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric')
- ->setIsCountOfBlobRecordRows('TestPlugin_myReport'),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric')
- ->setIsCountOfBlobRecordRows('TestPlugin_myReport2', true),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week');
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $expectedNumericRecords = [
- 'TestPlugin_myMetric' => 3,
- 'TestPlugin_myOtherMetric' => 3,
- ];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- 'TestPlugin_myReport2' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodCorrectlyAggregatesMetricsForMetricsThatAreRowCountsOfRecordsWhenTheDependentRecordIsNotRequested()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric')
- ->setIsCountOfBlobRecordRows('TestPlugin_myReport'),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric')
- ->setIsCountOfBlobRecordRows('TestPlugin_myReport2'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor('week', ['TestPlugin_myMetric', 'TestPlugin_myOtherMetric']);
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $expectedNumericRecords = [
- 'TestPlugin_myMetric' => 3,
- 'TestPlugin_myOtherMetric' => 3,
- ];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- 'TestPlugin_myReport2' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodCorrectlyAggregatesMetricsForMetricsThatAreRowCountsOfRecordsWhenTheDependentRecordIsRequestedAndFound()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric')
- ->setIsCountOfBlobRecordRows('TestPlugin_myReport'),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric')
- ->setIsCountOfBlobRecordRows('TestPlugin_myReport2'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor(
- 'week',
- ['TestPlugin_myMetric', 'TestPlugin_myOtherMetric', 'TestPlugin_myReport', 'TestPlugin_myReport2'],
- ['TestPlugin_myReport', 'TestPlugin_myReport2']
- );
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $expectedNumericRecords = [
- 'TestPlugin_myMetric' => 3,
- 'TestPlugin_myOtherMetric' => 3,
- ];
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- 'TestPlugin_myReport2' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testBuildForNonDayPeriodCorrectlyAggregatesMetricsForMetricsThatAreRecursiveRowCountsOfRecords()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric')
- ->setIsCountOfBlobRecordRows('TestPlugin_myReport', true),
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myOtherMetric')
- ->setIsCountOfBlobRecordRows('TestPlugin_myReport2', true),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport2'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 50,
- 'TestPlugin_myOtherMetric' => 100,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- 'TestPlugin_myReport2' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $mockArchiveProcessor = $this->getMockArchiveProcessor(
- 'week',
- ['TestPlugin_myMetric', 'TestPlugin_myOtherMetric'],
- null,
- true
- );
- $recordBuilder->buildForNonDayPeriod($mockArchiveProcessor);
-
- $expectedNumericRecords = ['TestPlugin_myMetric' => 6, 'TestPlugin_myOtherMetric' => 6]; // TODO
- $expectedBlobRecords = [
- 'TestPlugin_myReport' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => 1],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => 2],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => 3],
- ],
- // subtables
- [
- [Row::COLUMNS => ['label' => '[subtable] the thing', 'nb_visits' => 15], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- [
- [Row::COLUMNS => ['label' => '[subtable] the thing', 'nb_visits' => 15], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- [
- [Row::COLUMNS => ['label' => '[subtable] the thing', 'nb_visits' => 15], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- 'TestPlugin_myReport2' => [
- [
- [Row::COLUMNS => ['label' => '[aggregated] the thing', 'nb_visits' => 140], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => 1],
- [Row::COLUMNS => ['label' => '[aggregated] another thing', 'nb_visits' => 150], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => 2],
- [Row::COLUMNS => ['label' => '[aggregated] a third thing', 'nb_visits' => 30], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => 3],
- ],
- // subtables
- [
- [Row::COLUMNS => ['label' => '[subtable] the thing', 'nb_visits' => 15], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- [
- [Row::COLUMNS => ['label' => '[subtable] the thing', 'nb_visits' => 15], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- [
- [Row::COLUMNS => ['label' => '[subtable] the thing', 'nb_visits' => 15], Row::METADATA => [], Row::DATATABLE_ASSOCIATED => null],
- ],
- ],
- ];
-
- $this->assertEquals($expectedNumericRecords, $this->numericRecordsInserted);
- $this->assertEquals($expectedBlobRecords, $this->blobRecordsInserted);
- }
-
- public function testGetQueryOriginHintUsesDerivedClassNameAsTheDefaultQueryOriginHint()
- {
- $goalsRecordBuilder = new GeneralGoalsRecords();
- $this->assertEquals('GeneralGoalsRecords', $goalsRecordBuilder->getQueryOriginHint());
- }
-
- public function testIsBuilderForAtLeastOneOfReturnsTrueIfTheRecordBuilderHasMetadataForAtLeastOneRequestedRecord()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 30,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $archiveProcessor = $this->getMockArchiveProcessor();
- $this->assertTrue($recordBuilder->isBuilderForAtLeastOneOf($archiveProcessor, ['TestPlugin_myMetric']));
- $this->assertTrue($recordBuilder->isBuilderForAtLeastOneOf($archiveProcessor, ['TestPlugin_myMetric', 'TestPlugin_myReport']));
- $this->assertTrue($recordBuilder->isBuilderForAtLeastOneOf($archiveProcessor, ['TestPlugin_myReport', 'AnotherPlugin_anotherReport']));
- }
-
- public function testIsBuilderForAtLeastOneOfReturnsFalseIfTheRecordBuilderDoesNotHaveMetadataForAnyRequestedReport()
- {
- $recordBuilder = new class () extends ArchiveProcessor\RecordBuilder {
- public function getRecordMetadata(ArchiveProcessor $archiveProcessor): array
- {
- return [
- Record::make(Record::TYPE_NUMERIC, 'TestPlugin_myMetric'),
- Record::make(Record::TYPE_BLOB, 'TestPlugin_myReport'),
- ];
- }
-
- protected function aggregate(ArchiveProcessor $archiveProcessor): array
- {
- return [
- 'TestPlugin_myMetric' => 30,
- 'TestPlugin_myReport' => RecordBuilderTest::makeTestDataTable(),
- ];
- }
- };
-
- $archiveProcessor = $this->getMockArchiveProcessor();
- $this->assertFalse($recordBuilder->isBuilderForAtLeastOneOf($archiveProcessor, ['AnotherPlugin_anotherReport']));
- $this->assertFalse($recordBuilder->isBuilderForAtLeastOneOf($archiveProcessor, ['AnotherPlugin_anotherReport2', 'AThirdPlugin_anotherReport3']));
- }
-
- public function getMockArchiveProcessor(
- string $period = 'day',
- ?array $requestedReports = null,
- ?array $foundRequestedReports = null,
- bool $addSubtablesToAggregatedTables = false
- ): ArchiveProcessor {
- Site::setSiteFromArray(1, ['idsite' => 1, 'ecommerce' => 0, 'sitesearch' => 0, 'exclude_unknown_urls' => 0, 'keep_url_fragment' => 0]);
- $params = new Parameters(new Site(1), PeriodFactory::build($period, '2020-03-04'), new Segment('', [1]));
-
- if (!empty($requestedReports)) {
- $params->setArchiveOnlyReport($requestedReports);
- }
-
- if (!empty($foundRequestedReports)) {
- $params->setFoundRequestedReports($foundRequestedReports);
- }
-
- $archiveWriter = new class () extends ArchiveWriter {
- public function __construct()
- {
- // disable original constructor
- }
- };
-
- $logAggregator = new class () extends LogAggregator {
- public function __construct()
- {
- // disable original constructor
- }
- };
-
- return new class ($this, $addSubtablesToAggregatedTables, $params, $archiveWriter, $logAggregator) extends ArchiveProcessor {
- /**
- * @var RecordBuilderTest
- */
- private $test;
-
- /**
- * @var bool
- */
- private $addSubtablesToAggregatedTables;
-
- public function __construct(
- RecordBuilderTest $test,
- bool $addSubtablesToAggregatedTables,
- Parameters $params,
- ArchiveWriter $archiveWriter,
- LogAggregator $logAggregator
- ) {
- parent::__construct($params, $archiveWriter, $logAggregator);
-
- $this->test = $test;
- $this->addSubtablesToAggregatedTables = $addSubtablesToAggregatedTables;
- }
-
- protected function aggregateDataTableRecord($name, $columnsAggregationOperation = null, $columnsToRenameAfterAggregation = null)
- {
- $dataTable = RecordBuilderTest::makeAggregatedTestDataTable();
- if ($this->addSubtablesToAggregatedTables) {
- foreach ($dataTable->getRows() as $row) {
- $row->setSubtable(RecordBuilderTest::makeAggregatedTestSubtable());
- }
- }
-
- if (!empty($columnsAggregationOperation)) {
- $dataTable->setMetadata(DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME, $columnsAggregationOperation);
- $dataTable->filterSubtables(function (DataTable $subtable) use ($columnsAggregationOperation) {
- $subtable->setMetadata(DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME, $columnsAggregationOperation);
- });
- }
-
- return $dataTable;
- }
-
- protected function getAggregatedNumericMetrics($columns, $operationsToApply)
- {
- $metricValuesToUse = [9000, 10500, 15000, 12345, 1000];
-
- $metricValues = [];
- for ($i = 0; $i < count($columns); ++$i) {
- $metricValueToUse = $metricValuesToUse[$i % count($metricValuesToUse)];
- $metricValues[$columns[$i]] = $metricValueToUse;
- }
- return $metricValues;
- }
-
- public function insertNumericRecord($name, $value)
- {
- $this->test->numericRecordsInserted[$name] = $value;
- }
-
- public function insertBlobRecord($name, $values)
- {
- // make the serialized values more readable
- $values = array_map(function ($v) {
- $deserialized = unserialize($v);
-
- $asArray = json_encode($deserialized);
- $asArray = json_decode($asArray, true);
-
- return $asArray;
- }, $values);
-
- $this->test->blobRecordsInserted[$name] = $values;
- }
- };
- }
-
- private function getTopLevelLabelsOfInsertedBlobRecord(string $recordName): array
- {
- if (empty($this->blobRecordsInserted[$recordName][0])) {
- return [];
- }
-
- return array_values(array_map(function (array $row): string {
- return (string) ($row[Row::COLUMNS]['label'] ?? '');
- }, $this->blobRecordsInserted[$recordName][0]));
- }
-
- public static function makeTestDataTable(): DataTable
- {
- $table = new DataTable();
- $table->addRowFromSimpleArray(['label' => 'the thing', 'nb_visits' => 40]);
- $table->addRowFromSimpleArray(['label' => 'another thing', 'nb_visits' => 50]);
- $table->addRowFromSimpleArray(['label' => 'a third thing', 'nb_visits' => 20]);
- return $table;
- }
-
- /**
- * Builds a two-level DataTable from a nested spec.
- * Leaf entries are `label => nb_visits`; nested entries are `label => [childLabel => nb_visits, ...]`.
- */
- public static function makeDeepHierarchyTable(array $spec): DataTable
- {
- $table = new DataTable();
- foreach ($spec as $label => $children) {
- if (is_array($children)) {
- $row = new Row([Row::COLUMNS => ['label' => $label]]);
- $subtable = new DataTable();
- foreach ($children as $childLabel => $nbVisits) {
- $subtable->addRowFromSimpleArray(['label' => $childLabel, 'nb_visits' => $nbVisits]);
- }
- $row->setSubtable($subtable);
- $table->addRow($row);
- } else {
- $table->addRowFromSimpleArray(['label' => $label, 'nb_visits' => $children]);
- }
- }
- return $table;
- }
-
- /**
- * Serializes a DataTable (including subtables) into the archive-row shape expected by
- * `querySingleBlobRows()` — root blob named $recordName (serialized key 0 per the DataTable
- * spec), subtable blobs named $recordName_. Root is yielded first so consumers can rely
- * on parent-before-child ordering, mirroring how ArchiveSelector orders rows.
- *
- * @return iterable
- */
- public static function serializeToArchiveRows(string $recordName, string $date, DataTable $table): iterable
- {
- $serialized = $table->getSerialized();
- ksort($serialized);
- foreach ($serialized as $key => $value) {
- yield [
- 'name' => $key === 0 ? $recordName : $recordName . '_' . $key,
- 'date1' => $date,
- 'date2' => $date,
- 'value' => $value,
- ];
- }
- }
-
- /**
- * Serializes a DataTable hierarchy into a plain nested array (label => nb_visits or label => [child => nb_visits]).
- * Used by tests to compare a hierarchy structure without depending on internal row IDs.
- */
- public static function describeHierarchy(DataTable $table): array
- {
- $result = [];
- foreach ($table->getRowsWithoutSummaryRow() as $row) {
- $label = $row->getColumn('label');
- $subtable = $row->getSubtable();
- if ($subtable instanceof DataTable) {
- $children = [];
- foreach ($subtable->getRowsWithoutSummaryRow() as $childRow) {
- $children[(string) $childRow->getColumn('label')] = $childRow->getColumn('nb_visits');
- }
- $result[(string) $label] = $children;
- } else {
- $result[(string) $label] = $row->getColumn('nb_visits');
- }
- }
- return $result;
- }
-
- /**
- * Walks a (possibly deep) hierarchy DataTable and merges every leaf into the flat table by its
- * fully-qualified "/parent/child" path label, summing nb_visits when the same label is seen
- * again. Mirrors the essential semantics used by the production Actions legacy-hierarchy reducer.
- */
- public static function flattenHierarchyIntoFlatTable(DataTable $hierarchy, DataTable $flatTable): void
- {
- $walker = function (DataTable $source, array $path) use (&$walker, $flatTable): void {
- foreach ($source->getRowsWithoutSummaryRow() as $row) {
- $label = (string) $row->getColumn('label');
- $subtable = $row->getSubtable();
- if ($subtable instanceof DataTable) {
- $walker($subtable, array_merge($path, [$label]));
- continue;
- }
-
- $segments = array_merge($path, [$label]);
- $flatLabel = '/' . implode('/', array_map(static function (string $segment): string {
- return ltrim($segment, '/');
- }, $segments));
-
- $nbVisits = (int) $row->getColumn('nb_visits');
- $existing = $flatTable->getRowFromLabel($flatLabel);
- if ($existing === false) {
- $flatTable->addRow(new Row([Row::COLUMNS => [
- 'label' => $flatLabel,
- 'nb_visits' => $nbVisits,
- ]]));
- } else {
- $existing->setColumn(
- 'nb_visits',
- (int) $existing->getColumn('nb_visits') + $nbVisits
- );
- }
- }
- };
-
- $walker($hierarchy, []);
- }
-
- /**
- * @return array
- */
- private function getFlatInsertedBlobMetric(string $recordName, string $metric): array
- {
- if (empty($this->blobRecordsInserted[$recordName][0])) {
- return [];
- }
-
- $result = [];
- foreach ($this->blobRecordsInserted[$recordName][0] as $rowId => $row) {
- if ($rowId === DataTable::ID_SUMMARY_ROW) {
- continue;
- }
- $label = (string) ($row[Row::COLUMNS]['label'] ?? '');
- $result[$label] = (int) ($row[Row::COLUMNS][$metric] ?? 0);
- }
- return $result;
- }
-
- public static function makeAggregatedTestDataTable(): DataTable
- {
- $table = new DataTable();
- $table->addRowFromSimpleArray(['label' => '[aggregated] the thing', 'nb_visits' => 140]);
- $table->addRowFromSimpleArray(['label' => '[aggregated] another thing', 'nb_visits' => 150]);
- $table->addRowFromSimpleArray(['label' => '[aggregated] a third thing', 'nb_visits' => 30]);
- return $table;
- }
-
- public static function makeAggregatedTestSubtable()
- {
- $table = new DataTable();
- $table->addRowFromSimpleArray(['label' => '[subtable] the thing', 'nb_visits' => 15]);
- return $table;
- }
-}
diff --git a/tests/PHPUnit/Unit/Archiver/RequestTest.php b/tests/PHPUnit/Unit/Archiver/RequestTest.php
deleted file mode 100644
index 3a875a2c44da6201e37c59dacee9679f5f9a03b5..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Archiver/RequestTest.php
+++ /dev/null
@@ -1,74 +0,0 @@
-changeDate($newDate);
- $this->assertEquals($expectedNewUrl, $request->getUrl());
- }
-
- public function getTestDataForChangeDate()
- {
- return [
- [
- 'http://abc.com/index.php?trigger=archivephp&method=API.get&date=2012-03-04',
- 'last12',
- 'http://abc.com/index.php?trigger=archivephp&method=API.get&date=last12',
- ],
- [
- 'http://abc.com/index.php?trigger=archivephp&method=API.get&date=2012-03-04,2013-02-4&period=day',
- 'previous18',
- 'http://abc.com/index.php?trigger=archivephp&method=API.get&date=previous18&period=day',
- ],
- [
- 'http://abc.com/index.php?date=lastN&period=day',
- '2013-10-12,2013-11-19',
- 'http://abc.com/index.php?date=2013-10-12,2013-11-19&period=day',
- ],
- ];
- }
-
- /**
- * @dataProvider getTestDataForMakeSureDateIsNotSingleDayRange
- */
- public function testMakeSureDateIsNotSingleDayRange($url, $expectedResult)
- {
- $request = new Request($url);
- $request->makeSureDateIsNotSingleDayRange();
- $this->assertEquals($expectedResult, $request->getUrl());
- }
-
- public function getTestDataForMakeSureDateIsNotSingleDayRange()
- {
- return [
- ['?idSite=1&date=2012-03-04&period=day', '?idSite=1&date=2012-03-04&period=day'],
- ['?idSite=1&date=2012-03-04,2012-03-06&period=range', '?idSite=1&date=2012-03-04,2012-03-06&period=range'],
- ['?idSite=1&date=2012-03-04,2012-03-04&period=range', '?idSite=1&date=2012-03-04&period=day'],
- ['?idSite=1&date=last1&period=range', '?idSite=1&date=today&period=day'],
- ['?idSite=1&date=previous1&period=range', '?idSite=1&date=yesterday&period=day'],
- ];
- }
-}
diff --git a/tests/PHPUnit/Unit/AssetManager/PluginManagerMock.php b/tests/PHPUnit/Unit/AssetManager/PluginManagerMock.php
deleted file mode 100644
index c9de9d8191ad5855a35b6e8b8c648e08b414deb2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/PluginManagerMock.php
+++ /dev/null
@@ -1,91 +0,0 @@
-plugins = $plugins;
- }
-
- public function isPluginLoaded($name)
- {
- $plugin = $this->getLoadedPlugin($name);
- return !empty($plugin);
- }
-
- public function getLoadedPlugin($name)
- {
- foreach ($this->plugins as $plugin) {
- if ($plugin->getPluginName() == $name) {
- return $plugin;
- }
- }
-
- return null;
- }
-
- public function getPluginsLoadedAndActivated()
- {
- return $this->getLoadedPlugins();
- }
-
- public function getLoadedPluginsName()
- {
- $pluginNames = array();
-
- foreach ($this->plugins as $plugin) {
- $pluginNames[] = $plugin->getPluginName();
- }
-
- return $pluginNames;
- }
-
- public function getLoadedPlugins()
- {
- return $this->plugins;
- }
-
- public function getTheme($themeName)
- {
- return $this->loadedTheme;
- }
-
- /**
- * @param Theme $loadedTheme
- */
- public function setLoadedTheme($loadedTheme)
- {
- $this->loadedTheme = $loadedTheme;
- }
-
- public function isPluginBundledWithCore($name)
- {
- return stripos($name, 'NonCore') === false;
- }
-}
diff --git a/tests/PHPUnit/Unit/AssetManager/PluginMock.php b/tests/PHPUnit/Unit/AssetManager/PluginMock.php
deleted file mode 100644
index fa086f59485744f44392719e533031e064b6f28f..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/PluginMock.php
+++ /dev/null
@@ -1,135 +0,0 @@
-pluginName = $name;
- }
-
- public function registerEvents()
- {
- return array(
- 'AssetManager.getJavaScriptFiles' => 'getJsFiles',
- 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
- 'AssetManager.filterMergedJavaScripts' => 'filterMergedJavaScriptsHook',
- 'AssetManager.filterMergedStylesheets' => 'filterMergedStylesheetsHook',
- );
- }
-
- /**
- * @param string[] $jsFiles
- */
- public function getJsFiles(&$jsFiles)
- {
- $jsFiles = array_merge($jsFiles, $this->jsFiles);
- }
-
- /**
- * @param string[] $stylesheetFiles
- */
- public function getStylesheetFiles(&$stylesheetFiles)
- {
- $stylesheetFiles = array_merge($stylesheetFiles, $this->stylesheetFiles);
- }
-
- /**
- * @param string $mergedContent
- */
- public function filterMergedJavaScriptsHook(&$mergedContent)
- {
- $mergedContent .= $this->jsCustomization;
- }
-
- /**
- * @param string $mergedContent
- */
- public function filterMergedStylesheetsHook(&$mergedContent)
- {
- $mergedContent .= $this->cssCustomization;
- }
-
- /**
- * @param string $cssCustomization
- */
- public function setCssCustomization($cssCustomization)
- {
- $this->cssCustomization = $cssCustomization;
- }
-
- /**
- * @param string $jsCustomization
- */
- public function setJsCustomization($jsCustomization)
- {
- $this->jsCustomization = $jsCustomization;
- }
-
- /**
- * @param string[] $jsFiles
- */
- public function setJsFiles($jsFiles)
- {
- $this->jsFiles = $jsFiles;
- }
-
- /**
- * @param string[] $stylesheetFiles
- */
- public function setStylesheetFiles($stylesheetFiles)
- {
- $this->stylesheetFiles = $stylesheetFiles;
- }
-
- /**
- * @param boolean $isTheme
- */
- public function setIsTheme($isTheme)
- {
- $this->isTheme = $isTheme;
- }
-
- public function isTheme()
- {
- return $this->isTheme;
- }
-}
diff --git a/tests/PHPUnit/Unit/AssetManager/ThemeMock.php b/tests/PHPUnit/Unit/AssetManager/ThemeMock.php
deleted file mode 100644
index 8f6ec69fa93398c541f32d85b12f1d3536b82109..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/ThemeMock.php
+++ /dev/null
@@ -1,78 +0,0 @@
-plugin = $plugin;
- }
-
- public function getStylesheet()
- {
- return $this->stylesheet;
- }
-
- public function getJavaScriptFiles()
- {
- return $this->jsFiles;
- }
-
- /**
- * @param string[] $jsFiles
- */
- public function setJsFiles($jsFiles)
- {
- $this->jsFiles = $jsFiles;
- }
-
- /**
- * @param string $stylesheet
- */
- public function setStylesheet($stylesheet)
- {
- $this->stylesheet = $stylesheet;
- }
-
- /**
- * @return Plugin
- */
- public function getPlugin()
- {
- return $this->plugin;
- }
-
- public function getThemeName()
- {
- return $this->plugin->getPluginName();
- }
-}
diff --git a/tests/PHPUnit/Unit/AssetManager/UIAssetCacheBusterMock.php b/tests/PHPUnit/Unit/AssetManager/UIAssetCacheBusterMock.php
deleted file mode 100644
index 04a4b1bb40dbdb9600edd758426f0c427f2b0bd2..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/UIAssetCacheBusterMock.php
+++ /dev/null
@@ -1,51 +0,0 @@
-piwikVersionBasedCacheBuster;
- }
-
- public function md5BasedCacheBuster($content)
- {
- return $this->md5BasedCacheBuster;
- }
-
- /**
- * @param string $md5BasedCacheBuster
- */
- public function setMd5BasedCacheBuster($md5BasedCacheBuster)
- {
- $this->md5BasedCacheBuster = $md5BasedCacheBuster;
- }
-
- /**
- * @param string $piwikVersionBasedCacheBuster
- */
- public function setPiwikVersionBasedCacheBuster($piwikVersionBasedCacheBuster)
- {
- $this->piwikVersionBasedCacheBuster = $piwikVersionBasedCacheBuster;
- }
-}
diff --git a/tests/PHPUnit/Unit/AssetManager/UIAssetCacheBusterTest.php b/tests/PHPUnit/Unit/AssetManager/UIAssetCacheBusterTest.php
deleted file mode 100644
index ff721f6182a892c3f32b83156e6c4978a62bfc6b..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/UIAssetCacheBusterTest.php
+++ /dev/null
@@ -1,34 +0,0 @@
-cacheBuster = UIAssetCacheBuster::getInstance();
- }
-
- /**
- * @group Core
- */
- public function testMd5BasedCacheBuster()
- {
- $this->assertEquals('098f6bcd4621d373cade4e832627b4f6', $this->cacheBuster->md5BasedCacheBuster('test'));
- }
-}
diff --git a/tests/PHPUnit/Unit/AssetManager/UIAssetCatalogSorterTest.php b/tests/PHPUnit/Unit/AssetManager/UIAssetCatalogSorterTest.php
deleted file mode 100644
index 0f58e5f66d7fcbec00eb71b4edb8e73f32949067..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/UIAssetCatalogSorterTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-addUIAsset(new OnDiskUIAsset($baseDirectory, 'new_dir/new_file'));
- $unsortedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'plugins/xyz'));
- $unsortedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'plugins/abc'));
- $unsortedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'libs/xyz'));
- $unsortedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'libs/base.css'));
- $unsortedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'libs/abc'));
- $unsortedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'plugins/xyz'));
- $unsortedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'libs/base.css'));
- $unsortedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'libs/xyz'));
-
- $expectedCatalog = new UIAssetCatalog($catalogSorter);
- $expectedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'libs/base.css'));
- $expectedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'libs/xyz'));
- $expectedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'libs/abc'));
- $expectedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'plugins/xyz'));
- $expectedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'plugins/abc'));
- $expectedCatalog->addUIAsset(new OnDiskUIAsset($baseDirectory, 'new_dir/new_file'));
-
- $sortedCatalog = $unsortedCatalog->getSortedCatalog();
-
- $this->assertEquals($expectedCatalog, $sortedCatalog);
- }
-}
diff --git a/tests/PHPUnit/Unit/AssetManager/scripts/ExpectedMergeResultCore.js b/tests/PHPUnit/Unit/AssetManager/scripts/ExpectedMergeResultCore.js
deleted file mode 100644
index 08c20ce37ac77e962eb4dabb66625bdb4157577d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/scripts/ExpectedMergeResultCore.js
+++ /dev/null
@@ -1,6 +0,0 @@
-/* Matomo Javascript - cb={{{CACHE-BUSTER-JS}}}*/
-
-if(typeof SimpleObject!=='object'){SimpleObject=(function(){var privateVar;function privateMethod(param){privateVar=param;}
-return{publicMethod:function(){privateMethod('val');}}}());}
-var simpleArray=['el1','el2'];
-//This is a simple comment// customization via event
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/scripts/ExpectedMergeResultNonCore.js b/tests/PHPUnit/Unit/AssetManager/scripts/ExpectedMergeResultNonCore.js
deleted file mode 100644
index f1cf2469322a883716e4c8e3c0c84fe8070731b1..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/scripts/ExpectedMergeResultNonCore.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Matomo Javascript - cb={{{CACHE-BUSTER-JS}}}*/
-
-alert('test');
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/scripts/SimpleAlert.js b/tests/PHPUnit/Unit/AssetManager/scripts/SimpleAlert.js
deleted file mode 100644
index 003d113a366f041ce7083260785d9a0729042fb8..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/scripts/SimpleAlert.js
+++ /dev/null
@@ -1 +0,0 @@
-alert('test');
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/scripts/SimpleArray.js b/tests/PHPUnit/Unit/AssetManager/scripts/SimpleArray.js
deleted file mode 100644
index 3176f85cff1a53f0a0f2e6ac6ce212ad743981ef..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/scripts/SimpleArray.js
+++ /dev/null
@@ -1 +0,0 @@
-var simpleArray = ['el1', 'el2'];
diff --git a/tests/PHPUnit/Unit/AssetManager/scripts/SimpleComments.js b/tests/PHPUnit/Unit/AssetManager/scripts/SimpleComments.js
deleted file mode 100644
index 5a7103256aed16d1d63071132697cde52ef4a527..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/scripts/SimpleComments.js
+++ /dev/null
@@ -1 +0,0 @@
-//This is a simple comment
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/scripts/SimpleObject.js b/tests/PHPUnit/Unit/AssetManager/scripts/SimpleObject.js
deleted file mode 100644
index 737cb9ba96291c4292363a591abff746da89598a..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/scripts/SimpleObject.js
+++ /dev/null
@@ -1,18 +0,0 @@
-if (typeof SimpleObject !== 'object') {
-
- SimpleObject = (function () {
-
- var privateVar;
-
- function privateMethod(param) {
- privateVar = param;
- }
-
- return {
-
- publicMethod: function () {
- privateMethod('val');
- }
- }
- }());
-}
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/stylesheets/CssWithURLs.css b/tests/PHPUnit/Unit/AssetManager/stylesheets/CssWithURLs.css
deleted file mode 100644
index d40a341a58f4817f4924e9545dd4af00caaa9730..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/stylesheets/CssWithURLs.css
+++ /dev/null
@@ -1,13 +0,0 @@
-h1 {
- color: orange;
- text-align: center;
- /* url relative to root: must not be rewritten*/
- background: url(tests/PHPUnit/Unit/AssetManager/stylesheets/images/test-image.png);
-}
-
-p {
- font-size: 20px;
- /* url relative to file: must be rewritten*/
- background: url(images/test-image.png);
- height: calc(100% + 45px);
-}
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/stylesheets/ExpectedMergeResult.css b/tests/PHPUnit/Unit/AssetManager/stylesheets/ExpectedMergeResult.css
deleted file mode 100644
index f97cd83fe04707508dbebc457728eb469fc1c2a0..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/stylesheets/ExpectedMergeResult.css
+++ /dev/null
@@ -1,34 +0,0 @@
-/* compile_me_once={{{CACHE-BUSTER-JS}}} */
-/* Matomo CSS file is compiled with Less. You may be interested in writing a custom Theme for Matomo! */
-#page #header {
- color: #ffffff;
-}
-#footer {
- color: #ff0000;
-}
-.box {
- color: #fe33ac;
- border-color: #fdcdea;
-}
-.box div {
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
- -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
-}
-h1 {
- color: orange;
- text-align: center;
- /* url relative to root: must not be rewritten*/
- background: url(tests/PHPUnit/Unit/AssetManager/stylesheets/images/test-image.png);
-}
-
-p {
- font-size: 20px;
- /* url relative to file: must be rewritten*/
- background: url(tests/PHPUnit/Unit/AssetManager/stylesheets/images/test-image.png);
- height: calc(100% + 45px);
-}
-body {
- background-color:#b0c4de;
-}
-/* customization via event */
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/stylesheets/ImportedLess.less b/tests/PHPUnit/Unit/AssetManager/stylesheets/ImportedLess.less
deleted file mode 100644
index db566317b6ee5e2db9190e8ec266cefccef76aa4..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/stylesheets/ImportedLess.less
+++ /dev/null
@@ -1,12 +0,0 @@
-@var: red;
-
-#page {
- @var: white;
- #header {
- color: @var;
- }
-}
-
-#footer {
- color: @var;
-}
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/stylesheets/SimpleBody.css b/tests/PHPUnit/Unit/AssetManager/stylesheets/SimpleBody.css
deleted file mode 100644
index 6e0e55777a8ed988244315b6dce8b898c7fc5fda..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/stylesheets/SimpleBody.css
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
- background-color:#b0c4de;
-}
\ No newline at end of file
diff --git a/tests/PHPUnit/Unit/AssetManager/stylesheets/SimpleLess.less b/tests/PHPUnit/Unit/AssetManager/stylesheets/SimpleLess.less
deleted file mode 100644
index fd7b33af317a64500c13d5cb97d64129cd78e959..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManager/stylesheets/SimpleLess.less
+++ /dev/null
@@ -1,17 +0,0 @@
-@import "ImportedLess";
-
-@base: #f938ab;
-
-.box-shadow(@style, @c) when (iscolor(@c)) {
- -webkit-box-shadow: @style @c;
- -moz-box-shadow: @style @c;
- box-shadow: @style @c;
-}
-.box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {
- .box-shadow(@style, rgba(0, 0, 0, @alpha));
-}
-.box {
- color: saturate(@base, 5%);
- border-color: lighten(@base, 30%);
- div { .box-shadow(0 0 5px, 30%) }
-}
diff --git a/tests/PHPUnit/Unit/AssetManager/stylesheets/images/test-image.png b/tests/PHPUnit/Unit/AssetManager/stylesheets/images/test-image.png
deleted file mode 100644
index da6e1bbe89dc52e9fdaae1119f1c7353ed997076..0000000000000000000000000000000000000000
Binary files a/tests/PHPUnit/Unit/AssetManager/stylesheets/images/test-image.png and /dev/null differ
diff --git a/tests/PHPUnit/Unit/AssetManagerTest.php b/tests/PHPUnit/Unit/AssetManagerTest.php
deleted file mode 100644
index 0382ad2ef0ef1b4f20ddb96bd7b2e2acc11f675d..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/AssetManagerTest.php
+++ /dev/null
@@ -1,48 +0,0 @@
-assertFalse($manager->isMergedAssetsDisabled());
-
- // with configuration
- $defaultConfig = Config::getInstance()->Development['disable_merged_assets'];
-
- Config::getInstance()->Development['disable_merged_assets'] = false;
- $this->assertFalse($manager->isMergedAssetsDisabled());
-
- Config::getInstance()->Development['disable_merged_assets'] = true;
- $this->assertTrue($manager->isMergedAssetsDisabled());
-
- // reset the config
- Config::getInstance()->Development['disable_merged_assets'] = $defaultConfig;
-
- // with $_GET parameter
- $_GET['disable_merged_assets'] = '1';
- $this->assertTrue($manager->isMergedAssetsDisabled());
- unset($_GET['disable_merged_assets']);
-
- $_GET['disable_merged_assets'] = '0';
- $this->assertFalse($manager->isMergedAssetsDisabled());
- unset($_GET['disable_merged_assets']);
- }
-}
diff --git a/tests/PHPUnit/Unit/Auth/PasswordStrengthTest.php b/tests/PHPUnit/Unit/Auth/PasswordStrengthTest.php
deleted file mode 100644
index fc5af5a5e7f9b8895c6cd305baaeb947e50628c1..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Auth/PasswordStrengthTest.php
+++ /dev/null
@@ -1,119 +0,0 @@
-getRules();
-
- $this->assertEmpty($rules);
- }
-
- public function testGetRulesFeatureEnabled()
- {
- $passwordStrength = new PasswordStrength($featureEnabled = true);
- $rules = $passwordStrength->getRules();
-
- $this->assertNotEmpty($rules);
- foreach ($rules as $rule) {
- $this->assertArrayHasKey('validationRegex', $rule);
- $this->assertNotEmpty($rule['validationRegex']);
- $this->assertArrayHasKey('ruleText', $rule);
- $this->assertNotEmpty($rule['ruleText']);
- }
- }
-
- /**
- * @dataProvider passwordProvider
- */
- public function testPasswordStrengthFeatureDisabled($password, $expected)
- {
- $passwordStrength = new PasswordStrength($featureEnabled = false);
- $brokenRules = $passwordStrength->validatePasswordStrength($password);
-
- $this->assertEmpty($brokenRules);
- }
-
- /**
- * @dataProvider passwordProvider
- */
- public function testPasswordStrengthRulesFeatureEnabled($password, $expected)
- {
- $passwordStrength = new PasswordStrength($featureEnabled = true);
- $brokenRules = $passwordStrength->validatePasswordStrength($password);
-
- $this->assertSame($expected, $brokenRules);
- }
-
- public function passwordProvider()
- {
- yield ['Testpassword1!', []];
- yield ['Testpassword1"', []];
- yield ['Testpassword1#', []];
- yield ['Testpassword1$', []];
- yield ['Testpassword1%', []];
- yield ['Testpassword1&', []];
- yield ["Testpassword1'", []];
- yield ['Testpassword1(', []];
- yield ['Testpassword1)', []];
- yield ['Testpassword1*', []];
- yield ['Testpassword1+', []];
- yield ['Testpassword1,', []];
- yield ['Testpassword1-', []];
- yield ['Testpassword1.', []];
- yield ['Testpassword1/', []];
- yield ['Testpassword1:', []];
- yield ['Testpassword1;', []];
- yield ['Testpassword1<', []];
- yield ['Testpassword1=', []];
- yield ['Testpassword1>', []];
- yield ['Testpassword1?', []];
- yield ['Testpassword1@', []];
- yield ['Testpassword1[', []];
- yield ['Testpassword1\\', []];
- yield ['Testpassword1]', []];
- yield ['Testpassword1^', []];
- yield ['Testpassword1_', []];
- yield ['Testpassword1`', []];
- yield ['Testpassword1{', []];
- yield ['Testpassword1|', []];
- yield ['Testpassword1}', []];
- yield ['Testpassword1~', []];
- yield ['Testword1!', ['General_PasswordStrengthValidationLength']];
- yield ['TESTPASSWORD1!', ['General_PasswordStrengthValidationLowercase']];
- yield ['testpassword1!', ['General_PasswordStrengthValidationUppercase']];
- yield ['Testpassword!', ['General_PasswordStrengthValidationNumber']];
- yield ['Testpassword1', ['General_PasswordStrengthValidationSpecialChar']];
- yield ['testpassword1', [
- 'General_PasswordStrengthValidationUppercase',
- 'General_PasswordStrengthValidationSpecialChar',
- ]];
- yield ['TESTWORD!', [
- 'General_PasswordStrengthValidationLength',
- 'General_PasswordStrengthValidationLowercase',
- 'General_PasswordStrengthValidationNumber',
- ]];
- yield ['', [
- 'General_PasswordStrengthValidationLength',
- 'General_PasswordStrengthValidationLowercase',
- 'General_PasswordStrengthValidationUppercase',
- 'General_PasswordStrengthValidationNumber',
- 'General_PasswordStrengthValidationSpecialChar',
- ]];
- }
-}
diff --git a/tests/PHPUnit/Unit/CacheTest.php b/tests/PHPUnit/Unit/CacheTest.php
deleted file mode 100644
index 54f82ff66a9aac41213e496fa98dc96ad9d5d6a3..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/CacheTest.php
+++ /dev/null
@@ -1,84 +0,0 @@
-assertTrue($cache instanceof \Matomo\Cache\Lazy);
- }
-
- public function testGetLazyCacheShouldAlwaysReturnTheSameInstance()
- {
- $cache1 = Cache::getLazyCache();
- $cache2 = Cache::getLazyCache();
-
- $this->assertSame($cache1, $cache2);
- }
-
- public function testGetEagerCacheShouldCreateAnInstanceOfEager()
- {
- $cache = Cache::getEagerCache();
-
- $this->assertTrue($cache instanceof \Matomo\Cache\Eager);
- }
-
- public function testGetEagerCacheShouldAlwaysReturnTheSameInstance()
- {
- $cache1 = Cache::getEagerCache();
- $cache2 = Cache::getEagerCache();
-
- $this->assertSame($cache1, $cache2);
- }
-
- public function testGetTransientCacheShouldCreateAnInstanceOfTransient()
- {
- $cache = Cache::getTransientCache();
-
- $this->assertTrue($cache instanceof \Matomo\Cache\Transient);
- }
-
- public function testGetTransientCacheShouldAlwaysReturnTheSameInstance()
- {
- $cache1 = Cache::getTransientCache();
- $cache2 = Cache::getTransientCache();
-
- $this->assertSame($cache1, $cache2);
- }
-
- public function testFlushAllShouldActuallyFlushAllCaches()
- {
- $cache1 = Cache::getTransientCache();
- $cache2 = Cache::getLazyCache();
- $cache3 = Cache::getEagerCache();
-
- $cache1->save('test1', 'content');
- $cache2->save('test2', 'content');
- $cache3->save('test3', 'content');
-
- $this->assertTrue($cache1->contains('test1'));
- $this->assertTrue($cache2->contains('test2'));
- $this->assertTrue($cache3->contains('test3'));
-
- Cache::flushAll();
-
- $this->assertFalse($cache1->contains('test1'));
- $this->assertFalse($cache2->contains('test2'));
- $this->assertFalse($cache3->contains('test3'));
- }
-}
diff --git a/tests/PHPUnit/Unit/Category/CategoryListTest.php b/tests/PHPUnit/Unit/Category/CategoryListTest.php
deleted file mode 100644
index bceceba6b8c2cf7650eceec96dff7414417909a5..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Category/CategoryListTest.php
+++ /dev/null
@@ -1,92 +0,0 @@
-categoryList = new CategoryList();
- }
-
- public function testGetCategoriesIsEmptyByDefault()
- {
- $this->assertSame(array(), $this->categoryList->getCategories());
- }
-
- public function testAddCategoryShouldAddCategoryAndGetCategoriesShouldBeIndexedById()
- {
- $category = $this->addCategory('myTest');
-
- $this->assertSame(array('myTest' => $category), $this->categoryList->getCategories());
- }
-
- public function testAddCategoryShouldThrowExceptionIfAddingSameCategoryIdTwice()
- {
- $this->expectException(\Exception::class);
- $this->expectExceptionMessage('Category myTest already exists');
-
- $this->addCategory('myTest');
- $this->addCategory('myTest');
- }
-
- public function testHasCategoryShouldDetectIfCategoryExists()
- {
- $this->assertFalse($this->categoryList->hasCategory('myTest'));
-
- $this->addCategory('myTest');
-
- $this->assertTrue($this->categoryList->hasCategory('myTest'));
-
- $this->assertFalse($this->categoryList->hasCategory('myTest2'));
- $this->assertFalse($this->categoryList->hasCategory('General_Visits'));
- }
-
- public function testGetCategoryShouldReturnExistingCategoryIfPossible()
- {
- $this->assertNull($this->categoryList->getCategory('myTest'));
-
- $category = $this->addCategory('myTest');
-
- $this->assertSame($category, $this->categoryList->getCategory('myTest'));
-
- $this->assertNull($this->categoryList->getCategory('myTest2'));
- $this->assertNull($this->categoryList->getCategory('General_Visits'));
- }
-
- private function addCategory($id)
- {
- $category = $this->createCategory($id);
- $this->categoryList->addCategory($category);
-
- return $category;
- }
-
- private function createCategory($categoryId)
- {
- $config = new Category();
- $config->setId($categoryId);
-
- return $config;
- }
-}
diff --git a/tests/PHPUnit/Unit/Category/CategoryTest.php b/tests/PHPUnit/Unit/Category/CategoryTest.php
deleted file mode 100644
index ad0c720780a8b7d30be5f74e1ad601ab2e556d29..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Category/CategoryTest.php
+++ /dev/null
@@ -1,186 +0,0 @@
-category = new Category();
- }
-
- public function testOrderSetGet()
- {
- $this->category->setOrder(99);
- $this->assertSame(99, $this->category->getOrder());
-
- $this->category->setOrder('98');
- $this->assertSame(98, $this->category->getOrder());
- }
-
- public function testGetOrderShouldReturnADefaultValue()
- {
- $this->assertSame(99, $this->category->getOrder());
- }
-
- public function testIdSetGet()
- {
- $this->category->setId('myCustomId');
- $this->assertSame('myCustomId', $this->category->getId());
- }
-
- public function testGetIdShouldBeEmptyStringByDefault()
- {
- $this->assertSame('', $this->category->getId());
- }
-
- public function testGetDisplayNameShouldUseId()
- {
- $this->category->setId('myCustomId');
- $this->assertSame('myCustomId', $this->category->getDisplayName());
- }
-
- public function testGetSubcategoriesShouldReturnAnEmptyArrayByDefault()
- {
- $this->assertSame(array(), $this->category->getSubcategories());
- }
-
- public function testGetGroupsShouldReturnTheDefaultGroupByDefault()
- {
- $this->assertSame(array(Category::DEFAULT_GROUP), $this->category->getGroups());
- }
-
- public function testGroupsSetGet()
- {
- $this->category->setGroups(array(Category::DEFAULT_GROUP, 'CoreHome_AIInsights'));
- $this->assertSame(array(Category::DEFAULT_GROUP, 'CoreHome_AIInsights'), $this->category->getGroups());
- }
-
- public function testSetGroupsShouldRemoveDuplicatesAndCastToString()
- {
- $this->category->setGroups(array('CoreHome_AIInsights', 'CoreHome_AIInsights', 123));
- $this->assertSame(array('CoreHome_AIInsights', '123'), $this->category->getGroups());
- }
-
- public function testSetGroupsShouldFallBackToDefaultGroupWhenEmpty()
- {
- $this->category->setGroups(array());
- $this->assertSame(array(Category::DEFAULT_GROUP), $this->category->getGroups());
- }
-
- public function testGetGroupsWithoutTrackingRequirementShouldReturnAnEmptyArrayByDefault()
- {
- $this->assertSame(array(), $this->category->getGroupsWithoutTrackingRequirement());
- }
-
- public function testGroupsWithoutTrackingRequirementSetGet()
- {
- $this->category->setGroupsWithoutTrackingRequirement(array('CoreHome_AIInsights'));
- $this->assertSame(array('CoreHome_AIInsights'), $this->category->getGroupsWithoutTrackingRequirement());
- }
-
- public function testSetGroupsWithoutTrackingRequirementShouldRemoveDuplicatesAndCastToString()
- {
- $this->category->setGroupsWithoutTrackingRequirement(array('CoreHome_AIInsights', 'CoreHome_AIInsights', 123));
- $this->assertSame(array('CoreHome_AIInsights', '123'), $this->category->getGroupsWithoutTrackingRequirement());
- }
-
- public function testAddSubcategoryShouldActuallyAddAndReturnSubcategories()
- {
- $subcategory1 = $this->createSubcategory('id1', 'name1');
- $subcategory2 = $this->createSubcategory('id2', 'name2');
-
- $this->category->addSubcategory($subcategory1);
- $this->category->addSubcategory($subcategory2);
-
- $this->assertSame(array($subcategory1, $subcategory2), $this->category->getSubcategories());
- }
-
- public function testAddSubcategoryShouldThrowExceptionWhenAddingSubcategoryWithSameIdTwice()
- {
- $this->expectException(\Exception::class);
- $this->expectExceptionMessage('Subcategory id1 already exists');
-
- $subcategory1 = $this->createSubcategory('id1', 'name1');
- $subcategory2 = $this->createSubcategory('id1', 'name2');
-
- $this->category->addSubcategory($subcategory1);
- $this->category->addSubcategory($subcategory2);
- }
-
- public function testHasSubcategoriesShouldDetectIfSubcategoriesArePresent()
- {
- $this->assertFalse($this->category->hasSubCategories());
- $this->addSubcategories(array('myid' => 'myname'));
- $this->assertTrue($this->category->hasSubCategories());
- }
-
- public function testGetSubcategoryShouldNotFindASubCategoryByIdIfSuchCategoryDoesNotExist()
- {
- $this->assertNull($this->category->getSubcategory('myid'));
- }
-
- public function testGetSubcategoryShouldFindAnExistingSubCategoryById()
- {
- $this->addSubcategories(array('myid' => 'myname', 'myid2' => 'myname2'));
-
- $subcategory = $this->category->getSubcategory('myid2');
- $this->assertTrue($subcategory instanceof Subcategory);
- $this->assertSame('myname2', $subcategory->getName());
- }
-
- public function testGetSubcategoryShouldNotFindASubcategoryByName()
- {
- $this->addSubcategories(array('myid' => 'myname'));
-
- $this->assertNull($this->category->getSubcategory('myname'));
- }
-
- public function testHasSubcategoryShouldActuallyAddTheConfig()
- {
- $this->assertFalse($this->category->hasSubcategory('myid2'));
-
- $this->addSubcategories(array('myid' => 'myname', 'myid2' => 'myname2'));
-
- $this->assertTrue($this->category->hasSubcategory('myid2'));
- $this->assertFalse($this->category->hasSubcategory('myname'));
- $this->assertFalse($this->category->hasSubcategory('myname2'));
- $this->assertFalse($this->category->hasSubcategory('mySomething'));
- }
-
- private function addSubcategories($subcategories)
- {
- foreach ($subcategories as $id => $name) {
- $this->category->addSubcategory($this->createSubcategory($id, $name));
- }
- }
-
- private function createSubcategory($subcategoryId, $subcategoryName)
- {
- $config = new Subcategory();
- $config->setId($subcategoryId);
- $config->setName($subcategoryName);
-
- return $config;
- }
-}
diff --git a/tests/PHPUnit/Unit/Category/SubcategoryTest.php b/tests/PHPUnit/Unit/Category/SubcategoryTest.php
deleted file mode 100644
index 027ba3c4f4d7726c011cb840ef3ca38937acfe01..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Category/SubcategoryTest.php
+++ /dev/null
@@ -1,88 +0,0 @@
-subcategory = new Subcategory();
- }
-
- public function testCategoryIdSetGet()
- {
- $this->subcategory->setCategoryId('testCategory');
-
- $this->assertSame('testCategory', $this->subcategory->getCategoryId());
- }
-
- public function testGetCategoryIdShouldBeEmptyStringByDefault()
- {
- $this->assertSame('', $this->subcategory->getCategoryId());
- }
-
- public function testNameSetGet()
- {
- $this->subcategory->setName('testName');
-
- $this->assertSame('testName', $this->subcategory->getName());
- }
-
- public function testGetNameShouldBeEmptyStringByDefault()
- {
- $this->assertSame('', $this->subcategory->getName());
- }
-
- public function testGetNameShouldDefaultToIdIfNoNameIsSet()
- {
- $this->subcategory->setId('myTestId');
-
- $this->assertSame('myTestId', $this->subcategory->getName());
- $this->assertSame('myTestId', $this->subcategory->getId());
- }
-
- public function testOrderSetGet()
- {
- $this->subcategory->setOrder(99);
- $this->assertSame(99, $this->subcategory->getOrder());
-
- $this->subcategory->setOrder('98');
- $this->assertSame(98, $this->subcategory->getOrder());
- }
-
- public function testGetOrderShouldReturnADefaultValue()
- {
- $this->assertSame(99, $this->subcategory->getOrder());
- }
-
- public function testIdSetGet()
- {
- $this->subcategory->setId('myCustomId');
- $this->assertSame('myCustomId', $this->subcategory->getId());
- }
-
- public function testGetIdShouldBeEmptyStringByDefault()
- {
- $this->assertSame('', $this->subcategory->getId());
- }
-}
diff --git a/tests/PHPUnit/Unit/CommonTest.php b/tests/PHPUnit/Unit/CommonTest.php
deleted file mode 100644
index 76e8b526b006ed774052fe4f61af1c1301762881..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/CommonTest.php
+++ /dev/null
@@ -1,674 +0,0 @@
-assertEquals(getmypid(), Common::getProcessId());
- //assure always returns same value
- $this->assertEquals(getmypid(), Common::getProcessId());
- }
-
- public function testHashEquals()
- {
- $this->assertFalse(Common::hashEquals('foo', 'bar'));
- $this->assertFalse(Common::hashEquals('foo', 'fo'));
- $this->assertFalse(Common::hashEquals('foo', 'fooo'));
- $this->assertFalse(Common::hashEquals('foo', 'foa'));
- $this->assertFalse(Common::hashEquals('foo', 'eoo'));
- $this->assertFalse(Common::hashEquals('foo', ''));
- $this->assertFalse(Common::hashEquals('', 'bar'));
- $this->assertTrue(Common::hashEquals('foo', 'foo'));
- }
-
- /**
- * Dataprovider for testSanitizeInputValues
- */
- public function getInputValues()
- {
- return [ // input, output
- // sanitize an array OK
- [
- ['test1' => 't1', 't45', 'teatae', 4568, ['test'], 1.52],
- ['test1' => 't1', 't45', 'teatae', 4568, ['test'], 1.52],
- ],
- [
- [
- 'test1' => 't1',
- 't45',
- 'teatae',
- 4568,
- ['test'],
- 1.52,
- ['test1' => 't1', 't45', 'teatae', 4568, ['test'], 1.52],
- ['test1' => 't1', 't45', 'teatae', 4568, ['test'], 1.52],
- [
- [[['test1' => 't1', 't45', 'teatae', 4568, ['test'], 1.52]]],
- ],
- ],
- [
- 'test1' => 't1',
- 't45',
- 'teatae',
- 4568,
- ['test'],
- 1.52,
- ['test1' => 't1', 't45', 'teatae', 4568, ['test'], 1.52],
- ['test1' => 't1', 't45', 'teatae', 4568, ['test'], 1.52],
- [
- [[['test1' => 't1', 't45', 'teatae', 4568, ['test'], 1.52]]],
- ],
- ],
- ],
- // sanitize an array with bad value level1
- [
- ['test1' => 't1', 't45', 'tea1"ta"e', 568, 1 => ['t 't1', 't45', 'tea1"ta"e', 568, 1 => ['t<e"st'], 1.52],
- ],
- // sanitize an array with bad value level2
- [
- ['tea1"ta"e' => ['t ['tgeag454554"t']], 1.52],
- ['tea1"ta"e' => ['t<e"st' => ['tgeag454554"t']], 1.52],
- ],
- // sanitize a string unicode => no change
- [
- ' Поиск в Интернете Поgqegиск страниц на рgeqg8978усском',
- ' Поиск в Интернете Поgqegиск страниц на рgeqg8978усском',
- ],
- // sanitize a bad string
- [
- '& " < > 123abc\'',
- '& " < > 123abc'',
- ],
- // test filter - expect new line and null byte to be filtered out
- [
- "Null\0Byte",
- 'NullByte',
- ],
- // double encoded - no change (document as user error)
- [
- '%48%45%4C%00%4C%4F+%57%4F%52%4C%44',
- '%48%45%4C%00%4C%4F+%57%4F%52%4C%44',
- ],
- // sanitize an integer
- ['121564564', '121564564'],
- ['121564564.0121', '121564564.0121'],
- [121564564.0121, 121564564.0121],
- [12121, 12121],
- // sanitize HTML
- [
- "Piwik!!!!!",
- '<test toto='mama' piwik="cool">Piwik!!!!!</test>',
- ],
- // sanitize a SQL query
- [
- "SELECT piwik FROM piwik_tests where test= 'super\"value' AND cool=toto #comment here",
- 'SELECT piwik FROM piwik_tests where test= 'super"value' AND cool=toto #comment here',
- ],
- // sanitize php variables
- [true, true],
- [false, false],
- [null, null],
- ['', ''],
- ];
- }
-
- /**
- * @dataProvider getInputValues
- */
- public function testSanitizeInputValues($input, $output)
- {
- $this->assertEquals($output, Common::sanitizeInputValues($input));
- }
-
- /**
- * emptyvarname => exception
- */
- public function testGetRequestVarEmptyVarName()
- {
- $this->expectException(Exception::class);
- $_GET[''] = 1;
- Common::getRequestVar('');
- }
-
- /**
- * nodefault Notype Novalue => exception
- */
- public function testGetRequestVarNoDefaultNoTypeNoValue()
- {
- $this->expectException(Exception::class);
- Common::getRequestVar('test');
- }
-
- /**
- * nodefault Notype WithValue => value
- */
- public function testGetRequestVarNoDefaultNoTypeWithValue()
- {
- $_GET['test'] = 1413.431413;
- $this->assertEquals($_GET['test'], Common::getRequestVar('test'));
- }
-
- /**
- * @dataProvider getValidFloatValues
- */
- public function testGetRequestVarFloatValues($requestValue, $expectedValue)
- {
- $_GET['test'] = $requestValue;
- $value = Common::getRequestVar('test', null, 'string');
- $this->assertEquals($expectedValue, $value);
- }
-
- public function getValidFloatValues(): iterable
- {
- yield 'Integer value' => [17, 17.0];
- yield 'Float value' => [17.123, 17.123];
- yield 'String value' => ['17.123', 17.123];
- yield 'Negative string value' => ['-17.123', -17.123];
- yield 'Positive string value' => ['+17.123', 17.123];
- yield 'String value, only fraction digits' => ['.123', 0.123];
- yield 'String value, no fraction digits' => ['123.e-3', 0.123];
- yield 'Negative string value, only fraction digits' => ['-.123', -0.123];
- yield 'Exp value' => [2e-2, 0.02];
- yield 'String exp value' => ['2e-3', 0.002];
- yield 'String Exp value' => ['1.2E-26', 1.2E-26];
- yield 'Octal exp value' => [0123e-2, 1.23];
- yield 'Octal value as string' => ['0123', 123.0];
- yield 'String value with many digits' => ['1254254645455484545.1', 1.2542546454554847E+18];
- yield 'String value with many fraction digits' => ['14.051545421864646123', 14.051545421864645];
- }
-
- public function testGetRequestVarGetStringIntegerGiven()
- {
- $_GET['test'] = 1413;
- $value = Common::getRequestVar('test', null, 'string');
- $this->assertEquals('1413', $value);
- }
-
- /**
- * nodefault Withtype WithValue => exception cos type not matching
- */
- public function testGetRequestVarNoDefaultWithTypeWithValue()
- {
- $this->expectException(Exception::class);
- $this->expectDeprecationMessage("The parameter 'test' isn't set in the Request");
- $_GET['test'] = false;
- Common::getRequestVar('test', null, 'string');
- }
-
- /**
- * nodefault Withtype WithValue => exception cos type not matching
- */
- public function testGetRequestVarNoDefaultWithTypeWithValue2()
- {
- $this->expectException(Exception::class);
- Common::getRequestVar('test', null, 'string');
- }
-
- /**
- * Dataprovider for testGetRequestVar
- */
- public function getRequestVarValues()
- {
- return [ // value of request var, default value, var type, expected
- [1413.431413, 2, 'int', 2],
- // withdefault Withtype WithValue => value casted as type
- [null, 'default', null, 'default'],
- // withdefault Notype NoValue => default value
- [null, 'default', 'string', 'default'],
- // withdefault Withtype NoValue =>default value casted as type
- // integer as a default value / types
- ['', 45, 'int', 45],
- [1413.431413, 45, 'int', 45],
- ['', 45, 'integer', 45],
- ['', 45.0, 'float', 45.0],
- ['', 45.25, 'float', 45.25],
- // string as a default value / types
- ['1413.431413', 45, 'int', 45],
- ['1413.431413', 45, 'string', '1413.431413'],
- ['', 45, 'string', '45'],
- ['', 'geaga', 'string', 'geaga'],
- ['', ''}{}}{}{}'', 'string', ''}{}}{}{}''],
- ['', 'http://url?arg1=val1&arg2=val2', 'string', 'http://url?arg1=val1&arg2=val2'],
- [
- 'http://url?arg1=val1&arg2=val2',
- 'http://url?arg1=val1&arg2=val4',
- 'string',
- 'http://url?arg1=val1&arg2=val2',
- ],
- [['test', 1345524, ['gaga']], [], 'array', ['test', 1345524, ['gaga']]],
- // array as a default value / types
- [['test', 1345524, ['gaga']], 45, 'string', '45'],
- [['test', 1345524, ['gaga']], [1], 'array', ['test', 1345524, ['gaga']]],
- [
- ['test', 1345524, "Start of hello\nworld\n\t", ['gaga']],
- [1],
- 'array',
- ['test', 1345524, "Start of hello\nworld\n\t", ['gaga']],
- ],
- [['test', 1345524, ['gaga']], 4, 'int', 4],
- ['', [1], 'array', [1]],
- ['', [], 'array', []],
- // we give a number in a string and request for a number => it should give the string casted as a number
- ['45645646', 1, 'int', 45645646],
- ['45645646', 45, 'integer', 45645646],
- ['45645646', '45454', 'string', '45645646'],
- ['45645646', [], 'array', []],
- ];
- }
-
- /**
- * @dataProvider getRequestVarValues
- * @group Core
- */
- public function testGetRequestVar($varValue, $default, $type, $expected)
- {
- $_GET['test'] = $varValue;
- $return = Common::getRequestVar('test', $default, $type);
- $this->assertEquals($expected, $return);
- // validate correct type
- switch ($type) {
- case 'int':
- case 'integer':
- $this->assertTrue(is_int($return));
- break;
- case 'float':
- $this->assertTrue(is_float($return));
- break;
- case 'string':
- $this->assertTrue(is_string($return));
- break;
- case 'array':
- $this->assertTrue(is_array($return));
- break;
- }
- }
-
- public function testIsValidFilenameValidValues()
- {
- $valid = [
- 'test',
- 'test.txt',
- 'test.......',
- 'en-ZHsimplified',
- '0',
- ];
- foreach ($valid as $toTest) {
- $this->assertTrue(Filesystem::isValidFilename($toTest), $toTest . ' not valid!');
- }
- }
-
- public function testIsValidFilenameNotValidValues()
- {
- $notvalid = [
- '../test',
- '/etc/htpasswd',
- '$var',
- ';test',
- '[bizarre]',
- '',
- false,
- '.htaccess',
- 'very long long eogaioge ageja geau ghaeihieg heiagie aiughaeui hfilename',
- 'WHITE SPACE',
- ];
- foreach ($notvalid as $toTest) {
- self::assertFalse(Filesystem::isValidFilename($toTest), $toTest . " valid but shouldn't!");
- }
- }
-
- public function testSafeUnserialize()
- {
- // should unserialize an allowed class
- $this->assertTrue(Common::safe_unserialize('O:12:"Piwik\Common":0:{}', ['Piwik\Common']) instanceof Common);
-
- // not allowed classed should result in an incomplete class
- $this->assertTrue(Common::safe_unserialize('O:12:"Piwik\Common":0:{}') instanceof __PHP_Incomplete_Class);
-
- // strings not unserializable should return false and trigger a debug log
- $logger = $this->createFakeLogger();
- self::assertFalse(Common::safe_unserialize('{1:somebroken}'));
- self::assertStringContainsString(
- 'Unable to unserialize a string: unserialize(): Error at offset 0 of 14 bytes',
- $logger->output
- );
- }
-
- private function createFakeLogger()
- {
- $logger = new FakeLogger();
-
- $newEnv = new Environment('test', [
- Log\LoggerInterface::class => $logger,
- 'Tests.log.allowAllHandlers' => true,
- ]);
- $newEnv->init();
-
- $newMonologLogger = $newEnv->getContainer()->make(Log\LoggerInterface::class);
- $oldLogger = new Log($newMonologLogger);
- Log::setSingletonInstance($oldLogger);
-
- return $logger;
- }
-
- /**
- * Dataprovider for testGetBrowserLanguage
- */
- public function getBrowserLanguageData()
- {
- return [ // user agent, browser language
- ['en-gb', 'en-gb'],
-
- // filter quality attribute
- ['en-us,en;q=0.5', 'en-us,en'],
-
- // bad user agents
- ['en-us,chrome://global/locale/intl.properties', 'en-us'],
-
- // unregistered language tag
- ['en,en-securid', 'en'],
- ['en-securid,en', 'en'],
- ['en-us,en-securid,en', 'en-us,en'],
-
- // accept private sub tags
- ['en-us,x-en-securid', 'en-us,x-en-securid'],
- ['en-us,en-x-securid', 'en-us,en-x-securid'],
-
- // filter arbitrary white space
- ['en-us, en', 'en-us,en'],
- ['en-ca, en-us ,en', 'en-ca,en-us,en'],
-
- // handle comments
- [' ( comment ) en-us (another comment) ', 'en-us'],
-
- // handle quoted pairs (embedded in comments)
- [' ( \( start ) en-us ( \) end ) ', 'en-us'],
- [' ( \) en-ca, \( ) en-us ( \) ,en ) ', 'en-us'],
- ];
- }
-
- /**
- * @dataProvider getBrowserLanguageData
- * @group Core
- */
- public function testGetBrowserLanguage($useragent, $browserLanguage)
- {
- $res = Common::getBrowserLanguage($useragent);
- $this->assertEquals($browserLanguage, $res);
- }
-
- /**
- * Dataprovider for testExtractCountryCodeFromBrowserLanguage
- */
- public function getCountryCodeTestData()
- {
- /** @var RegionDataProvider $regionDataProvider */
- $regionDataProvider = StaticContainer::get('Piwik\Intl\Data\Provider\RegionDataProvider');
-
- return [ // browser language, valid countries, expected result
- ['', [], 'xx'],
- ['', ['us' => 'amn'], 'xx'],
- ['en', ['us' => 'amn'], 'xx'],
- ['en-us', ['us' => 'amn'], 'us'],
- ['en-ca', ['us' => 'amn'], 'xx'],
- ['en-ca', ['us' => 'amn', 'ca' => 'amn'], 'ca'],
- ['fr-fr,fr-ca', ['us' => 'amn', 'ca' => 'amn'], 'ca'],
- ['fr-fr;q=1.0,fr-ca;q=0.9', ['us' => 'amn', 'ca' => 'amn'], 'ca'],
- ['fr-ca,fr;q=0.1', ['us' => 'amn', 'ca' => 'amn'], 'ca'],
- ['en-us,en;q=0.5', $regionDataProvider->getCountryList(), 'us'],
- ['fr-ca,fr;q=0.1', ['fr' => 'eur', 'us' => 'amn', 'ca' => 'amn'], 'ca'],
- ['fr-fr,fr-ca', ['fr' => 'eur', 'us' => 'amn', 'ca' => 'amn'], 'fr'],
- ];
- }
-
- /**
- * @dataProvider getCountryCodeTestData
- * @group Core
- */
- public function testExtractCountryCodeFromBrowserLanguage($browserLanguage, $validCountries, $expected)
- {
- $this->assertEquals(
- $expected,
- Common::extractCountryCodeFromBrowserLanguage($browserLanguage, $validCountries, true)
- );
- $this->assertEquals(
- $expected,
- Common::extractCountryCodeFromBrowserLanguage($browserLanguage, $validCountries, false)
- );
- }
-
- /**
- * Dataprovider for testExtractCountryCodeFromBrowserLanguageInfer
- */
- public function getCountryCodeTestDataInfer()
- {
- return [ // browser language, valid countries, expected result (non-guess vs guess)
- ['fr,en-us', ['us' => 'amn', 'ca' => 'amn'], 'us', 'fr'],
- ['fr,en-us', ['fr' => 'eur', 'us' => 'amn', 'ca' => 'amn'], 'us', 'fr'],
- ['fr,fr-fr,en-us', ['fr' => 'eur', 'us' => 'amn', 'ca' => 'amn'], 'fr', 'fr'],
- ['fr-fr,fr,en-us', ['fr' => 'eur', 'us' => 'amn', 'ca' => 'amn'], 'fr', 'fr'],
- ];
- }
-
- /**
- * @dataProvider getCountryCodeTestDataInfer
- * @group Core
- */
- public function testExtractCountryCodeFromBrowserLanguageInfer(
- $browserLanguage,
- $validCountries,
- $expected,
- $expectedInfer
- ) {
- // do not infer country from language
- $this->assertEquals(
- $expected,
- Common::extractCountryCodeFromBrowserLanguage(
- $browserLanguage,
- $validCountries,
- $enableLanguageToCountryGuess = false
- )
- );
-
- // infer country from language
- $this->assertEquals(
- $expectedInfer,
- Common::extractCountryCodeFromBrowserLanguage(
- $browserLanguage,
- $validCountries,
- $enableLanguageToCountryGuess = true
- )
- );
- }
-
- /**
- * Dataprovider for testExtractLanguageAndRegionCodeFromBrowserLanguage
- */
- public function getLanguageDataToExtractLanguageRegionCode()
- {
- return [
- // browser language, valid languages (with optional region), expected result
- ['fr-ca', ['fr'], 'fr'],
- ['fr-ca', ['ca'], 'xx'],
- ['', [], 'xx'],
- ['', ['en'], 'xx'],
- ['fr', ['en'], 'xx'],
- ['en', ['en'], 'en'],
- ['en', ['en-ca'], 'xx'],
- ['en-ca', ['en-ca'], 'en-ca'],
- ['en-ca', ['en'], 'en'],
- ['fr,en-us', ['fr', 'en'], 'fr'],
- ['fr,en-us', ['en', 'fr'], 'fr'],
- ['fr-fr,fr-ca', [], 'fr-fr'],
- ['fr-fr,fr-ca', ['fr-ca'], 'fr-ca'],
- ['-ca', ['fr', 'ca'], 'xx'],
- ['fr-fr;q=1.0,fr-ca;q=0.9', ['fr-ca'], 'fr-ca'],
- ['es,en,fr;q=0.7,de;q=0.3', ['fr', 'es', 'de', 'en'], 'es'],
- ['zh-sg,de;q=0.3', ['zh', 'es', 'de'], 'zh'],
- ['fr-ca,fr;q=0.1', ['fr-ca'], 'fr-ca'],
- ['r5,fr;q=1,de', ['fr', 'de'], 'fr'],
- ['Zen§gq1', ['en'], 'xx'],
- ['zh-hans-cn', ['zh-cn'], 'zh-cn'],
- ['zh-hant-tw', ['zh-tw'], 'zh-tw'],
- ['az-cyrl-az', ['az'], 'az'],
- ['shi-tfng-ma', ['shi', 'shi-ma'], 'shi-ma'],
- ];
- }
-
- /**
- * @dataProvider getLanguageDataToExtractLanguageRegionCode
- */
- public function testExtractLanguageAndRegionCodeFromBrowserLanguage($browserLanguage, $validLanguages, $expected)
- {
- $this->assertEquals(
- $expected,
- Common::extractLanguageAndRegionCodeFromBrowserLanguage($browserLanguage, $validLanguages),
- "test with {$browserLanguage} failed, expected {$expected}"
- );
- }
-
-
- /**
- * Dataprovider for testExtractLanguageCodeFromBrowserLanguage
- */
- public function getLanguageDataToExtractLanguageCode()
- {
- return [
- // browser language, valid languages, expected result
- ['fr-ca', ['fr'], 'fr'],
- ['fr-ca', ['ca'], 'xx'],
- ['', ['en'], 'xx'],
- ['fr', ['en'], 'xx'],
- ['en', ['en'], 'en'],
- ['en', ['en-ca'], 'xx'],
- ['en-ca', ['en'], 'en'],
- ['fr,en-us', ['fr', 'en'], 'fr'],
- ['fr,en-us', ['en', 'fr'], 'fr'],
- ['fr-fr,fr-ca', ['fr'], 'fr'],
- ['-ca', ['fr', 'ca'], 'xx'],
- ['es,en,fr;q=0.7,de;q=0.3', ['fr', 'es', 'de', 'en'], 'es'],
- ['zh-sg,de;q=0.3', ['zh', 'es', 'de'], 'zh'],
- ['r5,fr;q=1,de', ['fr', 'de'], 'fr'],
- ['Zen§gq1', ['en'], 'xx'],
- ];
- }
-
- /**
- * @dataProvider getLanguageDataToExtractLanguageCode
- */
- public function testExtractLanguageCodeFromBrowserLanguage($browserLanguage, $validLanguages, $expected)
- {
- $this->assertEquals(
- $expected,
- Common::extractLanguageCodeFromBrowserLanguage($browserLanguage, $validLanguages),
- "test with {$browserLanguage} failed, expected {$expected}"
- );
- }
-
- /**
- * @dataProvider getLanguageChainTestData
- */
- public function testGetLanguageChain($expected, $browserLanguage)
- {
- self::assertEquals(
- $expected,
- Common::extractLanguageAndRegionCodeFromBrowserLanguage(
- Common::getBrowserLanguage($browserLanguage),
- APILanguagesManager::getInstance()->getAvailableLanguages()
- )
- );
- }
-
- public function getLanguageChainTestData(): array
- {
- return [
- ['en', 'en-US,en;q=0.8,de-DE;q=0.6,de;q=0.4'],
- ['de', 'de-DE;q=0.6,de;q=0.4'],
- ['zh-cn', 'zh-CN,zh;q=0.9'],
- ['fr', 'fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3'],
- ['fr', 'fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7'],
- ['de', 'de,en-US;q=0.7,en;q=0.3'],
- ['pt-br', 'pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7,ru;q=0.6'],
- ['hi', 'hi;en-US,en;q=0.8,q=0.6'],
- ['ta', 'ta-IN,ta'],
- ['hi', 'hi-in,hi,en-us,en'],
- ['th', 'th-TH,th;q=0.9,en;q=0.8'],
- ['zh-tw', 'zh-TW,zh;q=0.9,en-US;q=0.8,en;q=0.7'],
- ['fa', 'fa,en-US;q=0.9,en;q=0.8,fa-IR;q=0.7'],
- ['nl', 'nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7'],
- ['it', 'it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7'],
- ];
- }
-
- /**
- * @dataProvider getTableNames
- */
- public function testUnprefixTable($prefix, $tableName)
- {
- $originalValue = Config::getInstance()->database['tables_prefix'];
-
- Config::getInstance()->database['tables_prefix'] = $prefix;
-
- $manipulatedName = Common::unprefixTable(Common::prefixTable($tableName));
-
- Config::getInstance()->database['tables_prefix'] = $originalValue;
-
- self::assertEquals($tableName, $manipulatedName);
- }
-
- public function getTableNames(): array
- {
- return [
- ['matomo_', 'session'],
- ['blob_', 'archive_blob_2014_07'],
- ['14_', 'archive_blob_2014_07'],
- ['ic_', 'archive_numeric_2014_07'],
- ['log_', 'log_link_visit_action'],
- ];
- }
-
- /**
- * @dataProvider getArraysToFlatten
- */
- public function testFlattenArray($requestValue, $expectedValue)
- {
- $this->assertEquals($expectedValue, Common::flattenArray($requestValue));
- }
-
- public function getArraysToFlatten(): iterable
- {
- yield 'Empty array' => [[], []];
- yield 'Array with nulls' => [[null, null, false, true], [null, null, false, true]];
- yield 'Associative array' => [['a' => 'b', 'c' => 'd'], ['b', 'd']];
- yield 'Nested array' => [[[1, 2], [3, 4]], [1, 2, 3, 4]];
- yield 'Deeply nested array' => [[[[1, 2]], [[3, 4]]], [1, 2, 3, 4]];
- yield 'Mix of levels in an array' => [[1, [[2]], [[[3]]], 4], [1, 2, 3, 4]];
- yield 'Mix of numeric and assoc arrays' => [[1, [['a' => 2]], [[['b' => 3]]], 'd' => 4], [1, 2, 3, 4]];
- }
-}
diff --git a/tests/PHPUnit/Unit/Config/ConfigTest.php b/tests/PHPUnit/Unit/Config/ConfigTest.php
deleted file mode 100644
index ec96029bed9f0ff9aa56ba3cb65e7c84430da314..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Config/ConfigTest.php
+++ /dev/null
@@ -1,63 +0,0 @@
-config = new Config($settingsProvider);
- }
-
- /**
- * Returns a boolean variable setting for convenience
- * when calling e.g. getBool('General', 'force_ssl')
- * This also documents that a boolean is only true if
- * it is equal to 1.
- * @see https://github.com/matomo-org/matomo/pull/17865
- * return 1 === $value || '1' === $value || true === $value; // was suggested for future use by @sgiehl
- *
- * @param string $section Configuration section
- * @param string $name variable name
- * @return bool whether it is considered set true (== 1)
- */
- private function getBool(string $section, string $name): bool
- {
- return $this->config->$section[$name] == 1;
- }
-
- /**
- * @dataProvider getTestCases
- */
- public function testGetBool($expected, $setting)
- {
- $this->assertSame($expected, $this->getBool('BoolSettings', $setting));
- }
-
- public function getTestCases(): array
- {
- return [
- [true, 'one'],
- [true, 'onestr'],
- [true, 'truebool'],
- [true, 'isyes'],
- [true, 'ison'],
- [false, 'truestr'],
- [false, 'two'],
- [false, 'twostr'],
- [false, 'invalid'],
- [false, 'oneinstr'],
- [false, 'twoinstr'],
- [false, 'isoff'],
- [false, 'isno'],
- ];
- }
-}
diff --git a/tests/PHPUnit/Unit/Config/IniFileChainCacheTest.php b/tests/PHPUnit/Unit/Config/IniFileChainCacheTest.php
deleted file mode 100644
index 9aac9272258558c99025b304cbef2ddb8a210c2c..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Config/IniFileChainCacheTest.php
+++ /dev/null
@@ -1,170 +0,0 @@
-addHostInfo = $addhostInfo;
- parent::__construct($defaultSettingsFiles, $userSettingsFile);
- }
-
- protected function mergeFileSettings()
- {
- $settings = parent::mergeFileSettings();
-
- if (!empty($this->addHostInfo)) {
- $settings['General'] = ['trusted_hosts' => [$this->addHostInfo]];
- }
-
- return $settings;
- }
-}
-
-/**
- * @group Core
- */
-class IniFileChainCacheTest extends IniFileChainTest
-{
- /**
- * @var Cache
- */
- private $cache;
-
- private $testHost = 'mytest.matomo.org';
-
- public function setUp(): void
- {
- $GLOBALS['ENABLE_CONFIG_PHP_CACHE'] = true;
- $_SERVER['HTTP_HOST'] = $this->testHost;
- $this->cache = new Cache();
- parent::setUp();
- $this->setTrustedHosts();
- }
-
- private function setTrustedHosts()
- {
- Config::setSetting('General', 'trusted_hosts', [$this->testHost, 'foonot.exists']);
- }
-
- public function tearDown(): void
- {
- $this->cache->doDelete(IniFileChain::CONFIG_CACHE_KEY);
- unset($GLOBALS['ENABLE_CONFIG_PHP_CACHE']);
- unset($_SERVER['HTTP_HOST']);
- parent::tearDown();
- }
-
- /**
- * @dataProvider getMergingTestData
- */
- public function testReloadShouldNotPopulateCacheWhenNoTrustedHostIsConfigured($testDescription, $defaultSettingFiles, $userSettingsFile, $expected)
- {
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $this->assertEquals(false, $value);
-
- // reading the chain should populate the cache
- $fileChain = new TestIniFileChain($defaultSettingFiles, $userSettingsFile);
- $this->assertEquals($expected, $fileChain->getAll(), "'$testDescription' failed");
-
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $this->assertEquals(false, $value);
- }
-
- /**
- * @dataProvider getMergingTestData
- */
- public function testReloadShouldNotPopulateCacheWhenTrustedHostIsNotValid($testDescription, $defaultSettingFiles, $userSettingsFile, $expected)
- {
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $this->assertEquals(false, $value);
-
- // reading the chain should populate the cache
- $fileChain = new TestIniFileChain($defaultSettingFiles, $userSettingsFile, 'foo.bar.com');
- $expected['General'] = ['trusted_hosts' => ['foo.bar.com']];
- $this->assertEquals($expected, $fileChain->getAll(), "'$testDescription' failed");
-
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $this->assertEquals(false, $value);
- }
-
- /**
- * @dataProvider getMergingTestData
- */
- public function testReloadShoulPopulateCacheWhenTrustedHostIsValid($testDescription, $defaultSettingFiles, $userSettingsFile, $expected)
- {
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $this->assertEquals(false, $value);
-
- // reading the chain should populate the cache
- $fileChain = new TestIniFileChain($defaultSettingFiles, $userSettingsFile, $this->testHost);
- $expected['General'] = ['trusted_hosts' => [$this->testHost]];
- $this->assertEquals($expected, $fileChain->getAll(), "'$testDescription' failed");
-
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $settingsChain = $value['settingsChain'];
- unset($value['settingsChain']);
- $this->assertEquals(['mergedSettings' => $expected], $value);
-
- foreach ($defaultSettingFiles as $defaultSettingFile) {
- self::assertTrue(array_key_exists($defaultSettingFile, $settingsChain));
- }
-
- $this->assertNotEmpty(array_keys($settingsChain));
- }
-
- /**
- * @dataProvider getMergingTestData
- */
- public function testReloadCanReadFromCache($testDescription, $defaultSettingFiles, $userSettingsFile, $expected)
- {
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $this->assertEquals(false, $value);
-
- $userSettingsFileCopy = dirname($userSettingsFile) . '/copy.' . basename($userSettingsFile);
- copy($userSettingsFile, $userSettingsFileCopy);
-
- // reading the chain should populate the cache
- $fileChain = new TestIniFileChain($defaultSettingFiles, $userSettingsFileCopy, $this->testHost);
- $expected['General'] = ['trusted_hosts' => [$this->testHost]];
- $this->assertEquals($expected, $fileChain->getAll(), "'$testDescription' failed");
-
- // ensure it can be read only from cache
- $testChain = new TestIniFileChain(['foo'], $userSettingsFileCopy);
- $this->assertEquals($expected, $testChain->getAll(), "'$testDescription' failed");
- unlink($userSettingsFileCopy);
- }
-
- /**
- * @dataProvider getMergingTestData
- */
- public function testPopulateCacheDeleteCache($testDescription, $defaultSettingFiles, $userSettingsFile, $expected)
- {
- $this->testReloadShoulPopulateCacheWhenTrustedHostIsValid($testDescription, $defaultSettingFiles, $userSettingsFile, $expected);
-
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $this->assertNotEmpty($value);
-
- // dumping the cache should delete it
-
- $fileChain = new TestIniFileChain($defaultSettingFiles, $userSettingsFile);
- $fileChain->deleteConfigCache();
-
- $value = $this->cache->doFetch(IniFileChain::CONFIG_CACHE_KEY);
- $this->assertEquals(false, $value);
- }
-}
diff --git a/tests/PHPUnit/Unit/Config/IniFileChainTest.php b/tests/PHPUnit/Unit/Config/IniFileChainTest.php
deleted file mode 100644
index 495d383f36d4a589a66cb6c0de59ef73ba776668..0000000000000000000000000000000000000000
--- a/tests/PHPUnit/Unit/Config/IniFileChainTest.php
+++ /dev/null
@@ -1,427 +0,0 @@
- string', array(
- 'b', 'a', 1,
- )),
- array('string < string', array(
- 'a', 'b', -1,
- )),
- array('string vs array', array(
- 'a', array('a'), -1,
- )),
- array('array vs string', array(
- array('a'), 'a', 1,
- )),
- array('array = array', array(
- array('a'), array('a'), 0,
- )),
- array('array > array', array(
- array('b'), array('a'), 1,
- )),
- array('array < array', array(
- array('a'), array('b'), -1,
- )),
- );
- }
-
- /**
- * @dataProvider getCompareElementsData
- */
- public function testCompareElementsCorrectlyComparesElements($description, $test)
- {
- list($a, $b, $expected) = $test;
-
- $result = IniFileChain::compareElements($a, $b);
- $this->assertEquals($expected, $result, $description);
- }
-
- /**
- * Dataprovider for testArrayUnmerge
- * @return array
- */
- public function getArrayUnmergeData()
- {
- return array(
- array('description of test', array(
- array(),
- array(),
- )),
- array('override with empty', array(
- array('login' => 'root', 'password' => 'b33r'),
- array('password' => ''),
- )),
- array('override with non-empty', array(
- array('login' => 'root', 'password' => ''),
- array('password' => 'b33r'),
- )),
- array('add element', array(
- array('login' => 'root', 'password' => ''),
- array('auth' => 'Login'),
- )),
- array('override with empty array', array(
- array('headers' => ''),
- array('headers' => array()),
- )),
- array('override with array', array(
- array('headers' => ''),
- array('headers' => array('Content-Length', 'Content-Type')),
- )),
- array('override an array', array(
- array('headers' => array()),
- array('headers' => array('Content-Length', 'Content-Type')),
- )),
- array('override similar arrays', array(
- array('headers' => array('Content-Length', 'Set-Cookie')),
- array('headers' => array('Content-Length', 'Content-Type')),
- )),
- array('override dyslexic arrays', array(
- array('headers' => array('Content-Type', 'Content-Length')),
- array('headers' => array('Content-Length', 'Content-Type')),
- )),
- );
- }
-
- /**
- * @dataProvider getArrayUnmergeData
- */
- public function testArrayUnmergeReturnsCorrectDiff($description, $test)
- {
- $configWriter = new IniFileChain(array(), null);
-
- list($a, $b) = $test;
-
- $combined = array_merge($a, $b);
-
- $diff = $configWriter->arrayUnmerge($a, $combined);
-
- // expect $b == $diff
- $this->assertEquals(serialize($b), serialize($diff), $description);
- }
-
- /**
- * Dataprovider for testArrayUnmerge Invalid Data
- * @return array
- */
- public function getArrayUnmergeInvalidData()
- {
- return array(
- array('modified invalid string', array(
- array(),
- '',
- array(),
- )),
- array('modified invalid int', array(
- array('login' => 'root', 'password' => 'b33r'),
- 17,
- array(),
-
- )),
- array('original invalid string', array(
- '',
- array(),
- array(),
- )),
- array('original invalid int', array(
- 17,
- array('login' => 'root', 'password' => 'b33r'),
- array('login' => 'root', 'password' => 'b33r'),
- )),
- array('both invalid', array(
- 17,
- '',
- array(),
- )),
- );
- }
-
- /**
- * @dataProvider getArrayUnmergeInvalidData
- */
- public function testArrayUnmergeCanHandleInvalidData($description, $test)
- {
- $configWriter = new IniFileChain(array(), null);
-
- list($a, $b, $c) = $test;
-
- $this->assertEquals($c, $configWriter->arrayUnmerge($a, $b), $description);
- }
-
- public function getMergingTestData()
- {
- return array(
- array('test default settings are merged recursively',
- array( // default settings
- __DIR__ . '/test_files/default_settings_1.ini.php',
- __DIR__ . '/test_files/empty.ini.php',
- __DIR__ . '/test_files/default_settings_2.ini.php',
- ),
- __DIR__ . '/test_files/empty.ini.php', // user settings
- array( // expected
- 'Section1' => array(
- 'var1' => 'overriddenValue1',
- 'var3' => array(
- 'overriddenValue2',
- 'overriddenValue3',
- ),
- ),
- 'Section2' => array(
- 'var4' => 'val$ue5',
- ),
- ),
- ),
-
- array('test user settings completely overwrite default',
- array( // default settings
- __DIR__ . '/test_files/default_settings_1.ini.php',
- ),
- __DIR__ . '/test_files/default_settings_2.ini.php', // user settings
- array( // expected
- 'Section1' => array(
- 'var1' => 'overriddenValue1',
- 'var3' => array(
- 'overriddenValue2',
- 'overriddenValue3',
- ),
- ),
- 'Section2' => array(
- 'var4' => 'val$ue5',
- ),
- ),
- ),
- );
- }
-
- /**
- * @dataProvider getMergingTestData
- */
- public function testConstructMergesFileDataCorrectly($testDescription, $defaultSettingFiles, $userSettingsFile, $expected)
- {
- $fileChain = new IniFileChain($defaultSettingFiles, $userSettingsFile);
- $this->assertEquals($expected, $fileChain->getAll(), "'$testDescription' failed");
- }
-
- /**
- * @dataProvider getMergingTestData
- */
- public function testReloadMergesFileDataCorrectly($testDescription, $defaultSettingsFiles, $userSettingsFile, $expected)
- {
- $fileChain = new IniFileChain();
- $fileChain->reload($defaultSettingsFiles, $userSettingsFile);
- $this->assertEquals($expected, $fileChain->getAll(), "'$testDescription' failed");
- }
-
- public function testGetReturnsReferenceToSettingsSection()
- {
- $fileChain = new IniFileChain(
- array(__DIR__ . '/test_files/default_settings_1.ini.php')
- );
-
- $data =& $fileChain->get('Section1');
-
- $this->assertEquals(array('var1' => 'val"ue2', 'var3' => array('value3', 'value4')), $data);
-
- $data['var1'] = 'changed';
- $data['var3'][] = 'newValue';
-
- $this->assertEquals(array('var1' => 'changed', 'var3' => array('value3', 'value4', 'newValue')), $fileChain->get('Section1'));
- }
-
- public function testGetReturnsReferenceToSettingsSectionEvenIfSettingsIsEmpty()
- {
- $fileChain = new IniFileChain(array(__DIR__ . '/test_files/empty.ini.php'));
-
- $data =& $fileChain->get('Section');
- $this->assertEquals(array(), $data);
-
- $data['var1'] = 'changed';
- $this->assertEquals(array('var1' => 'changed'), $fileChain->get('Section'));
- }
-
- public function testGetAllReturnsReferenceToAllSettings()
- {
- $fileChain = new IniFileChain();
-
- $data =& $fileChain->getAll();
- $data['var'] = 'value';
-
- $this->assertEquals(array('var' => 'value'), $fileChain->getAll());
- }
-
- public function testSetCorrectlySetsSettingValue()
- {
- $fileChain = new IniFileChain();
-
- $fileChain->set('var', 'value');
-
- $this->assertEquals(array('var' => 'value'), $fileChain->getAll());
- }
-
- public function testGetFromCorrectlyGetsSettingsFromFileAndNotCurrentModifiedSettings()
- {
- $defaultSettingsPath = __DIR__ . '/test_files/default_settings_1.ini.php';
-
- $fileChain = new IniFileChain(
- array($defaultSettingsPath),
- __DIR__ . '/test_files/default_settings_2.ini.php'
- );
-
- $this->assertEquals(array('var1' => 'val"ue2', 'var3' => array('value3', 'value4')), $fileChain->getFrom($defaultSettingsPath, 'Section1'));
- }
-
- public function testGetFromCorrectlyReturnsUnencodedValue()
- {
- $userSettingsPath = __DIR__ . '/test_files/special_values.ini.php';
- $fileChain = new IniFileChain(array(), $userSettingsPath);
-
- $this->assertEquals(array(
- 'value1' => 'a"bc', 'value2' => array('