api documentation for sinon (v2.1.0)

JavaScript test spies, stubs and mocks.

table of contents

  1. module sinon
    1. function sinon.CustomEvent ()
    2. function sinon.CustomEvent.prototype.constructor (type, customData, target)
    3. function sinon.Event ()
    4. function sinon.FakeXMLHttpRequest (config)
    5. function sinon.ProgressEvent ()
    6. function sinon.ProgressEvent.prototype.constructor (type, progressEventRaw, target)
    7. function sinon.addBehavior (name, fn)
    8. function sinon.calledInOrder ()
    9. function sinon.configureLogError ()
    10. function sinon.createStubInstance (constructor)
    11. function sinon.deepEqual ()
    12. function sinon.every ()
    13. function sinon.extend ()
    14. function sinon.format ()
    15. function sinon.functionName ()
    16. function sinon.functionToString ()
    17. function sinon.getConfig ()
    18. function sinon.getPropertyDescriptor ()
    19. function sinon.iterableToString ()
    20. function sinon.match (expectation, message)
    21. function sinon.mock (object)
    22. function sinon.orderByFirstCall ()
    23. function sinon.restore ()
    24. function sinon.spy (object, property, types)
    25. function sinon.spyCall {{signature}}
    26. function sinon.stub (object, property, descriptor)
    27. function sinon.timesInWords ()
    28. function sinon.typeOf ()
    29. function sinon.useFakeTimers ()
    30. function sinon.useFakeXMLHttpRequest ()
    31. function sinon.walk ()
    32. function sinon.wrapMethod ()
    33. object sinon
    34. object sinon.CustomEvent.prototype
    35. object sinon.Event.prototype
    36. object sinon.EventTarget
    37. object sinon.FakeXMLHttpRequest.prototype
    38. object sinon.ProgressEvent.prototype
    39. object sinon.assert
    40. object sinon.behavior
    41. object sinon.clock
    42. object sinon.collection
    43. object sinon.color
    44. object sinon.defaultConfig
    45. object sinon.default_behaviors
    46. object sinon.event
    47. object sinon.expectation
    48. object sinon.fakeServer
    49. object sinon.fakeServerWithClock
    50. object sinon.fake_timers
    51. object sinon.fake_xml_http_request
    52. object sinon.match.any
    53. object sinon.match.array
    54. object sinon.match.bool
    55. object sinon.match.date
    56. object sinon.match.defined
    57. object sinon.match.falsy
    58. object sinon.match.func
    59. object sinon.match.map
    60. object sinon.match.number
    61. object sinon.match.object
    62. object sinon.match.regexp
    63. object sinon.match.set
    64. object sinon.match.string
    65. object sinon.match.symbol
    66. object sinon.match.truthy
    67. object sinon.sandbox
    68. object sinon.sinon_2_1_0
    69. object sinon.sinon_no_sourcemaps
    70. object sinon.sinon_no_sourcemaps_2_1_0
    71. object sinon.spy.formatters
    72. object sinon.timers
    73. object sinon.xhr
  2. module sinon.CustomEvent
    1. function sinon.CustomEvent ()
  3. module sinon.CustomEvent.prototype
    1. function sinon.CustomEvent.prototype.constructor (type, customData, target)
  4. module sinon.CustomEvent.prototype.constructor
    1. function sinon.CustomEvent.prototype.constructor ()
  5. module sinon.Event
    1. function sinon.Event ()
  6. module sinon.Event.prototype
    1. function sinon.Event.prototype.initEvent (type, bubbles, cancelable, target)
    2. function sinon.Event.prototype.preventDefault ()
    3. function sinon.Event.prototype.stopPropagation ()
  7. module sinon.EventTarget
    1. function sinon.EventTarget.addEventListener ()
    2. function sinon.EventTarget.dispatchEvent ()
    3. function sinon.EventTarget.removeEventListener ()
  8. module sinon.FakeXMLHttpRequest
    1. boolean sinon.FakeXMLHttpRequest.useFilters
    2. function sinon.FakeXMLHttpRequest (config)
    3. function sinon.FakeXMLHttpRequest.addFilter (fn)
    4. function sinon.FakeXMLHttpRequest.defake (fakeXhr, xhrArgs)
    5. function sinon.FakeXMLHttpRequest.parseXML (text)
    6. number sinon.FakeXMLHttpRequest.DONE
    7. number sinon.FakeXMLHttpRequest.HEADERS_RECEIVED
    8. number sinon.FakeXMLHttpRequest.LOADING
    9. number sinon.FakeXMLHttpRequest.OPENED
    10. number sinon.FakeXMLHttpRequest.UNSENT
    11. object sinon.FakeXMLHttpRequest.filters
    12. object sinon.FakeXMLHttpRequest.statusCodes
  9. module sinon.FakeXMLHttpRequest.prototype
    1. boolean sinon.FakeXMLHttpRequest.prototype.async
    2. function sinon.FakeXMLHttpRequest.prototype.abort ()
    3. function sinon.FakeXMLHttpRequest.prototype.addEventListener (event, listener)
    4. function sinon.FakeXMLHttpRequest.prototype.dispatchEvent (event)
    5. function sinon.FakeXMLHttpRequest.prototype.downloadProgress (progressEventRaw)
    6. function sinon.FakeXMLHttpRequest.prototype.error ()
    7. function sinon.FakeXMLHttpRequest.prototype.getAllResponseHeaders ()
    8. function sinon.FakeXMLHttpRequest.prototype.getResponseHeader (header)
    9. function sinon.FakeXMLHttpRequest.prototype.open (method, url, async, username, password)
    10. function sinon.FakeXMLHttpRequest.prototype.overrideMimeType (type)
    11. function sinon.FakeXMLHttpRequest.prototype.readyStateChange (state)
    12. function sinon.FakeXMLHttpRequest.prototype.removeEventListener (event, listener)
    13. function sinon.FakeXMLHttpRequest.prototype.respond (status, headers, body)
    14. function sinon.FakeXMLHttpRequest.prototype.send (data)
    15. function sinon.FakeXMLHttpRequest.prototype.setRequestHeader (header, value)
    16. function sinon.FakeXMLHttpRequest.prototype.setResponseBody (body)
    17. function sinon.FakeXMLHttpRequest.prototype.setResponseHeaders (headers)
    18. function sinon.FakeXMLHttpRequest.prototype.setStatus (status)
    19. function sinon.FakeXMLHttpRequest.prototype.uploadError (error)
    20. function sinon.FakeXMLHttpRequest.prototype.uploadProgress (progressEventRaw)
    21. number sinon.FakeXMLHttpRequest.prototype.DONE
    22. number sinon.FakeXMLHttpRequest.prototype.HEADERS_RECEIVED
    23. number sinon.FakeXMLHttpRequest.prototype.LOADING
    24. number sinon.FakeXMLHttpRequest.prototype.OPENED
    25. number sinon.FakeXMLHttpRequest.prototype.UNSENT
  10. module sinon.ProgressEvent
    1. function sinon.ProgressEvent ()
  11. module sinon.ProgressEvent.prototype
    1. function sinon.ProgressEvent.prototype.constructor (type, progressEventRaw, target)
  12. module sinon.ProgressEvent.prototype.constructor
    1. function sinon.ProgressEvent.prototype.constructor ()
  13. module sinon.assert
    1. function sinon.assert.alwaysCalledOn (fake)
    2. function sinon.assert.alwaysCalledWith (fake)
    3. function sinon.assert.alwaysCalledWithExactly (fake)
    4. function sinon.assert.alwaysCalledWithMatch (fake)
    5. function sinon.assert.alwaysCalledWithNew (fake)
    6. function sinon.assert.alwaysThrew (fake)
    7. function sinon.assert.callCount (method, count)
    8. function sinon.assert.callOrder ()
    9. function sinon.assert.called (fake)
    10. function sinon.assert.calledOn (fake)
    11. function sinon.assert.calledOnce (fake)
    12. function sinon.assert.calledThrice (fake)
    13. function sinon.assert.calledTwice (fake)
    14. function sinon.assert.calledWith (fake)
    15. function sinon.assert.calledWithExactly (fake)
    16. function sinon.assert.calledWithMatch (fake)
    17. function sinon.assert.calledWithNew (fake)
    18. function sinon.assert.expose (target, options)
    19. function sinon.assert.fail (message)
    20. function sinon.assert.match (actual, expectation)
    21. function sinon.assert.neverCalledWith (fake)
    22. function sinon.assert.neverCalledWithMatch (fake)
    23. function sinon.assert.notCalled (fake)
    24. function sinon.assert.pass ()
    25. function sinon.assert.threw (fake)
    26. string sinon.assert.failException
  14. module sinon.behavior
    1. function sinon.behavior.addBehavior (stub, name, fn)
    2. function sinon.behavior.callThrough ()
    3. function sinon.behavior.callsArg ()
    4. function sinon.behavior.callsArgAsync ()
    5. function sinon.behavior.callsArgOn ()
    6. function sinon.behavior.callsArgOnAsync ()
    7. function sinon.behavior.callsArgOnWith ()
    8. function sinon.behavior.callsArgOnWithAsync ()
    9. function sinon.behavior.callsArgWith ()
    10. function sinon.behavior.callsArgWithAsync ()
    11. function sinon.behavior.callsFake ()
    12. function sinon.behavior.create (stub)
    13. function sinon.behavior.createBehavior (behaviorMethod)
    14. function sinon.behavior.get ()
    15. function sinon.behavior.invoke (context, args)
    16. function sinon.behavior.isPresent ()
    17. function sinon.behavior.onCall (index)
    18. function sinon.behavior.onFirstCall ()
    19. function sinon.behavior.onSecondCall ()
    20. function sinon.behavior.onThirdCall ()
    21. function sinon.behavior.rejects ()
    22. function sinon.behavior.resolves ()
    23. function sinon.behavior.returns ()
    24. function sinon.behavior.returnsArg ()
    25. function sinon.behavior.returnsThis ()
    26. function sinon.behavior.set ()
    27. function sinon.behavior.throws ()
    28. function sinon.behavior.throwsException ()
    29. function sinon.behavior.withArgs ()
    30. function sinon.behavior.yields ()
    31. function sinon.behavior.yieldsAsync ()
    32. function sinon.behavior.yieldsOn ()
    33. function sinon.behavior.yieldsOnAsync ()
    34. function sinon.behavior.yieldsRight ()
    35. function sinon.behavior.yieldsRightAsync ()
    36. function sinon.behavior.yieldsTo ()
    37. function sinon.behavior.yieldsToAsync ()
    38. function sinon.behavior.yieldsToOn ()
    39. function sinon.behavior.yieldsToOnAsync ()
  15. module sinon.clock
    1. function sinon.clock.create (now)
  16. module sinon.collection
    1. function sinon.collection.add (fake)
    2. function sinon.collection.inject (obj)
    3. function sinon.collection.mock ()
    4. function sinon.collection.reset ()
    5. function sinon.collection.resetBehavior ()
    6. function sinon.collection.resetHistory ()
    7. function sinon.collection.restore ()
    8. function sinon.collection.spy ()
    9. function sinon.collection.stub (object, property)
    10. function sinon.collection.verify ()
    11. function sinon.collection.verifyAndRestore ()
  17. module sinon.color
    1. function sinon.color.green (str)
    2. function sinon.color.red (str)
  18. module sinon.default_behaviors
    1. function sinon.default_behaviors.callThrough (fake)
    2. function sinon.default_behaviors.callsArg (fake, pos)
    3. function sinon.default_behaviors.callsArgAsync ()
    4. function sinon.default_behaviors.callsArgOn (fake, pos, context)
    5. function sinon.default_behaviors.callsArgOnAsync ()
    6. function sinon.default_behaviors.callsArgOnWith (fake, pos, context)
    7. function sinon.default_behaviors.callsArgOnWithAsync ()
    8. function sinon.default_behaviors.callsArgWith (fake, pos)
    9. function sinon.default_behaviors.callsArgWithAsync ()
    10. function sinon.default_behaviors.callsFake (fake, fn)
    11. function sinon.default_behaviors.get (fake, getterFunction)
    12. function sinon.default_behaviors.rejects (fake, error, message)
    13. function sinon.default_behaviors.resolves (fake, value)
    14. function sinon.default_behaviors.returns (fake, value)
    15. function sinon.default_behaviors.returnsArg (fake, pos)
    16. function sinon.default_behaviors.returnsThis (fake)
    17. function sinon.default_behaviors.set (fake, setterFunction)
    18. function sinon.default_behaviors.throws (fake, error, message)
    19. function sinon.default_behaviors.throwsException (fake, error, message)
    20. function sinon.default_behaviors.yields (fake)
    21. function sinon.default_behaviors.yieldsAsync ()
    22. function sinon.default_behaviors.yieldsOn (fake, context)
    23. function sinon.default_behaviors.yieldsOnAsync ()
    24. function sinon.default_behaviors.yieldsRight (fake)
    25. function sinon.default_behaviors.yieldsRightAsync ()
    26. function sinon.default_behaviors.yieldsTo (fake, prop)
    27. function sinon.default_behaviors.yieldsToAsync ()
    28. function sinon.default_behaviors.yieldsToOn (fake, prop, context)
    29. function sinon.default_behaviors.yieldsToOnAsync ()
  19. module sinon.event
    1. function sinon.event.CustomEvent (type, customData, target)
    2. function sinon.event.Event (type, bubbles, cancelable, target)
    3. function sinon.event.ProgressEvent (type, progressEventRaw, target)
    4. object sinon.event.EventTarget
  20. module sinon.expectation
    1. function sinon.expectation.allowsCall (thisValue, args)
    2. function sinon.expectation.atLeast (num)
    3. function sinon.expectation.atMost (num)
    4. function sinon.expectation.create (methodName)
    5. function sinon.expectation.exactly (num)
    6. function sinon.expectation.fail (message)
    7. function sinon.expectation.invoke (func, thisValue, args)
    8. function sinon.expectation.met ()
    9. function sinon.expectation.never ()
    10. function sinon.expectation.on (thisValue)
    11. function sinon.expectation.once ()
    12. function sinon.expectation.pass (message)
    13. function sinon.expectation.thrice ()
    14. function sinon.expectation.toString ()
    15. function sinon.expectation.twice ()
    16. function sinon.expectation.verify ()
    17. function sinon.expectation.verifyCallAllowed (thisValue, args)
    18. function sinon.expectation.withArgs ()
    19. function sinon.expectation.withExactArgs ()
    20. number sinon.expectation.maxCalls
    21. number sinon.expectation.minCalls
  21. module sinon.fakeServer
    1. function sinon.fakeServer.addRequest (xhrObj)
    2. function sinon.fakeServer.configure (config)
    3. function sinon.fakeServer.create (config)
    4. function sinon.fakeServer.getHTTPMethod (request)
    5. function sinon.fakeServer.getRequest (index)
    6. function sinon.fakeServer.handleRequest (xhr)
    7. function sinon.fakeServer.log (response, request)
    8. function sinon.fakeServer.logError (label, e)
    9. function sinon.fakeServer.logger ()
    10. function sinon.fakeServer.processRequest (request)
    11. function sinon.fakeServer.reset ()
    12. function sinon.fakeServer.resetBehavior ()
    13. function sinon.fakeServer.resetHistory ()
    14. function sinon.fakeServer.respond ()
    15. function sinon.fakeServer.respondWith (method, url, body)
    16. function sinon.fakeServer.restore ()
  22. module sinon.fakeServerWithClock
    1. function sinon.fakeServerWithClock.addRequest (xhr)
    2. function sinon.fakeServerWithClock.respond ()
    3. function sinon.fakeServerWithClock.restore ()
  23. module sinon.fake_timers
    1. function sinon.fake_timers.useFakeTimers ()
    2. object sinon.fake_timers.clock
    3. object sinon.fake_timers.timers
  24. module sinon.fake_xml_http_request
    1. function sinon.fake_xml_http_request.FakeXMLHttpRequest (config)
    2. function sinon.fake_xml_http_request.useFakeXMLHttpRequest ()
    3. object sinon.fake_xml_http_request.xhr
  25. module sinon.match
    1. function sinon.match (expectation, message)
    2. function sinon.match.has (property, value)
    3. function sinon.match.hasOwn (property, value)
    4. function sinon.match.instanceOf (type)
    5. function sinon.match.isMatcher (object)
    6. function sinon.match.same (expectation)
    7. function sinon.match.typeOf (type)
    8. object sinon.match.any
    9. object sinon.match.array
    10. object sinon.match.bool
    11. object sinon.match.date
    12. object sinon.match.defined
    13. object sinon.match.falsy
    14. object sinon.match.func
    15. object sinon.match.map
    16. object sinon.match.number
    17. object sinon.match.object
    18. object sinon.match.regexp
    19. object sinon.match.set
    20. object sinon.match.string
    21. object sinon.match.symbol
    22. object sinon.match.truthy
  26. module sinon.match.any
    1. function sinon.match.any.test ()
    2. string sinon.match.any.message
  27. module sinon.match.array
    1. function sinon.match.array.contains (expectation)
    2. function sinon.match.array.deepEquals (expectation)
    3. function sinon.match.array.endsWith (expectation)
    4. function sinon.match.array.startsWith (expectation)
    5. function sinon.match.array.test (actual)
    6. string sinon.match.array.message
  28. module sinon.match.bool
    1. function sinon.match.bool.test (actual)
    2. string sinon.match.bool.message
  29. module sinon.match.date
    1. function sinon.match.date.test (actual)
    2. string sinon.match.date.message
  30. module sinon.match.defined
    1. function sinon.match.defined.test (actual)
    2. string sinon.match.defined.message
  31. module sinon.match.falsy
    1. function sinon.match.falsy.test (actual)
    2. string sinon.match.falsy.message
  32. module sinon.match.func
    1. function sinon.match.func.test (actual)
    2. string sinon.match.func.message
  33. module sinon.match.map
    1. function sinon.match.map.contains (expectation)
    2. function sinon.match.map.deepEquals (expectation)
    3. function sinon.match.map.test (actual)
    4. string sinon.match.map.message
  34. module sinon.match.number
    1. function sinon.match.number.test (actual)
    2. string sinon.match.number.message
  35. module sinon.match.object
    1. function sinon.match.object.test (actual)
    2. string sinon.match.object.message
  36. module sinon.match.regexp
    1. function sinon.match.regexp.test (actual)
    2. string sinon.match.regexp.message
  37. module sinon.match.set
    1. function sinon.match.set.contains (expectation)
    2. function sinon.match.set.deepEquals (expectation)
    3. function sinon.match.set.test (actual)
    4. string sinon.match.set.message
  38. module sinon.match.string
    1. function sinon.match.string.test (actual)
    2. string sinon.match.string.message
  39. module sinon.match.symbol
    1. function sinon.match.symbol.test (actual)
    2. string sinon.match.symbol.message
  40. module sinon.match.truthy
    1. function sinon.match.truthy.test (actual)
    2. string sinon.match.truthy.message
  41. module sinon.mock
    1. function sinon.mock (object)
    2. function sinon.mock.create (object)
    3. function sinon.mock.expects (method)
    4. function sinon.mock.invokeMethod (method, thisValue, args)
    5. function sinon.mock.restore ()
    6. function sinon.mock.verify ()
  42. module sinon.sandbox
    1. function sinon.sandbox.create (config)
    2. function sinon.sandbox.inject (obj)
    3. function sinon.sandbox.match (expectation, message)
    4. function sinon.sandbox.restore ()
    5. function sinon.sandbox.restoreContext ()
    6. function sinon.sandbox.useFakeServer ()
    7. function sinon.sandbox.useFakeTimers ()
    8. function sinon.sandbox.useFakeXMLHttpRequest ()
    9. object sinon.sandbox.assert
    10. object sinon.sandbox.serverPrototype
  43. module sinon.sinon
    1. function sinon.sinon.CustomEvent ()
    2. function sinon.sinon.Event ()
    3. function sinon.sinon.FakeXMLHttpRequest (config)
    4. function sinon.sinon.ProgressEvent ()
    5. function sinon.sinon.addBehavior (name, fn)
    6. function sinon.sinon.calledInOrder ()
    7. function sinon.sinon.configureLogError ()
    8. function sinon.sinon.createStubInstance (constructor)
    9. function sinon.sinon.deepEqual ()
    10. function sinon.sinon.every ()
    11. function sinon.sinon.extend ()
    12. function sinon.sinon.format ()
    13. function sinon.sinon.functionName ()
    14. function sinon.sinon.functionToString ()
    15. function sinon.sinon.getConfig ()
    16. function sinon.sinon.getPropertyDescriptor ()
    17. function sinon.sinon.iterableToString ()
    18. function sinon.sinon.match (expectation, message)
    19. function sinon.sinon.mock (object)
    20. function sinon.sinon.orderByFirstCall ()
    21. function sinon.sinon.restore ()
    22. function sinon.sinon.spy (object, property, types)
    23. function sinon.sinon.spyCall {{signature}}
    24. function sinon.sinon.stub (object, property, descriptor)
    25. function sinon.sinon.timesInWords ()
    26. function sinon.sinon.typeOf ()
    27. function sinon.sinon.useFakeTimers ()
    28. function sinon.sinon.useFakeXMLHttpRequest ()
    29. function sinon.sinon.walk ()
    30. function sinon.sinon.wrapMethod ()
    31. object sinon.sinon.EventTarget
    32. object sinon.sinon.assert
    33. object sinon.sinon.clock
    34. object sinon.sinon.collection
    35. object sinon.sinon.defaultConfig
    36. object sinon.sinon.expectation
    37. object sinon.sinon.fakeServer
    38. object sinon.sinon.fakeServerWithClock
    39. object sinon.sinon.sandbox
    40. object sinon.sinon.timers
    41. object sinon.sinon.xhr
  44. module sinon.sinon_2_1_0
    1. function sinon.sinon_2_1_0.CustomEvent ()
    2. function sinon.sinon_2_1_0.Event ()
    3. function sinon.sinon_2_1_0.FakeXMLHttpRequest (config)
    4. function sinon.sinon_2_1_0.ProgressEvent ()
    5. function sinon.sinon_2_1_0.addBehavior (name, fn)
    6. function sinon.sinon_2_1_0.calledInOrder ()
    7. function sinon.sinon_2_1_0.configureLogError ()
    8. function sinon.sinon_2_1_0.createStubInstance (constructor)
    9. function sinon.sinon_2_1_0.deepEqual ()
    10. function sinon.sinon_2_1_0.every ()
    11. function sinon.sinon_2_1_0.extend ()
    12. function sinon.sinon_2_1_0.format ()
    13. function sinon.sinon_2_1_0.functionName ()
    14. function sinon.sinon_2_1_0.functionToString ()
    15. function sinon.sinon_2_1_0.getConfig ()
    16. function sinon.sinon_2_1_0.getPropertyDescriptor ()
    17. function sinon.sinon_2_1_0.iterableToString ()
    18. function sinon.sinon_2_1_0.match (expectation, message)
    19. function sinon.sinon_2_1_0.mock (object)
    20. function sinon.sinon_2_1_0.orderByFirstCall ()
    21. function sinon.sinon_2_1_0.restore ()
    22. function sinon.sinon_2_1_0.spy (object, property, types)
    23. function sinon.sinon_2_1_0.spyCall {{signature}}
    24. function sinon.sinon_2_1_0.stub (object, property, descriptor)
    25. function sinon.sinon_2_1_0.timesInWords ()
    26. function sinon.sinon_2_1_0.typeOf ()
    27. function sinon.sinon_2_1_0.useFakeTimers ()
    28. function sinon.sinon_2_1_0.useFakeXMLHttpRequest ()
    29. function sinon.sinon_2_1_0.walk ()
    30. function sinon.sinon_2_1_0.wrapMethod ()
    31. object sinon.sinon_2_1_0.EventTarget
    32. object sinon.sinon_2_1_0.assert
    33. object sinon.sinon_2_1_0.clock
    34. object sinon.sinon_2_1_0.collection
    35. object sinon.sinon_2_1_0.defaultConfig
    36. object sinon.sinon_2_1_0.expectation
    37. object sinon.sinon_2_1_0.fakeServer
    38. object sinon.sinon_2_1_0.fakeServerWithClock
    39. object sinon.sinon_2_1_0.sandbox
    40. object sinon.sinon_2_1_0.timers
    41. object sinon.sinon_2_1_0.xhr
  45. module sinon.sinon_no_sourcemaps
    1. function sinon.sinon_no_sourcemaps.CustomEvent ()
    2. function sinon.sinon_no_sourcemaps.Event ()
    3. function sinon.sinon_no_sourcemaps.FakeXMLHttpRequest (config)
    4. function sinon.sinon_no_sourcemaps.ProgressEvent ()
    5. function sinon.sinon_no_sourcemaps.addBehavior (name, fn)
    6. function sinon.sinon_no_sourcemaps.calledInOrder ()
    7. function sinon.sinon_no_sourcemaps.configureLogError ()
    8. function sinon.sinon_no_sourcemaps.createStubInstance (constructor)
    9. function sinon.sinon_no_sourcemaps.deepEqual ()
    10. function sinon.sinon_no_sourcemaps.every ()
    11. function sinon.sinon_no_sourcemaps.extend ()
    12. function sinon.sinon_no_sourcemaps.format ()
    13. function sinon.sinon_no_sourcemaps.functionName ()
    14. function sinon.sinon_no_sourcemaps.functionToString ()
    15. function sinon.sinon_no_sourcemaps.getConfig ()
    16. function sinon.sinon_no_sourcemaps.getPropertyDescriptor ()
    17. function sinon.sinon_no_sourcemaps.iterableToString ()
    18. function sinon.sinon_no_sourcemaps.match (expectation, message)
    19. function sinon.sinon_no_sourcemaps.mock (object)
    20. function sinon.sinon_no_sourcemaps.orderByFirstCall ()
    21. function sinon.sinon_no_sourcemaps.restore ()
    22. function sinon.sinon_no_sourcemaps.spy (object, property, types)
    23. function sinon.sinon_no_sourcemaps.spyCall {{signature}}
    24. function sinon.sinon_no_sourcemaps.stub (object, property, descriptor)
    25. function sinon.sinon_no_sourcemaps.timesInWords ()
    26. function sinon.sinon_no_sourcemaps.typeOf ()
    27. function sinon.sinon_no_sourcemaps.useFakeTimers ()
    28. function sinon.sinon_no_sourcemaps.useFakeXMLHttpRequest ()
    29. function sinon.sinon_no_sourcemaps.walk ()
    30. function sinon.sinon_no_sourcemaps.wrapMethod ()
    31. object sinon.sinon_no_sourcemaps.EventTarget
    32. object sinon.sinon_no_sourcemaps.assert
    33. object sinon.sinon_no_sourcemaps.clock
    34. object sinon.sinon_no_sourcemaps.collection
    35. object sinon.sinon_no_sourcemaps.defaultConfig
    36. object sinon.sinon_no_sourcemaps.expectation
    37. object sinon.sinon_no_sourcemaps.fakeServer
    38. object sinon.sinon_no_sourcemaps.fakeServerWithClock
    39. object sinon.sinon_no_sourcemaps.sandbox
    40. object sinon.sinon_no_sourcemaps.timers
    41. object sinon.sinon_no_sourcemaps.xhr
  46. module sinon.sinon_no_sourcemaps_2_1_0
    1. function sinon.sinon_no_sourcemaps_2_1_0.CustomEvent ()
    2. function sinon.sinon_no_sourcemaps_2_1_0.Event ()
    3. function sinon.sinon_no_sourcemaps_2_1_0.FakeXMLHttpRequest (config)
    4. function sinon.sinon_no_sourcemaps_2_1_0.ProgressEvent ()
    5. function sinon.sinon_no_sourcemaps_2_1_0.addBehavior (name, fn)
    6. function sinon.sinon_no_sourcemaps_2_1_0.calledInOrder ()
    7. function sinon.sinon_no_sourcemaps_2_1_0.configureLogError ()
    8. function sinon.sinon_no_sourcemaps_2_1_0.createStubInstance (constructor)
    9. function sinon.sinon_no_sourcemaps_2_1_0.deepEqual ()
    10. function sinon.sinon_no_sourcemaps_2_1_0.every ()
    11. function sinon.sinon_no_sourcemaps_2_1_0.extend ()
    12. function sinon.sinon_no_sourcemaps_2_1_0.format ()
    13. function sinon.sinon_no_sourcemaps_2_1_0.functionName ()
    14. function sinon.sinon_no_sourcemaps_2_1_0.functionToString ()
    15. function sinon.sinon_no_sourcemaps_2_1_0.getConfig ()
    16. function sinon.sinon_no_sourcemaps_2_1_0.getPropertyDescriptor ()
    17. function sinon.sinon_no_sourcemaps_2_1_0.iterableToString ()
    18. function sinon.sinon_no_sourcemaps_2_1_0.match (expectation, message)
    19. function sinon.sinon_no_sourcemaps_2_1_0.mock (object)
    20. function sinon.sinon_no_sourcemaps_2_1_0.orderByFirstCall ()
    21. function sinon.sinon_no_sourcemaps_2_1_0.restore ()
    22. function sinon.sinon_no_sourcemaps_2_1_0.spy (object, property, types)
    23. function sinon.sinon_no_sourcemaps_2_1_0.spyCall {{signature}}
    24. function sinon.sinon_no_sourcemaps_2_1_0.stub (object, property, descriptor)
    25. function sinon.sinon_no_sourcemaps_2_1_0.timesInWords ()
    26. function sinon.sinon_no_sourcemaps_2_1_0.typeOf ()
    27. function sinon.sinon_no_sourcemaps_2_1_0.useFakeTimers ()
    28. function sinon.sinon_no_sourcemaps_2_1_0.useFakeXMLHttpRequest ()
    29. function sinon.sinon_no_sourcemaps_2_1_0.walk ()
    30. function sinon.sinon_no_sourcemaps_2_1_0.wrapMethod ()
    31. object sinon.sinon_no_sourcemaps_2_1_0.EventTarget
    32. object sinon.sinon_no_sourcemaps_2_1_0.assert
    33. object sinon.sinon_no_sourcemaps_2_1_0.clock
    34. object sinon.sinon_no_sourcemaps_2_1_0.collection
    35. object sinon.sinon_no_sourcemaps_2_1_0.defaultConfig
    36. object sinon.sinon_no_sourcemaps_2_1_0.expectation
    37. object sinon.sinon_no_sourcemaps_2_1_0.fakeServer
    38. object sinon.sinon_no_sourcemaps_2_1_0.fakeServerWithClock
    39. object sinon.sinon_no_sourcemaps_2_1_0.sandbox
    40. object sinon.sinon_no_sourcemaps_2_1_0.timers
    41. object sinon.sinon_no_sourcemaps_2_1_0.xhr
  47. module sinon.spy
    1. function sinon.spy (object, property, types)
    2. function sinon.spy.alwaysCalledOn ()
    3. function sinon.spy.alwaysCalledWith ()
    4. function sinon.spy.alwaysCalledWithExactly ()
    5. function sinon.spy.alwaysCalledWithMatch ()
    6. function sinon.spy.alwaysCalledWithNew ()
    7. function sinon.spy.alwaysReturned ()
    8. function sinon.spy.alwaysThrew ()
    9. function sinon.spy.callArg ()
    10. function sinon.spy.callArgOn ()
    11. function sinon.spy.callArgOnWith ()
    12. function sinon.spy.callArgWith ()
    13. function sinon.spy.calledAfter (spyFn)
    14. function sinon.spy.calledBefore (spyFn)
    15. function sinon.spy.calledImmediatelyAfter (spyFn)
    16. function sinon.spy.calledImmediatelyBefore (spyFn)
    17. function sinon.spy.calledOn ()
    18. function sinon.spy.calledWith ()
    19. function sinon.spy.calledWithExactly ()
    20. function sinon.spy.calledWithMatch ()
    21. function sinon.spy.calledWithNew ()
    22. function sinon.spy.create (func, spyLength)
    23. function sinon.spy.getCall (i)
    24. function sinon.spy.getCalls ()
    25. function sinon.spy.invoke (func, thisValue, args)
    26. function sinon.spy.invokeCallback ()
    27. function sinon.spy.matches (args, strict)
    28. function sinon.spy.named (name)
    29. function sinon.spy.neverCalledWith ()
    30. function sinon.spy.neverCalledWithMatch ()
    31. function sinon.spy.printf (format)
    32. function sinon.spy.reset ()
    33. function sinon.spy.returned ()
    34. function sinon.spy.spyCall {{signature}}
    35. function sinon.spy.threw ()
    36. function sinon.spy.withArgs ()
    37. function sinon.spy.yield ()
    38. function sinon.spy.yieldOn ()
    39. function sinon.spy.yieldTo ()
    40. function sinon.spy.yieldToOn ()
    41. object sinon.spy.formatters
  48. module sinon.spy.formatters
    1. function sinon.spy.formatters.C (spyInstance)
    2. function sinon.spy.formatters.D (spyInstance, args)
    3. function sinon.spy.formatters.c (spyInstance)
    4. function sinon.spy.formatters.n (spyInstance)
    5. function sinon.spy.formatters.t (spyInstance)
  49. module sinon.spyCall
    1. function sinon.spyCall {{signature}}
    2. function sinon.spyCall.toString ()
  50. module sinon.stub
    1. function sinon.stub (object, property, descriptor)
    2. function sinon.stub.addBehavior ()
    3. function sinon.stub.callThrough ()
    4. function sinon.stub.callsArg ()
    5. function sinon.stub.callsArgAsync ()
    6. function sinon.stub.callsArgOn ()
    7. function sinon.stub.callsArgOnAsync ()
    8. function sinon.stub.callsArgOnWith ()
    9. function sinon.stub.callsArgOnWithAsync ()
    10. function sinon.stub.callsArgWith ()
    11. function sinon.stub.callsArgWithAsync ()
    12. function sinon.stub.callsFake ()
    13. function sinon.stub.create (stubLength)
    14. function sinon.stub.createBehavior ()
    15. function sinon.stub.createStubInstance (constructor)
    16. function sinon.stub.get ()
    17. function sinon.stub.isPresent ()
    18. function sinon.stub.onCall (index)
    19. function sinon.stub.onFirstCall ()
    20. function sinon.stub.onSecondCall ()
    21. function sinon.stub.onThirdCall ()
    22. function sinon.stub.rejects ()
    23. function sinon.stub.reset ()
    24. function sinon.stub.resetBehavior ()
    25. function sinon.stub.resetHistory ()
    26. function sinon.stub.resolves ()
    27. function sinon.stub.returns ()
    28. function sinon.stub.returnsArg ()
    29. function sinon.stub.returnsThis ()
    30. function sinon.stub.set ()
    31. function sinon.stub.throws ()
    32. function sinon.stub.throwsException ()
    33. function sinon.stub.yields ()
    34. function sinon.stub.yieldsAsync ()
    35. function sinon.stub.yieldsOn ()
    36. function sinon.stub.yieldsOnAsync ()
    37. function sinon.stub.yieldsRight ()
    38. function sinon.stub.yieldsRightAsync ()
    39. function sinon.stub.yieldsTo ()
    40. function sinon.stub.yieldsToAsync ()
    41. function sinon.stub.yieldsToOn ()
    42. function sinon.stub.yieldsToOnAsync ()
  51. module sinon.timers
    1. function sinon.timers.Date ()
    2. function sinon.timers.clearImmediate (immediate)
    3. function sinon.timers.clearInterval (timer)
    4. function sinon.timers.clearTimeout (timer)
    5. function sinon.timers.setImmediate ()
    6. function sinon.timers.setInterval ()
    7. function sinon.timers.setTimeout ()

