blob: dbe691709ee9573f39feafda34b2b038a205d4b7 [file] [log] [blame]
Tests for the console.time, console.timeLog, and console.timeEnd APIs.
== Running test suite: console.time
-- Running test case: console.time.DefaultLabel
PASS: Should receive a Timing type message.
PASS: Message should contain the 'default' label name somewhere.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'default' label name somewhere.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'default' label name somewhere.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'default' label name somewhere.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'default' label name somewhere.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'default' label name somewhere.
-- Running test case: console.time.UserLabels
PASS: Should receive a Timing type message.
PASS: Message should contain the 'my-label' label name somewhere.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'my-label' label name somewhere.
-- Running test case: console.time.MultipleTimers
PASS: Should receive a Timing type message.
PASS: Message should contain the 'my-label-2' label name somewhere.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'my-label-1' label name somewhere.
-- Running test case: console.time.WarnWhenExisting
PASS: Should receive a Timing type message.
PASS: Should receive a Warning level message
PASS: Message should contain the 'default' label name somewhere.
-- Running test case: console.time.WarnWhenNotExisting
PASS: Should receive a Timing type message.
PASS: Should receive a Warning level message.
PASS: Message should contain the 'default' label name somewhere.
PASS: Should receive a Timing type message.
PASS: Should receive a Warning level message.
PASS: Message should contain the 'default' label name somewhere.
-- Running test case: console.time.TimeLogIncreasing
PASS: Should receive a Timing type message.
PASS: Message should contain the 'my-timelog-label' label name somewhere.
PASS: + Initial timer time seen.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'my-timelog-label' label name somewhere.
PASS: + Timer time should be increasing.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'my-timelog-label' label name somewhere.
PASS: + Timer time should be increasing.
PASS: Should receive a Timing type message.
PASS: Message should contain the 'my-timelog-label' label name somewhere.
PASS: + Timer time should be increasing.
-- Running test case: console.time.TimeLogArguments
PASS: Should receive a Timing type message.
PASS: timeLog should contain no parameters
PASS: Should receive a Timing type message.
PASS: timeLog should contain 1 parameters
PASS: Should receive a Timing type message.
PASS: timeLog should contain 2 parameters
PASS: Should receive a Timing type message.
PASS: timeEnd should contain no parameters