C# 클래스 QUnit.Engine

파일 보기 프로젝트 열기: Saltarelle/SaltarelleQUnit

Private Properties

프로퍼티 타입 설명
Reset void

공개 메소드들

메소드 설명
Begin ( System.Action callback ) : void

Register a callback to fire whenever the test suite begins. QUnit.begin() is called once before running any tests. (a better would've been QUnit.start, but thats already in use elsewhere and can't be changed.)

Done ( Action callback ) : void

Register a callback to fire whenever the test suite ends.

Init ( ) : void

Initialize the test runner. If the runner has already run, calling QUnit.init() will re-initialize the runner, effectively resetting it. This method does not need to be called in the normal use of QUnit. This is useful for being able to use the test runner for multiple batches of dynamically-loaded tests (load a batch of tests, get the results, re-init, load a new batch, etc.).

Log ( Action callback ) : void

Register a callback to fire whenever an assertion completes. This is one of several callbacks QUnit provides. Its intended for integration scenarios like PhantomJS or Jenkins.

ModuleDone ( Action callback ) : void

Register a callback to fire whenever a module ends.

ModuleStart ( Action callback ) : void

Register a callback to fire whenever a module begins.

Start ( ) : void

Start running tests again after the testrunner was stopped. When your async test has multiple exit points, call start() for the corresponding number of stop() increments.

Start ( int decrement ) : void

Start running tests again after the testrunner was stopped. When your async test has multiple exit points, call start() for the corresponding number of stop() increments.

Stop ( ) : void

Stop the testrunner to wait for async tests to run. Call start() to continue. When your async test has multiple exit points, call stop() with the increment argument, corresponding to the number of start() calls you need.

Stop ( int increment ) : void

Stop the testrunner to wait for async tests to run. Call start() to continue. When your async test has multiple exit points, call stop() with the increment argument, corresponding to the number of start() calls you need.

TestDone ( Action callback ) : void

Register a callback to fire whenever a test ends.

TestStart ( Action callback ) : void

Register a callback to fire whenever a test begins.

비공개 메소드들

메소드 설명
Reset ( ) : void

메소드 상세

Begin() 공개 정적인 메소드

Register a callback to fire whenever the test suite begins. QUnit.begin() is called once before running any tests. (a better would've been QUnit.start, but thats already in use elsewhere and can't be changed.)
public static Begin ( System.Action callback ) : void
callback System.Action
리턴 void

Done() 공개 정적인 메소드

Register a callback to fire whenever the test suite ends.
public static Done ( Action callback ) : void
callback Action
리턴 void

Init() 공개 정적인 메소드

Initialize the test runner. If the runner has already run, calling QUnit.init() will re-initialize the runner, effectively resetting it. This method does not need to be called in the normal use of QUnit. This is useful for being able to use the test runner for multiple batches of dynamically-loaded tests (load a batch of tests, get the results, re-init, load a new batch, etc.).
public static Init ( ) : void
리턴 void

Log() 공개 정적인 메소드

Register a callback to fire whenever an assertion completes. This is one of several callbacks QUnit provides. Its intended for integration scenarios like PhantomJS or Jenkins.
public static Log ( Action callback ) : void
callback Action
리턴 void

ModuleDone() 공개 정적인 메소드

Register a callback to fire whenever a module ends.
public static ModuleDone ( Action callback ) : void
callback Action
리턴 void

ModuleStart() 공개 정적인 메소드

Register a callback to fire whenever a module begins.
public static ModuleStart ( Action callback ) : void
callback Action
리턴 void

Start() 공개 정적인 메소드

Start running tests again after the testrunner was stopped. When your async test has multiple exit points, call start() for the corresponding number of stop() increments.
public static Start ( ) : void
리턴 void

Start() 공개 정적인 메소드

Start running tests again after the testrunner was stopped. When your async test has multiple exit points, call start() for the corresponding number of stop() increments.
public static Start ( int decrement ) : void
decrement int Optional argument to merge multiple start() calls into one. Use with multiple corrsponding stop() calls.
리턴 void

Stop() 공개 정적인 메소드

Stop the testrunner to wait for async tests to run. Call start() to continue. When your async test has multiple exit points, call stop() with the increment argument, corresponding to the number of start() calls you need.
public static Stop ( ) : void
리턴 void

Stop() 공개 정적인 메소드

Stop the testrunner to wait for async tests to run. Call start() to continue. When your async test has multiple exit points, call stop() with the increment argument, corresponding to the number of start() calls you need.
public static Stop ( int increment ) : void
increment int Optional argument to merge multiple stop() calls into one. Use with multiple corrsponding start() calls.
리턴 void

TestDone() 공개 정적인 메소드

Register a callback to fire whenever a test ends.
public static TestDone ( Action callback ) : void
callback Action
리턴 void

TestStart() 공개 정적인 메소드

Register a callback to fire whenever a test begins.
public static TestStart ( Action callback ) : void
callback Action
리턴 void