module sinon

function sinon.CustomEvent ()

function sinon.CustomEvent.prototype.constructor (type, customData, target)

function sinon.Event ()

function sinon.FakeXMLHttpRequest (config)

function sinon.ProgressEvent ()

function sinon.ProgressEvent.prototype.constructor (type, progressEventRaw, target)

function sinon.addBehavior (name, fn)

function sinon.calledInOrder ()

function sinon.configureLogError ()

function sinon.createStubInstance (constructor)

function sinon.deepEqual ()

function sinon.every ()

function sinon.extend ()

function sinon.format ()

function sinon.functionName ()

function sinon.functionToString ()

function sinon.getConfig ()

function sinon.getPropertyDescriptor ()

function sinon.iterableToString ()

function sinon.match (expectation, message)

function sinon.mock (object)

function sinon.orderByFirstCall ()

function sinon.restore ()

function sinon.spy (object, property, types)

function sinon.spyCall {{signature}}

function sinon.stub (object, property, descriptor)

function sinon.timesInWords ()

function sinon.typeOf ()

function sinon.useFakeTimers ()

function sinon.useFakeXMLHttpRequest ()

function sinon.walk ()

function sinon.wrapMethod ()

module sinon.CustomEvent

function sinon.CustomEvent ()

module sinon.CustomEvent.prototype

