Merge branch 'master' into rename-repo-url

This commit is contained in:
vvakame
2016-03-17 21:06:54 +09:00
1140 changed files with 179704 additions and 179635 deletions
+21 -21
View File
@@ -3,9 +3,9 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
module testing {
declare namespace dojox {
namespace testing {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/testing/DocTest.html
*
@@ -24,56 +24,56 @@ declare module dojox {
* test in the following line, or a new line that does not start as described in 2)
* (simple said: is not a comment)
* preceeded by what is described in 2)
*
*
* I.e. the following is a simple doctest, that will actually also be run
* if you run this class against this file here:
*
*
*
*
* 1+1 // A simple test case. Terminated by an empty line
* 2
*
*
* 1==2
* false
* "a"+"b" // Also without the empty line before, this is a new test.
* "ab"
*
*
* var anything = "anything" // Multiple commands for one test.
* "something"==anything
* false
*
*
*
*
* DocTests are great for inline documenting a class or method, they also
* are very helpful in understanding what the class/method actually does.
* They don't make sense everywhere, but sometimes they are really handy.
*
*
*/
class DocTest {
constructor();
/**
*
*
*/
"errors": any[];
/**
* Extract the tests from the given module or string.
*
* @param moduleName
*
* @param moduleName
*/
getTests(moduleName: String): any;
/**
*
* @param data
*
* @param data
*/
getTestsFromString(data: String): any;
/**
* Run the doctests in the module given.
*
* @param moduleName
*
* @param moduleName
*/
run(moduleName: any): void;
/**
*
* @param commands
* @param expected
*
* @param commands
* @param expected
*/
runTest(commands: any, expected: any): Object;
}