search

goog.testing.MockRange

Provided By
Extends
All Implemented Interfaces

LooseMock of goog.dom.AbstractRange. Useful because the mock framework cannot simply create a mock out of an abstract class, and cannot create a mock out of classes that implements iterator because it relies on the default behavior of iterating through all of an object's properties.

new MockRange()

Parameters

None.

Instance Methods

Instance Properties

Classes