function sinon.CustomEvent.prototype.constructor (type, customData, target)

module sinon.CustomEvent.prototype.constructor

function sinon.CustomEvent.prototype.constructor ()

module sinon.Event

function sinon.Event ()

module sinon.Event.prototype

function sinon.Event.prototype.initEvent (type, bubbles, cancelable, target)

function sinon.Event.prototype.preventDefault ()

function sinon.Event.prototype.stopPropagation ()

module sinon.EventTarget

function sinon.EventTarget.addEventListener ()

function sinon.EventTarget.dispatchEvent ()

function sinon.EventTarget.removeEventListener ()

module sinon.FakeXMLHttpRequest

function sinon.FakeXMLHttpRequest (config)

function sinon.FakeXMLHttpRequest.addFilter (fn)

function sinon.FakeXMLHttpRequest.defake (fakeXhr, xhrArgs)

function sinon.FakeXMLHttpRequest.parseXML (text)

module sinon.FakeXMLHttpRequest.prototype

function sinon.FakeXMLHttpRequest.prototype.abort ()

function sinon.FakeXMLHttpRequest.prototype.addEventListener (event, listener)

function sinon.FakeXMLHttpRequest.prototype.dispatchEvent (event)

function sinon.FakeXMLHttpRequest.prototype.downloadProgress (progressEventRaw)

