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:
Ronnie Sahlberg
2013-05-19 07:27:33 -07:00
parent d7acb5f128
commit c9ee8525b2
6 changed files with 160 additions and 2 deletions

View File

@@ -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