UTIL: added missing 'release-button' commands for the unittest
parent
aabf843ad0
commit
d913b116cd
|
@ -58,8 +58,11 @@ protected:
|
|||
_xyz = _ctrlshiftmodcommand = _somecommand = _altmodcommand = _allmodscommand = _foo = _doubleLeftClick = false;
|
||||
command::Command::shutdown();
|
||||
command::Command::registerCommand("+bar", [] (const command::CmdArgs& args) {});
|
||||
command::Command::registerCommand("-bar", [] (const command::CmdArgs& args) {});
|
||||
command::Command::registerCommand("+foo", [this] (const command::CmdArgs& args) {this->_foo = true;});
|
||||
command::Command::registerCommand("-foo", [this] (const command::CmdArgs& args) {this->_foo = false;});
|
||||
command::Command::registerCommand("+xyz", [this] (const command::CmdArgs& args) {this->_xyz = true;});
|
||||
command::Command::registerCommand("-xyz", [this] (const command::CmdArgs& args) {this->_xyz = false;});
|
||||
command::Command::registerCommand("somecommand", [this] (const command::CmdArgs& args) {this->_somecommand = true;});
|
||||
command::Command::registerCommand("altmodcommand", [this] (const command::CmdArgs& args) {this->_altmodcommand = true;});
|
||||
command::Command::registerCommand("allmodscommand", [this] (const command::CmdArgs& args) {this->_allmodscommand = true;});
|
||||
|
|
Loading…
Reference in New Issue