function sinon.FakeXMLHttpRequest.prototype.error ()

function sinon.FakeXMLHttpRequest.prototype.getAllResponseHeaders ()

function sinon.FakeXMLHttpRequest.prototype.getResponseHeader (header)

function sinon.FakeXMLHttpRequest.prototype.open (method, url, async, username, password)

function sinon.FakeXMLHttpRequest.prototype.overrideMimeType (type)

function sinon.FakeXMLHttpRequest.prototype.readyStateChange (state)

function sinon.FakeXMLHttpRequest.prototype.removeEventListener (event, listener)

function sinon.FakeXMLHttpRequest.prototype.respond (status, headers, body)

function sinon.FakeXMLHttpRequest.prototype.send (data)

function sinon.FakeXMLHttpRequest.prototype.setRequestHeader (header, value)

function sinon.FakeXMLHttpRequest.prototype.setResponseBody (body)

function sinon.FakeXMLHttpRequest.prototype.setResponseHeaders (headers)

function sinon.FakeXMLHttpRequest.prototype.setStatus (status)

function sinon.FakeXMLHttpRequest.prototype.uploadError (error)

function sinon.FakeXMLHttpRequest.prototype.uploadProgress (progressEventRaw)

module sinon.ProgressEvent

function sinon.ProgressEvent ()

module sinon.ProgressEvent.prototype

function sinon.ProgressEvent.prototype.constructor (type, progressEventRaw, target)

module sinon.ProgressEvent.prototype.constructor

function sinon.ProgressEvent.prototype.constructor ()

module sinon.assert

function sinon.assert.alwaysCalledOn (fake)

function sinon.assert.alwaysCalledWith (fake)

function sinon.assert.alwaysCalledWithExactly (fake)

function sinon.assert.alwaysCalledWithMatch (fake)

function sinon.assert.alwaysCalledWithNew (fake)

function sinon.assert.alwaysThrew (fake)

function sinon.assert.callCount (method, count)

function sinon.assert.callOrder ()

function sinon.assert.called (fake)

function sinon.assert.calledOn (fake)

function sinon.assert.calledOnce (fake)

function sinon.assert.calledThrice (fake)

function sinon.assert.calledTwice (fake)

function sinon.assert.calledWith (fake)

function sinon.assert.calledWithExactly (fake)

function sinon.assert.calledWithMatch (fake)

function sinon.assert.calledWithNew (fake)

function sinon.assert.expose (target, options)

function sinon.assert.fail (message)

function sinon.assert.match (actual, expectation)

function sinon.assert.neverCalledWith (fake)

function sinon.assert.neverCalledWithMatch (fake)

