winIDEA SDK
|
This class stores result for stack usage.
#include <CTestResult.h>
Public Member Functions | |
CStackUsageResult (const CTestBaseSPtr &parent) | |
Initializes new instance. More... | |
virtual bool | isEmpty () const |
This method returns true, if the object contains no data. | |
bool | isError () |
Returns true, if more stack usage was used than expected. | |
virtual void | serialize (const isys::IEmitterSPtr &emitter) |
Sends contents of this class to emitter. | |
void | setValues (ADDRESS_64 minExpSize, ADDRESS_64 maxExpSize, ADDRESS_64 stackUsedBeforeTest, ADDRESS_64 testUsage, ADDRESS_64 appUsage) |
Sets measured values of stack usage. More... | |
virtual std::string | toString () |
Returns object data as YAML string. | |
Static Public Member Functions | |
static CStackUsageResultSPtr | cast (const CTestBaseSPtr &testBase) |
Casts the given object to this class. More... | |
Protected Member Functions | |
void | setStaticTagsAsConst () |
This method is called by all objects which are immediately contained in CTestSpecification, for example CTestCoverage, CTestHIL, ... | |
isys::CStackUsageResult::CStackUsageResult | ( | const CTestBaseSPtr & | parent | ) |
Initializes new instance.
parent | an instance of parent CTestPoint class. |
|
static |
Casts the given object to this class.
Returns NULL if input is NULL.
IllegalArgumentException | if input object is not instance of this class. |
void isys::CStackUsageResult::setValues | ( | ADDRESS_64 | minExpSize, |
ADDRESS_64 | maxExpSize, | ||
ADDRESS_64 | stackUsedBeforeTest, | ||
ADDRESS_64 | testUsage, | ||
ADDRESS_64 | appUsage | ||
) |
Sets measured values of stack usage.
minExpSize | defines minimal expected stack size to be used, currently ignored |
maxExpSize | defines maximal expected stack size to be used. |
stackUsedBeforeTest | amount of stack used before test |
testUsage | amount of stack used for test, for example if test script puts some data on stack before test. |
appUsage | amount of stack used by code under test |