2013-01-11 00:06:12 +03:00
|
|
|
// https://github.com/lukeasrodgers/qunit-js-externs/blob/master/qunit-externs.js
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {string} name
|
|
|
|
* @param {Object=} lifecycle
|
|
|
|
*/
|
|
|
|
function module(name, lifecycle) {}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {string} title
|
|
|
|
* @param {number|Function} expected
|
|
|
|
* @param {Function=} test_func
|
|
|
|
*/
|
|
|
|
function test(title, expected, test_func){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {string} name
|
|
|
|
* @param {number|Function} expected
|
|
|
|
* @param {Function=} test_func
|
|
|
|
*/
|
|
|
|
function asyncTest(name, expected, test_func){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {number} amount
|
|
|
|
*/
|
|
|
|
function expect(amount){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {*} state
|
|
|
|
* @param {string=} message
|
|
|
|
*/
|
|
|
|
function ok(state, message){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {*} actual
|
|
|
|
* @param {*} expected
|
|
|
|
* @param {string=} message
|
|
|
|
*/
|
|
|
|
function equal(actual, expected, message){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {*} actual
|
|
|
|
* @param {*} expected
|
|
|
|
* @param {string=} message
|
|
|
|
*/
|
|
|
|
function notEqual(actual, expected, message){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {*} actual
|
|
|
|
* @param {*} expected
|
|
|
|
* @param {string=} message
|
|
|
|
*/
|
|
|
|
function deepEqual(actual, expected, message){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {*} actual
|
|
|
|
* @param {*} expected
|
|
|
|
* @param {string=} message
|
|
|
|
*/
|
|
|
|
function notDeepEqual(actual, expected, message){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {*} actual
|
|
|
|
* @param {*} expected
|
|
|
|
* @param {string=} message
|
|
|
|
*/
|
|
|
|
function strictEqual(actual, expected, message){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {*} actual
|
|
|
|
* @param {*} expected
|
|
|
|
* @param {string=} message
|
|
|
|
*/
|
|
|
|
function notStrictEqual(actual, expected, message){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {number=} increment
|
|
|
|
*/
|
|
|
|
function start(increment){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param {number=} increment
|
|
|
|
*/
|
2014-05-13 03:08:48 +03:00
|
|
|
function stop(increment){}
|