function sinon.assert.notCalled (fake)

function sinon.assert.pass ()

function sinon.assert.threw (fake)

module sinon.behavior

function sinon.behavior.addBehavior (stub, name, fn)

function sinon.behavior.callThrough ()

function sinon.behavior.callsArg ()

function sinon.behavior.callsArgAsync ()

function sinon.behavior.callsArgOn ()

function sinon.behavior.callsArgOnAsync ()

function sinon.behavior.callsArgOnWith ()

function sinon.behavior.callsArgOnWithAsync ()

function sinon.behavior.callsArgWith ()

function sinon.behavior.callsArgWithAsync ()

function sinon.behavior.callsFake ()

function sinon.behavior.create (stub)

function sinon.behavior.createBehavior (behaviorMethod)

function sinon.behavior.get ()

function sinon.behavior.invoke (context, args)

function sinon.behavior.isPresent ()

function sinon.behavior.onCall (index)

function sinon.behavior.onFirstCall ()

function sinon.behavior.onSecondCall ()

function sinon.behavior.onThirdCall ()

function sinon.behavior.rejects ()

function sinon.behavior.resolves ()

function sinon.behavior.returns ()

function sinon.behavior.returnsArg ()

function sinon.behavior.returnsThis ()

function sinon.behavior.set ()

function sinon.behavior.throws ()

function sinon.behavior.throwsException ()

function sinon.behavior.withArgs ()

function sinon.behavior.yields ()

function sinon.behavior.yieldsAsync ()

function sinon.behavior.yieldsOn ()

function sinon.behavior.yieldsOnAsync ()

function sinon.behavior.yieldsRight ()

function sinon.behavior.yieldsRightAsync ()

function sinon.behavior.yieldsTo ()

function sinon.behavior.yieldsToAsync ()

function sinon.behavior.yieldsToOn ()

function sinon.behavior.yieldsToOnAsync ()

module sinon.clock

function sinon.clock.create (now)

module sinon.collection

function sinon.collection.add (fake)

function sinon.collection.inject (obj)

function sinon.collection.mock ()

function sinon.collection.reset ()

function sinon.collection.resetBehavior ()

function sinon.collection.resetHistory ()

function sinon.collection.restore ()

function sinon.collection.spy ()

function sinon.collection.stub (object, property)

function sinon.collection.verify ()

function sinon.collection.verifyAndRestore ()

module sinon.color

function sinon.color.green (str)

function sinon.color.red (str)

module sinon.default_behaviors

function sinon.default_behaviors.callThrough (fake)

function sinon.default_behaviors.callsArg (fake, pos)

function sinon.default_behaviors.callsArgAsync ()

function sinon.default_behaviors.callsArgOn (fake, pos, context)

function sinon.default_behaviors.callsArgOnAsync ()

function sinon.default_behaviors.callsArgOnWith (fake, pos, context)

function sinon.default_behaviors.callsArgOnWithAsync ()

function sinon.default_behaviors.callsArgWith (fake, pos)

function sinon.default_behaviors.callsArgWithAsync ()

function sinon.default_behaviors.callsFake (fake, fn)

function sinon.default_behaviors.get (fake, getterFunction)

function sinon.default_behaviors.rejects (fake, error, message)

function sinon.default_behaviors.resolves (fake, value)

function sinon.default_behaviors.returns (fake, value)

function sinon.default_behaviors.returnsArg (fake, pos)

function sinon.default_behaviors.returnsThis (fake)

function sinon.default_behaviors.set (fake, setterFunction)

function sinon.default_behaviors.throws (fake, error, message)

function sinon.default_behaviors.throwsException (fake, error, message)

function sinon.default_behaviors.yields (fake)

function sinon.default_behaviors.yieldsAsync ()

function sinon.default_behaviors.yieldsOn (fake, context)

function sinon.default_behaviors.yieldsOnAsync ()

function sinon.default_behaviors.yieldsRight (fake)

function sinon.default_behaviors.yieldsRightAsync ()

function sinon.default_behaviors.yieldsTo (fake, prop)

function sinon.default_behaviors.yieldsToAsync ()

function sinon.default_behaviors.yieldsToOn (fake, prop, context)

function sinon.default_behaviors.yieldsToOnAsync ()

module sinon.event

function sinon.event.CustomEvent (type, customData, target)

function sinon.event.Event (type, bubbles, cancelable, target)

function sinon.event.ProgressEvent (type, progressEventRaw, target)

module sinon.expectation

function sinon.expectation.allowsCall (thisValue, args)

function sinon.expectation.atLeast (num)

function sinon.expectation.atMost (num)

function sinon.expectation.create (methodName)

function sinon.expectation.exactly (num)

function sinon.expectation.fail (message)

function sinon.expectation.invoke (func, thisValue, args)

function sinon.expectation.met ()

function sinon.expectation.never ()

function sinon.expectation.on (thisValue)

function sinon.expectation.once ()

function sinon.expectation.pass (message)

function sinon.expectation.thrice ()

function sinon.expectation.toString ()

function sinon.expectation.twice ()

function sinon.expectation.verify ()

