diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-05 15:05:47 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-05 15:05:47 +0400 |
commit | 5a1eab97f54b44f57356b4276b9c9df2a8eef51b (patch) | |
tree | 83864ece2806ccf6e6bb49abf3fd65de92c13ad8 /tests/PHPUnit/System/expected/test_CustomEvents_Events.getName_lastN__API.getProcessedReport_day.xml | |
parent | 19bcd2d262343eae9d553378e4c66ce7e033b4d8 (diff) |
refs #5940 put tests in correct folders, better testsuite names, some tests still fail and I cannot figure out why
Diffstat (limited to 'tests/PHPUnit/System/expected/test_CustomEvents_Events.getName_lastN__API.getProcessedReport_day.xml')
-rw-r--r-- | tests/PHPUnit/System/expected/test_CustomEvents_Events.getName_lastN__API.getProcessedReport_day.xml | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/tests/PHPUnit/System/expected/test_CustomEvents_Events.getName_lastN__API.getProcessedReport_day.xml b/tests/PHPUnit/System/expected/test_CustomEvents_Events.getName_lastN__API.getProcessedReport_day.xml new file mode 100644 index 0000000000..403acff85f --- /dev/null +++ b/tests/PHPUnit/System/expected/test_CustomEvents_Events.getName_lastN__API.getProcessedReport_day.xml @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <website>Piwik test</website> + <prettyDate>3 Jan 10 - 9 Jan 10</prettyDate> + <metadata> + <category>Events</category> + <name>Event Names</name> + <module>Events</module> + <action>getName</action> + <dimension>Event Name</dimension> + <metrics> + <nb_events>Total events</nb_events> + <sum_event_value>Total value</sum_event_value> + <min_event_value>Minimum value</min_event_value> + <max_event_value>Maximum value</max_event_value> + <avg_event_value>Average value</avg_event_value> + <nb_events_with_value>Events with a value</nb_events_with_value> + </metrics> + <metricsDocumentation> + <nb_events>Total number of events</nb_events> + <sum_event_value>The sum of event values</sum_event_value> + <min_event_value>The minimum value for this event</min_event_value> + <max_event_value>The maximum value for this event</max_event_value> + <avg_event_value>The average of all values for this event</avg_event_value> + <nb_events_with_value>Number of events where an Event value was set</nb_events_with_value> + </metricsDocumentation> + <actionToLoadSubTables>getActionFromNameId</actionToLoadSubTables> + <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Events&apiAction=getName&period=range&date=2010-01-03,2010-01-09</imageGraphUrl> + <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Events&apiAction=getName&period=day&date=2010-01-03,2010-01-09</imageGraphEvolutionUrl> + <uniqueId>Events_getName</uniqueId> + </metadata> + <columns> + <label>Event Name</label> + <nb_events>Total events</nb_events> + <sum_event_value>Total value</sum_event_value> + <min_event_value>Minimum value</min_event_value> + <max_event_value>Maximum value</max_event_value> + <avg_event_value>Average value</avg_event_value> + <nb_events_with_value>Events with a value</nb_events_with_value> + </columns> + <reportData> + <result prettyDate="Sunday 3 January 2010"> + <row> + <label>Spirited Away (千と千尋の神隠し)</label> + <nb_events>16</nb_events> + <nb_events_with_value>2</nb_events_with_value> + <sum_event_value>19.32</sum_event_value> + <min_event_value>0</min_event_value> + <max_event_value>9.66</max_event_value> + <avg_event_value>9.66</avg_event_value> + </row> + <row> + <label>La fiancée de l&#039;eau</label> + <nb_events>14</nb_events> + <nb_events_with_value>4</nb_events_with_value> + <sum_event_value>38</sum_event_value> + <min_event_value>0</min_event_value> + <max_event_value>10</max_event_value> + <avg_event_value>9.5</avg_event_value> + </row> + <row> + <label>Event Name not defined</label> + <nb_events>6</nb_events> + <nb_events_with_value>0</nb_events_with_value> + <sum_event_value>0</sum_event_value> + <min_event_value>0</min_event_value> + <max_event_value>0</max_event_value> + <avg_event_value>0</avg_event_value> + </row> + <row> + <label>event name Extremely long Extremely long Extremely long Extremely long Extremely long Extremely long Extremely long Extremely long Extremely long Extremely long ---> SHOULD APPEAR IN TEST OUTPUT NOT TRUNCATED <---</label> + <nb_events>2</nb_events> + <nb_events_with_value>2</nb_events_with_value> + <sum_event_value>19.32</sum_event_value> + <min_event_value>0</min_event_value> + <max_event_value>9.66</max_event_value> + <avg_event_value>9.66</avg_event_value> + </row> + <row> + <label>Ponyo (崖の上のポニョ)</label> + <nb_events>2</nb_events> + <nb_events_with_value>0</nb_events_with_value> + <sum_event_value>0</sum_event_value> + <min_event_value>0</min_event_value> + <max_event_value>0</max_event_value> + <avg_event_value>0</avg_event_value> + </row> + <row> + <label>Princess Mononoke (もののけ姫)</label> + <nb_events>2</nb_events> + <nb_events_with_value>0</nb_events_with_value> + <sum_event_value>0</sum_event_value> + <min_event_value>0</min_event_value> + <max_event_value>0</max_event_value> + <avg_event_value>0</avg_event_value> + </row> + <row> + <label>Search query here</label> + <nb_events>2</nb_events> + <nb_events_with_value>0</nb_events_with_value> + <sum_event_value>0</sum_event_value> + <min_event_value>0</min_event_value> + <max_event_value>0</max_event_value> + <avg_event_value>0</avg_event_value> + </row> + </result> + <result prettyDate="Monday 4 January 2010" /> + <result prettyDate="Tuesday 5 January 2010" /> + <result prettyDate="Wednesday 6 January 2010" /> + <result prettyDate="Thursday 7 January 2010" /> + <result prettyDate="Friday 8 January 2010" /> + <result prettyDate="Saturday 9 January 2010" /> + </reportData> + <reportMetadata> + <result prettyDate="Sunday 3 January 2010"> + <row> + + </row> + <row> + + </row> + <row> + + </row> + <row> + + </row> + <row> + + </row> + <row> + + </row> + <row> + + </row> + </result> + <result prettyDate="Monday 4 January 2010" /> + <result prettyDate="Tuesday 5 January 2010" /> + <result prettyDate="Wednesday 6 January 2010" /> + <result prettyDate="Thursday 7 January 2010" /> + <result prettyDate="Friday 8 January 2010" /> + <result prettyDate="Saturday 9 January 2010" /> + </reportMetadata> + <reportTotal> + <nb_visits>42</nb_visits> + <nb_uniq_visitors>40</nb_uniq_visitors> + </reportTotal> +</result>
\ No newline at end of file |