TESTS: Add a test for the reprot one command reporting options for
REPORT SUPPORTED OPCODES. Opcodes that are listed in the full list of all supported opcodes as taking a service action should work to ask reporting option 2 (uses service action) from but fail when asked for option 1 (no service action) Similarly, opcodes that are flagged as not taking a service action should work when used with option 1 but fail with option 2.
This commit is contained in:
@@ -223,6 +223,7 @@ static CU_TestInfo tests_readonly[] = {
|
||||
|
||||
static CU_TestInfo tests_report_supported_opcodes[] = {
|
||||
{ (char *)"ReportSupportedOpcodesSimple", test_report_supported_opcodes_simple },
|
||||
{ (char *)"ReportSupportedOpcodesOneCommand", test_report_supported_opcodes_one_command },
|
||||
{ (char *)"ReportSupportedOpcodesRCTD", test_report_supported_opcodes_rctd },
|
||||
{ (char *)"ReportSupportedOpcodesSERVACTV", test_report_supported_opcodes_servactv },
|
||||
CU_TEST_INFO_NULL
|
||||
|
||||
Reference in New Issue
Block a user