Represents a doc test case. More...
| Import Statement: | import QDoc.Test 1.1 |
| Since: | QDoc.Test 0.9 |
| Inherits: | |
| Status: | Preliminary |
This thing is under development and is subject to change.
A documentation test case, itself documented inline in DocTest.qml.
[default: true]Whether the test is active.
See also name.
[required]Name of the test.
DocTest {
name: "test"
// ...
}
Note: The corresponding handler is onCompleted.
Signal with parameter bar.
Note: The corresponding handler is onFoo.
Signals that something is really happening.
Note: The corresponding handler is onItsHappening.
[since QDoc.Test 1.0] fail(message = "oops")Fails the current test case, with the optional message.
This method was introduced in QDoc.Test 1.0.
Fails the current test case, hard.