default
tkunit
MTestCase
MTestCase.TestCase
assert(int required, have, String msg)
- Check whether _have equals _required. Raise a TKUnitBooleanAssertionFailedError if the check fails.
assertFloat(float required, have, String msg)
- Check whether _have equals _required. Raise a TKUnitFloatAssertionFailedError if the check fails.
assertFloatEpsilon(float required, have, epsilon, String msg)
- Check whether _have roughly equals _required. Raise a TKUnitFloatAssertionFailedError if the check fails.
assertInt(int required, have, String msg)
- Check whether _have equals _required. Raise a TKUnitIntegerAssertionFailedError if the check fails.
assertObject(Object required, have, String msg)
- Check whether _have equals _required. Raise a TKUnitObjectAssertionFailedError if the check fails.
assertq(int required, have)
- Check whether _have equals _required. Raise a TKUnitBooleanAssertionFailedError if the check fails.
assertqFloat(float required, have)
- Check whether _have equals _required. Raise a TKUnitFloatAssertionFailedError if the check fails.
assertqFloatEpsilon(float required, have, epsilon)
- Check whether _have roughly equals _required. Raise a TKUnitFloatAssertionFailedError if the check fails.
assertqInt(int required, have)
- Check whether _have equals _required. Raise a TKUnitIntegerAssertionFailedError if the check fails.
assertqObject(Object required, have)
-
assertqType(_required , _have )
- Check whether _have and _require are of the same type. Raise a TKUnitTypeAssertionFailedError if the check fails.
assertType(_required , _have , String msg)
- Check whether _have and _require are of the same type. Raise a TKUnitTypeAssertionFailedError if the check fails.
ignore(String reason)
- Should be used whenever a test shall be ignored. Ignored tests still show up in the final report so that they can not be forgotten so easily.
ignoreq()
-
post()
- Tear down test fixture.
pre()
- Set up test fixture. A test fixture is a set of conditions shared by all test*() methods in this test case.Method assert | ||||||||||||||||||||
Check whether _have equals _required. Raise a TKUnitBooleanAssertionFailedError if the check fails. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method assertFloat | ||||||||||||||||||||
Check whether _have equals _required. Raise a TKUnitFloatAssertionFailedError if the check fails. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method assertFloatEpsilon | |||||||||||||||||||||||||
Check whether _have roughly equals _required. Raise a TKUnitFloatAssertionFailedError if the check fails. | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Method assertInt | ||||||||||||||||||||
Check whether _have equals _required. Raise a TKUnitIntegerAssertionFailedError if the check fails. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method assertObject | |
Check whether _have equals _required. Raise a TKUnitObjectAssertionFailedError if the check fails. | |
Signature | |
Arguments | |
Method assertq | |||||||||||||||
Check whether _have equals _required. Raise a TKUnitBooleanAssertionFailedError if the check fails. | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method assertqFloat | |||||||||||||||
Check whether _have equals _required. Raise a TKUnitFloatAssertionFailedError if the check fails. | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method assertqFloatEpsilon | ||||||||||||||||||||
Check whether _have roughly equals _required. Raise a TKUnitFloatAssertionFailedError if the check fails. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method assertqInt | |||||||||||||||
Check whether _have equals _required. Raise a TKUnitIntegerAssertionFailedError if the check fails. | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method assertqObject | |
Signature | |
Arguments | |
Method assertqType | |||||||||||||||
Check whether _have and _require are of the same type. Raise a TKUnitTypeAssertionFailedError if the check fails. | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method assertType | ||||||||||||||||||||
Check whether _have and _require are of the same type. Raise a TKUnitTypeAssertionFailedError if the check fails. | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
|
Method ignore | |||||
Should be used whenever a test shall be ignored. Ignored tests still show up in the final report so that they can not be forgotten so easily. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method ignoreq | |||
Signature | |||
|
Method post | |||
Tear down test fixture. | |||
Signature | |||
|
Method pre | |||
Set up test fixture. A test fixture is a set of conditions shared by all test*() methods in this test case. | |||
Signature | |||
|
Project Modules: | MTestCase , MTestRunner , MTestRunnerConsole , MTestRunnerHTML |
Project Classes: | TestCase , TestRunner , TestRunnerConsole , TestRunnerHTML |
Project Functions: | TextToHTML |
All Namespaces: | default , ui |
All Projects: | core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:55