goog.testing.PerformanceTimer.Task
Classgoog.testing.PerformanceTimer.Task(test)
A task for the performance timer to measure. Callers can specify optional setUp and tearDown methods to control state before and after each run of the test function.
test
{function
()}
.getSetUp()
function
()}
.getTearDown()
function
()}
.getTest()
function
()}
.withSetUp(setUp)
Specifies a set up function to be invoked before each invocation of the test function.
setUp
{function
()}
goog.testing.PerformanceTimer.Task
}
.withTearDown(tearDown)
Specifies a tear down function to be invoked after each invocation of the test function.
tearDown
{function
()}
goog.testing.PerformanceTimer.Task
}