|
gem5
v21.0.1.0
|
Go to the source code of this file.
Functions | |
| TEST (DebugFlagTest, NameDesc) | |
| Test assignment of names and descriptions. More... | |
| TEST (DebugFlagDeathTest, UniqueNames) | |
| Test that names are unique. More... | |
| TEST (DebugFlagTest, IsFormat) | |
| Test format attribute. More... | |
| TEST (DebugSimpleFlagTest, Enabled) | |
| Test enabling and disabling simple flags, as well as the global enabler. More... | |
| TEST (DebugCompoundFlagTest, Enabled) | |
| Tests that manipulate the enablement status of the compound flag to change the corresponding status of the kids. More... | |
| TEST (DebugFlagTest, ConversionOperator) | |
| Test that the conversion operator matches the enablement status. More... | |
| TEST (DebugCompoundFlagTest, EnabledKids) | |
| Tests that manipulate the kids to change the enablement status of the compound flag. More... | |
| TEST (DebugFlagTest, FindFlag) | |
| Search for existent and non-existent flags. More... | |
| TEST (DebugFlagTest, ChangeFlag) | |
| Test changing flag enabled. More... | |
| TEST (DebugFlagTest, SetClearDebugFlag) | |
| Test changing flag enabled with aux functions. More... | |
| TEST (DebugFlagTest, NoDumpDebugFlags) | |
| Test dumping no enabled debug flags. More... | |
| TEST (DebugFlagTest, DumpDebugFlags) | |
| Test dumping enabled debug flags with a larger set of flags. More... | |
| TEST | ( | DebugCompoundFlagTest | , |
| Enabled | |||
| ) |
Tests that manipulate the enablement status of the compound flag to change the corresponding status of the kids.
Definition at line 104 of file debug.test.cc.
References Debug::SimpleFlag::enabled(), Debug::Flag::globalDisable(), and Debug::Flag::globalEnable().
| TEST | ( | DebugCompoundFlagTest | , |
| EnabledKids | |||
| ) |
Tests that manipulate the kids to change the enablement status of the compound flag.
Definition at line 154 of file debug.test.cc.
References Debug::SimpleFlag::disable(), Debug::SimpleFlag::enable(), Debug::SimpleFlag::enabled(), and Debug::Flag::globalEnable().
| TEST | ( | DebugFlagDeathTest | , |
| UniqueNames | |||
| ) |
| TEST | ( | DebugFlagTest | , |
| ChangeFlag | |||
| ) |
Test changing flag enabled.
Definition at line 211 of file debug.test.cc.
References Debug::changeFlag(), Debug::SimpleFlag::enabled(), and Debug::Flag::globalEnable().
| TEST | ( | DebugFlagTest | , |
| ConversionOperator | |||
| ) |
Test that the conversion operator matches the enablement status.
Definition at line 139 of file debug.test.cc.
References Debug::SimpleFlag::disable(), Debug::SimpleFlag::enable(), Debug::SimpleFlag::enabled(), and Debug::Flag::globalEnable().
| TEST | ( | DebugFlagTest | , |
| DumpDebugFlags | |||
| ) |
Test dumping enabled debug flags with a larger set of flags.
Definition at line 277 of file debug.test.cc.
References dumpDebugFlags(), Debug::SimpleFlag::enable(), Debug::SimpleFlag::enabled(), Debug::Flag::globalEnable(), and output().
| TEST | ( | DebugFlagTest | , |
| FindFlag | |||
| ) |
Search for existent and non-existent flags.
Definition at line 188 of file debug.test.cc.
References Debug::Flag::enable(), Debug::SimpleFlag::enabled(), Debug::findFlag(), and Debug::Flag::globalEnable().
| TEST | ( | DebugFlagTest | , |
| IsFormat | |||
| ) |
Test format attribute.
Definition at line 64 of file debug.test.cc.
References Debug::SimpleFlag::isFormat().
| TEST | ( | DebugFlagTest | , |
| NameDesc | |||
| ) |
Test assignment of names and descriptions.
Definition at line 34 of file debug.test.cc.
References Debug::Flag::desc(), and Debug::Flag::name().
| TEST | ( | DebugFlagTest | , |
| NoDumpDebugFlags | |||
| ) |
Test dumping no enabled debug flags.
Definition at line 263 of file debug.test.cc.
References dumpDebugFlags(), Debug::SimpleFlag::enabled(), Debug::Flag::globalEnable(), and output().
| TEST | ( | DebugFlagTest | , |
| SetClearDebugFlag | |||
| ) |
Test changing flag enabled with aux functions.
Definition at line 237 of file debug.test.cc.
References clearDebugFlag(), Debug::SimpleFlag::enabled(), Debug::Flag::globalEnable(), and setDebugFlag().
| TEST | ( | DebugSimpleFlagTest | , |
| Enabled | |||
| ) |
Test enabling and disabling simple flags, as well as the global enabler.
Definition at line 75 of file debug.test.cc.
References Debug::SimpleFlag::disable(), Debug::SimpleFlag::enable(), Debug::SimpleFlag::enabled(), Debug::Flag::globalDisable(), and Debug::Flag::globalEnable().