Home

Class goog.testing.TestQueue

Generic queue for writing unit tests

Instance Method Summary
dequeue(string= opt_comment) ⇒ ?Object

Gets the next event from the queue. Throws an exception if the queue is empty.

enqueue(?Object event)

Adds a new event onto the queue.

isEmpty() ⇒ boolean

Returns whether the queue is empty.