Namespace jasmine.Clock
Defined in: mock-timeout.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
jasmine.Clock.assertInstalled()
|
<static> |
jasmine.Clock.installMock()
|
<static> |
jasmine.Clock.isInstalled()
|
<static> |
jasmine.Clock.reset()
|
<static> |
jasmine.Clock.runFunctionsWithinRange(oldMillis, nowMillis)
|
<static> |
jasmine.Clock.scheduleFunction(timeoutKey, funcToCall, millis, recurring)
|
<static> |
jasmine.Clock.tick(millis)
|
<static> |
jasmine.Clock.uninstallMock()
|
<static> |
jasmine.Clock.useMock()
|
Method Detail
<static>
jasmine.Clock.assertInstalled()
<static>
jasmine.Clock.installMock()
<static>
jasmine.Clock.isInstalled()
<static>
jasmine.Clock.reset()
<static>
jasmine.Clock.runFunctionsWithinRange(oldMillis, nowMillis)
- Parameters:
- oldMillis
- nowMillis
<static>
jasmine.Clock.scheduleFunction(timeoutKey, funcToCall, millis, recurring)
- Parameters:
- timeoutKey
- funcToCall
- millis
- recurring
<static>
jasmine.Clock.tick(millis)
- Parameters:
- millis
<static>
jasmine.Clock.uninstallMock()
<static>
jasmine.Clock.useMock()