goog.testing.TestQueue
Classgoog.testing.TestQueue()
Generic queue for writing unit tests
.dequeue(opt_comment)
Gets the next event from the queue. Throws an exception if the queue is empty.
opt_comment
{string
=}
Object
}
.enqueue(event)
Adds a new event onto the queue.
event
{Object
}
.isEmpty()
Returns whether the queue is empty.
boolean
}