Class for unit-testing code that uses MessagePorts.
extends goog.events.EventTargetInstance Method Summary | |
close() Closes the port. | |
postMessage(<Any Type> message, ?Array= opt_ports) A mock postMessage funciton. Actually an instance of {@link goog.testing.FunctionMock}. | |
start() Starts the port. |