testing.TestCase.Error Extends
A class representing an error thrown by the test

Inheritance

Constructor

goog.testing.TestCase.Error(sourcemessageopt_stack)

Parameters

source : string
The name of the test which threw the error.
message : string
The error message.
opt_stack : string=
A string showing the execution stack.

Instance Methods

Public Protected Private
toString() string
Returns a string representing the error object.
Returns: string  A string representation of the error.
code »

Instance Properties

message :
Reference to the test function.
Code »
source :
The name of the test which threw the error.
Code »
stack :
Scope that the test function should be called in.
Code »

Package testing.TestCase

Package Reference