function sinon.expectation.verifyCallAllowed (thisValue, args)

function sinon.expectation.withArgs ()

function sinon.expectation.withExactArgs ()

module sinon.fakeServer

function sinon.fakeServer.addRequest (xhrObj)

function sinon.fakeServer.configure (config)

function sinon.fakeServer.create (config)

function sinon.fakeServer.getHTTPMethod (request)

function sinon.fakeServer.getRequest (index)

function sinon.fakeServer.handleRequest (xhr)

function sinon.fakeServer.log (response, request)

function sinon.fakeServer.logError (label, e)

function sinon.fakeServer.logger ()

function sinon.fakeServer.processRequest (request)

function sinon.fakeServer.reset ()

function sinon.fakeServer.resetBehavior ()

function sinon.fakeServer.resetHistory ()

function sinon.fakeServer.respond ()

function sinon.fakeServer.respondWith (method, url, body)

function sinon.fakeServer.restore ()

module sinon.fakeServerWithClock

function sinon.fakeServerWithClock.addRequest (xhr)

function sinon.fakeServerWithClock.respond ()

function sinon.fakeServerWithClock.restore ()

module sinon.fake_timers

function sinon.fake_timers.useFakeTimers ()

module sinon.fake_xml_http_request

function sinon.fake_xml_http_request.FakeXMLHttpRequest (config)

function sinon.fake_xml_http_request.useFakeXMLHttpRequest ()

module sinon.match

function sinon.match (expectation, message)

function sinon.match.has (property, value)

function sinon.match.hasOwn (property, value)

function sinon.match.instanceOf (type)

function sinon.match.isMatcher (object)

function sinon.match.same (expectation)

function sinon.match.typeOf (type)

module sinon.match.any

function sinon.match.any.test ()

module sinon.match.array

function sinon.match.array.contains (expectation)

function sinon.match.array.deepEquals (expectation)

function sinon.match.array.endsWith (expectation)

function sinon.match.array.startsWith (expectation)

function sinon.match.array.test (actual)

module sinon.match.bool

function sinon.match.bool.test (actual)

module sinon.match.date

function sinon.match.date.test (actual)

module sinon.match.defined

function sinon.match.defined.test (actual)

module sinon.match.falsy

function sinon.match.falsy.test (actual)

module sinon.match.func

function sinon.match.func.test (actual)

module sinon.match.map

function sinon.match.map.contains (expectation)

function sinon.match.map.deepEquals (expectation)

function sinon.match.map.test (actual)

module sinon.match.number

function sinon.match.number.test (actual)

module sinon.match.object

function sinon.match.object.test (actual)

module sinon.match.regexp

function sinon.match.regexp.test (actual)

module sinon.match.set

function sinon.match.set.contains (expectation)

function sinon.match.set.deepEquals (expectation)

function sinon.match.set.test (actual)

module sinon.match.string

function sinon.match.string.test (actual)

module sinon.match.symbol

function sinon.match.symbol.test (actual)

module sinon.match.truthy

function sinon.match.truthy.test (actual)

module sinon.mock

function sinon.mock (object)

function sinon.mock.create (object)

function sinon.mock.expects (method)

function sinon.mock.invokeMethod (method, thisValue, args)

function sinon.mock.restore ()

function sinon.mock.verify ()

module sinon.sandbox

function sinon.sandbox.create (config)

function sinon.sandbox.inject (obj)

function sinon.sandbox.match (expectation, message)

function sinon.sandbox.restore ()

function sinon.sandbox.restoreContext ()

function sinon.sandbox.useFakeServer ()

function sinon.sandbox.useFakeTimers ()

function sinon.sandbox.useFakeXMLHttpRequest ()

module sinon.sinon

function sinon.sinon.CustomEvent ()

function sinon.sinon.Event ()

function sinon.sinon.FakeXMLHttpRequest (config)

function sinon.sinon.ProgressEvent ()

function sinon.sinon.addBehavior (name, fn)

function sinon.sinon.calledInOrder ()

function sinon.sinon.configureLogError ()

function sinon.sinon.createStubInstance (constructor)

function sinon.sinon.deepEqual ()

function sinon.sinon.every ()

function sinon.sinon.extend ()

function sinon.sinon.format ()

function sinon.sinon.functionName ()

function sinon.sinon.functionToString ()

function sinon.sinon.getConfig ()

function sinon.sinon.getPropertyDescriptor ()

function sinon.sinon.iterableToString ()

function sinon.sinon.match (expectation, message)

function sinon.sinon.mock (object)

function sinon.sinon.orderByFirstCall ()

function sinon.sinon.restore ()

function sinon.sinon.spy (object, property, types)

function sinon.sinon.spyCall {{signature}}

function sinon.sinon.stub (object, property, descriptor)

function sinon.sinon.timesInWords ()

function sinon.sinon.typeOf ()

function sinon.sinon.useFakeTimers ()

function sinon.sinon.useFakeXMLHttpRequest ()

function sinon.sinon.walk ()

function sinon.sinon.wrapMethod ()

module sinon.sinon_2_1_0

function sinon.sinon_2_1_0.CustomEvent ()

function sinon.sinon_2_1_0.Event ()

function sinon.sinon_2_1_0.FakeXMLHttpRequest (config)

function sinon.sinon_2_1_0.ProgressEvent ()

function sinon.sinon_2_1_0.addBehavior (name, fn)

function sinon.sinon_2_1_0.calledInOrder ()

function sinon.sinon_2_1_0.configureLogError ()

function sinon.sinon_2_1_0.createStubInstance (constructor)

function sinon.sinon_2_1_0.deepEqual ()

function sinon.sinon_2_1_0.every ()

function sinon.sinon_2_1_0.extend ()

function sinon.sinon_2_1_0.format ()

function sinon.sinon_2_1_0.functionName ()

function sinon.sinon_2_1_0.functionToString ()

function sinon.sinon_2_1_0.getConfig ()

function sinon.sinon_2_1_0.getPropertyDescriptor ()

function sinon.sinon_2_1_0.iterableToString ()

function sinon.sinon_2_1_0.match (expectation, message)

function sinon.sinon_2_1_0.mock (object)

function sinon.sinon_2_1_0.orderByFirstCall ()

function sinon.sinon_2_1_0.restore ()

function sinon.sinon_2_1_0.spy (object, property, types)

function sinon.sinon_2_1_0.spyCall {{signature}}

function sinon.sinon_2_1_0.stub (object, property, descriptor)

function sinon.sinon_2_1_0.timesInWords ()

function sinon.sinon_2_1_0.typeOf ()

function sinon.sinon_2_1_0.useFakeTimers ()

function sinon.sinon_2_1_0.useFakeXMLHttpRequest ()

function sinon.sinon_2_1_0.walk ()

function sinon.sinon_2_1_0.wrapMethod ()

module sinon.sinon_no_sourcemaps

function sinon.sinon_no_sourcemaps.CustomEvent ()

function sinon.sinon_no_sourcemaps.Event ()

function sinon.sinon_no_sourcemaps.FakeXMLHttpRequest (config)

function sinon.sinon_no_sourcemaps.ProgressEvent ()

function sinon.sinon_no_sourcemaps.addBehavior (name, fn)

function sinon.sinon_no_sourcemaps.calledInOrder ()

function sinon.sinon_no_sourcemaps.configureLogError ()

function sinon.sinon_no_sourcemaps.createStubInstance (constructor)

function sinon.sinon_no_sourcemaps.deepEqual ()

function sinon.sinon_no_sourcemaps.every ()

function sinon.sinon_no_sourcemaps.extend ()

function sinon.sinon_no_sourcemaps.format ()

function sinon.sinon_no_sourcemaps.functionName ()

function sinon.sinon_no_sourcemaps.functionToString ()

function sinon.sinon_no_sourcemaps.getConfig ()

