| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Sinon.JS 1.10.3, 2014/07/11
| Author: | Christian Johansen ([email protected]) |
| Author: | Contributors: https://github.com/cjohansen/Sinon.JS/blob/master/AUTHORS |
| File Size: | 5073 lines (158 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| define(mod, deps, fn) X-Ref |
| No description |
| isNaN(value) X-Ref |
| No description |
| getClass(value) X-Ref |
| No description |
| isArguments(object) X-Ref |
param: Object object |
| isElement(object) X-Ref |
param: Object object |
| keys(object) X-Ref |
param: Object object |
| isDate(value) X-Ref |
param: Object value |
| isNegZero(value) X-Ref |
param: Object value |
| identical(obj1, obj2) X-Ref |
param: Object obj1 param: Object obj2 |
| deepEqualCyclic(obj1, obj2) X-Ref |
param: Object obj1 param: Object obj2 |
| isObject(value) X-Ref |
| used to check, if the value of a property is an object (cyclic logic is only needed for objects) only needed for cyclic logic |
| getIndex(objects, obj) X-Ref |
| returns the index of the given object in the given objects array, -1 if not contained only needed for cyclic logic |
| arrayContains(array, subset) X-Ref |
| No description |
| functionName(func) X-Ref |
param: Object object param: Object matcher |
| constructorName(f, object) X-Ref |
| No description |
| isCircular(object, objects) X-Ref |
| No description |
| ascii(f, object, processed, indent) X-Ref |
| No description |
| Formatio(options) X-Ref |
| No description |
| isDOMNode(obj) X-Ref |
| No description |
| isElement(obj) X-Ref |
| No description |
| isFunction(obj) X-Ref |
| No description |
| isReallyNaN(val) X-Ref |
| No description |
| mirrorProperties(target, source) X-Ref |
| No description |
| isRestorable(obj) X-Ref |
| No description |
| makePublicAPI(require, exports, module) X-Ref |
| No description |
| assertType(value, type, name) X-Ref |
| No description |
| isMatcher(object) X-Ref |
| No description |
| matchObject(expectation, actual) X-Ref |
| No description |
| createPropertyMatcher(propertyTest, messagePrefix) X-Ref |
| No description |
| throwYieldError(proxy, text, args) X-Ref |
| No description |
| createSpyCall(spy, thisValue, args, returnValue, exception, id) X-Ref |
| No description |
| spy(object, property) X-Ref |
| No description |
| matchingFake(fakes, args, strict) X-Ref |
| No description |
| incrementCallCount() X-Ref |
| No description |
| createCallProperties() X-Ref |
| No description |
| createProxy(func) X-Ref |
| No description |
| delegateToCalls(method, matchAny, actual, notCalled) X-Ref |
| No description |
| throwsException(error, message) X-Ref |
| No description |
| getCallback(behavior, args) X-Ref |
| No description |
| getCallbackError(behavior, func, args) X-Ref |
| No description |
| callCallback(behavior, args) X-Ref |
| No description |
| stub(object, property, func) X-Ref |
| No description |
| getDefaultBehavior(stub) X-Ref |
| No description |
| getParentBehaviour(stub) X-Ref |
| No description |
| getCurrentBehavior(stub) X-Ref |
| No description |
| mock(object) X-Ref |
| No description |
| each(collection, callback) X-Ref |
| No description |
| callCountInWords(callCount) X-Ref |
| No description |
| expectedCallCountInWords(expectation) X-Ref |
| No description |
| receivedMinCalls(expectation) X-Ref |
| No description |
| receivedMaxCalls(expectation) X-Ref |
| No description |
| verifyMatcher(possibleMatcher, arg) X-Ref |
| No description |
| getFakes(fakeCollection) X-Ref |
| No description |
| each(fakeCollection, method) X-Ref |
| No description |
| compact(fakeCollection) X-Ref |
| No description |
| addTimer(args, recurring) X-Ref |
| No description |
| parseTime(str) X-Ref |
| No description |
| createObject(object) X-Ref |
| No description |
| ClockDate(year, month, date, hour, minute, second, ms) X-Ref |
| No description |
| mirrorDateProperties(target, source) X-Ref |
| No description |
| restore() X-Ref |
| No description |
| stubGlobal(method, clock) X-Ref |
| No description |
| FakeXMLHttpRequest() X-Ref |
| No description |
| addEventListener(eventName) X-Ref |
| No description |
| UploadProgress() X-Ref |
| No description |
| verifyState(xhr) X-Ref |
| No description |
| each(collection, callback) X-Ref |
| No description |
| some(collection, callback) X-Ref |
| No description |
| verifyRequestOpened(xhr) X-Ref |
| No description |
| verifyRequestSent(xhr) X-Ref |
| No description |
| verifyHeadersReceived(xhr) X-Ref |
| No description |
| verifyResponseBodyType(body) X-Ref |
| No description |
| F() X-Ref |
| No description |
| create(proto) X-Ref |
| No description |
| responseArray(handler) X-Ref |
| No description |
| matchOne(response, reqMethod, reqUrl) X-Ref |
| No description |
| match(response, request) X-Ref |
| No description |
| Server() X-Ref |
| Add-on for sinon.fakeServer that automatically handles a fake timer along with the FakeXMLHttpRequest. The direct inspiration for this add-on is jQuery 1.3.x, which does not use xhr object's onreadystatehandler at all - instead, it polls the object for completion with setInterval. Dispite the direct motivation, there is nothing jQuery-specific in this file, so it can be used in any environment where the ajax implementation depends on setInterval or setTimeout. author: Christian Johansen ([email protected]) |
| exposeValue(sandbox, config, key, value) X-Ref |
| No description |
| prepareSandboxFromConfig(config) X-Ref |
| No description |
| test(callback) X-Ref |
| No description |
| sinonSandboxedTest() X-Ref |
| No description |
| createTest(property, setUp, tearDown) X-Ref |
| No description |
| testCase(tests, prefix) X-Ref |
| No description |
| verifyIsStub() X-Ref |
| No description |
| failAssertion(object, msg) X-Ref |
| No description |
| mirrorPropAsAssertion(name, method, message) X-Ref |
| No description |
| exposedName(prefix, prop) X-Ref |
| No description |
| FakeXDomainRequest() X-Ref |
| No description |
| verifyState(xdr) X-Ref |
| No description |
| verifyRequestSent(xdr) X-Ref |
| No description |
| verifyResponseBodyType(body) X-Ref |
| No description |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |