|
xmscore
1.0
|
Class to allow running in batch mode without ui elements. Currently only used for testing but it can be used for anything. More...
Public Member Functions | |
| ETestMessagingState () | |
| Constructor. | |
| void | SetDefault (int a_) |
| Set default result value. More... | |
| void | ClearDefault () |
| Change to no default value set. | |
| int | GetDefault () |
| Get default value. More... | |
| void | SetSkipping (bool a_) |
| Set if skipping messages. More... | |
| bool | GetSkipping () |
| Get if skipping messages. More... | |
| bool | DefaultValWasSet () |
| Was default value set (true) or has it been cleared? More... | |
Private Attributes | |
| bool | m_skippingMessages |
| Are messages being skipped? | |
| bool | m_defaultSet |
| Has a default result value been set? | |
| int | m_defaultRetValue |
| Default return value. | |
Class to allow running in batch mode without ui elements. Currently only used for testing but it can be used for anything.
Definition at line 201 of file TestTools.h.
| bool xms::ETestMessagingState::DefaultValWasSet | ( | ) |
Was default value set (true) or has it been cleared?
Definition at line 187 of file TestTools.cpp.
References m_defaultSet.
| int xms::ETestMessagingState::GetDefault | ( | ) |
Get default value.
Definition at line 163 of file TestTools.cpp.
References m_defaultRetValue.
Referenced by xms::ttByPassDefault().
| bool xms::ETestMessagingState::GetSkipping | ( | ) |
Get if skipping messages.
Definition at line 179 of file TestTools.cpp.
References m_skippingMessages.
Referenced by xms::ttSkippingMessages().
| void xms::ETestMessagingState::SetDefault | ( | int | a_ | ) |
Set default result value.
| a_ | true or false |
Definition at line 147 of file TestTools.cpp.
References m_defaultRetValue, and m_defaultSet.
Referenced by xms::ttByPassMessages().
| void xms::ETestMessagingState::SetSkipping | ( | bool | a_ | ) |
Set if skipping messages.
| a_ | true or false. |
Definition at line 171 of file TestTools.cpp.
References m_skippingMessages.
Referenced by xms::ttByPassMessages(), and xms::ttClearSkippingMessages().