function sinon.sinon_no_sourcemaps.getPropertyDescriptor ()

function sinon.sinon_no_sourcemaps.iterableToString ()

function sinon.sinon_no_sourcemaps.match (expectation, message)

function sinon.sinon_no_sourcemaps.mock (object)

function sinon.sinon_no_sourcemaps.orderByFirstCall ()

function sinon.sinon_no_sourcemaps.restore ()

function sinon.sinon_no_sourcemaps.spy (object, property, types)

function sinon.sinon_no_sourcemaps.spyCall {{signature}}

function sinon.sinon_no_sourcemaps.stub (object, property, descriptor)

function sinon.sinon_no_sourcemaps.timesInWords ()

function sinon.sinon_no_sourcemaps.typeOf ()

function sinon.sinon_no_sourcemaps.useFakeTimers ()

function sinon.sinon_no_sourcemaps.useFakeXMLHttpRequest ()

function sinon.sinon_no_sourcemaps.walk ()

function sinon.sinon_no_sourcemaps.wrapMethod ()

module sinon.sinon_no_sourcemaps_2_1_0

function sinon.sinon_no_sourcemaps_2_1_0.CustomEvent ()

function sinon.sinon_no_sourcemaps_2_1_0.Event ()

function sinon.sinon_no_sourcemaps_2_1_0.FakeXMLHttpRequest (config)

function sinon.sinon_no_sourcemaps_2_1_0.ProgressEvent ()

function sinon.sinon_no_sourcemaps_2_1_0.addBehavior (name, fn)

function sinon.sinon_no_sourcemaps_2_1_0.calledInOrder ()

function sinon.sinon_no_sourcemaps_2_1_0.configureLogError ()

function sinon.sinon_no_sourcemaps_2_1_0.createStubInstance (constructor)

function sinon.sinon_no_sourcemaps_2_1_0.deepEqual ()

function sinon.sinon_no_sourcemaps_2_1_0.every ()

function sinon.sinon_no_sourcemaps_2_1_0.extend ()

function sinon.sinon_no_sourcemaps_2_1_0.format ()

function sinon.sinon_no_sourcemaps_2_1_0.functionName ()

function sinon.sinon_no_sourcemaps_2_1_0.functionToString ()

function sinon.sinon_no_sourcemaps_2_1_0.getConfig ()

function sinon.sinon_no_sourcemaps_2_1_0.getPropertyDescriptor ()

function sinon.sinon_no_sourcemaps_2_1_0.iterableToString ()

function sinon.sinon_no_sourcemaps_2_1_0.match (expectation, message)

function sinon.sinon_no_sourcemaps_2_1_0.mock (object)

function sinon.sinon_no_sourcemaps_2_1_0.orderByFirstCall ()

function sinon.sinon_no_sourcemaps_2_1_0.restore ()

function sinon.sinon_no_sourcemaps_2_1_0.spy (object, property, types)

function sinon.sinon_no_sourcemaps_2_1_0.spyCall {{signature}}

function sinon.sinon_no_sourcemaps_2_1_0.stub (object, property, descriptor)

function sinon.sinon_no_sourcemaps_2_1_0.timesInWords ()

function sinon.sinon_no_sourcemaps_2_1_0.typeOf ()

function sinon.sinon_no_sourcemaps_2_1_0.useFakeTimers ()

function sinon.sinon_no_sourcemaps_2_1_0.useFakeXMLHttpRequest ()

function sinon.sinon_no_sourcemaps_2_1_0.walk ()

function sinon.sinon_no_sourcemaps_2_1_0.wrapMethod ()

module sinon.spy

function sinon.spy (object, property, types)

function sinon.spy.alwaysCalledOn ()

function sinon.spy.alwaysCalledWith ()

function sinon.spy.alwaysCalledWithExactly ()

function sinon.spy.alwaysCalledWithMatch ()

function sinon.spy.alwaysCalledWithNew ()

function sinon.spy.alwaysReturned ()

function sinon.spy.alwaysThrew ()

function sinon.spy.callArg ()

function sinon.spy.callArgOn ()

function sinon.spy.callArgOnWith ()

function sinon.spy.callArgWith ()

function sinon.spy.calledAfter (spyFn)

function sinon.spy.calledBefore (spyFn)

function sinon.spy.calledImmediatelyAfter (spyFn)

function sinon.spy.calledImmediatelyBefore (spyFn)

function sinon.spy.calledOn ()

function sinon.spy.calledWith ()

function sinon.spy.calledWithExactly ()

function sinon.spy.calledWithMatch ()

function sinon.spy.calledWithNew ()

function sinon.spy.create (func, spyLength)

function sinon.spy.getCall (i)

function sinon.spy.getCalls ()

function sinon.spy.invoke (func, thisValue, args)

function sinon.spy.invokeCallback ()

function sinon.spy.matches (args, strict)

function sinon.spy.named (name)

function sinon.spy.neverCalledWith ()

function sinon.spy.neverCalledWithMatch ()

function sinon.spy.printf (format)

function sinon.spy.reset ()

function sinon.spy.returned ()

function sinon.spy.spyCall {{signature}}

function sinon.spy.threw ()

function sinon.spy.withArgs ()

function sinon.spy.yield ()

function sinon.spy.yieldOn ()

function sinon.spy.yieldTo ()

function sinon.spy.yieldToOn ()

module sinon.spy.formatters

function sinon.spy.formatters.C (spyInstance)

function sinon.spy.formatters.D (spyInstance, args)

function sinon.spy.formatters.c (spyInstance)

function sinon.spy.formatters.n (spyInstance)

function sinon.spy.formatters.t (spyInstance)

module sinon.spyCall

function sinon.spyCall {{signature}}

function sinon.spyCall.toString ()

module sinon.stub

function sinon.stub (object, property, descriptor)

function sinon.stub.addBehavior ()

function sinon.stub.callThrough ()

function sinon.stub.callsArg ()

function sinon.stub.callsArgAsync ()

function sinon.stub.callsArgOn ()

function sinon.stub.callsArgOnAsync ()

function sinon.stub.callsArgOnWith ()

function sinon.stub.callsArgOnWithAsync ()

function sinon.stub.callsArgWith ()

function sinon.stub.callsArgWithAsync ()

function sinon.stub.callsFake ()

function sinon.stub.create (stubLength)

function sinon.stub.createBehavior ()

function sinon.stub.createStubInstance (constructor)

function sinon.stub.get ()

function sinon.stub.isPresent ()

function sinon.stub.onCall (index)

function sinon.stub.onFirstCall ()

function sinon.stub.onSecondCall ()

function sinon.stub.onThirdCall ()

function sinon.stub.rejects ()

function sinon.stub.reset ()

function sinon.stub.resetBehavior ()

function sinon.stub.resetHistory ()

function sinon.stub.resolves ()

function sinon.stub.returns ()

function sinon.stub.returnsArg ()

function sinon.stub.returnsThis ()

function sinon.stub.set ()

function sinon.stub.throws ()

function sinon.stub.throwsException ()

function sinon.stub.yields ()

function sinon.stub.yieldsAsync ()

function sinon.stub.yieldsOn ()

function sinon.stub.yieldsOnAsync ()

function sinon.stub.yieldsRight ()

function sinon.stub.yieldsRightAsync ()

function sinon.stub.yieldsTo ()

function sinon.stub.yieldsToAsync ()

function sinon.stub.yieldsToOn ()

function sinon.stub.yieldsToOnAsync ()

module sinon.timers

function sinon.timers.Date ()

function sinon.timers.clearImmediate (immediate)

function sinon.timers.clearInterval (timer)

function sinon.timers.clearTimeout (timer)

function sinon.timers.setImmediate ()

function sinon.timers.setInterval ()

function sinon.timers.setTimeout ()

[ this document was created with utility2 ]