![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
To ease writing unit tests, TestFrame provides comparison and assignment and tracks lifecycle automatically. As tests regarding the engine typically have to deal with buffer management, an arbitrary memory location can be interpreted as TestFrame and checked for corruption.
Definition at line 67 of file testframe-test.cpp.
Private Member Functions | |
| virtual void | run (Arg) |
| void | simpleUsage () |
| void | verifyDataContent () |
| void | verifyFrameLifecycle () |
| void | verifyFrameSeries () |
| void | useFrameTable () |
Additional Inherited Members | |
Static Public Member Functions inherited from Test | |
| static string | firstTok (Arg) |
| conveniently pick the first token from the argument line | |
| static uint | firstVal (Arg, uint=1) |
| conveniently use some number given as argument, with optional default | |
Public Member Functions inherited from Test | |
| virtual | ~Test ()=default |
| this is an interface | |
| virtual void | run (Arg arg)=0 |
| void | seedRand () |
| draw a new random seed from a common nucleus, and re-seed the default-Gen. | |
| lib::Random | makeRandGen () |
| build a dedicated new RandomGen, seeded from the default-Gen | |
|
inlineprivatevirtual |
Definition at line 71 of file testframe-test.cpp.
References TestFrame::reseed(), Test::seedRand(), TestFrame_test::simpleUsage(), TestFrame_test::useFrameTable(), TestFrame_test::verifyDataContent(), TestFrame_test::verifyFrameLifecycle(), and TestFrame_test::verifyFrameSeries().
Here is the call graph for this function:
|
inlineprivate |
Definition at line 85 of file testframe-test.cpp.
References TestFrame::data(), TestFrame::isValid(), and TestFrame::markChecksum().
Referenced by TestFrame_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 104 of file testframe-test.cpp.
References TestFrame::data(), TestFrame::data64(), TestFrame::isAlive(), TestFrame::isPristine(), TestFrame::isSane(), TestFrame::isValid(), TestFrame::markChecksum(), and VERIFY_FAIL.
Referenced by TestFrame_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 173 of file testframe-test.cpp.
References TestFrame::isAlive(), and TestFrame::isDead().
Referenced by TestFrame_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 199 of file testframe-test.cpp.
Referenced by TestFrame_test::run().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 229 of file testframe-test.cpp.
References TestFrame::data(), TestFrame::isPristine(), TestFrame::reseed(), and steam::engine::test::testData().
Referenced by TestFrame_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
Inheritance diagram for TestFrame_test:
Collaboration diagram for TestFrame_test: