public override void run() { sates.input.api_cmd_json_parser parser = new sates.input.api_cmd_json_parser(); var cmd = parser.parse(common_data.DEFAULT_PATH + "/resource/example/json_command/add_doc.json"); sates.test.cs.SATES.EQ(cmd[0].api, "doc_add"); sates.test.cs.SATES.EQ(cmd[0].args[0], "TEST_SPEC01"); sates.test.cs.SATES.EQ(cmd[0].args[1], "spec"); sates.test.cs.SATES.EQ(cmd[0].args[2], "cat1"); sates.test.cs.SATES.EQ(cmd[0].args[3], "cat2"); cmd = parser.parse(common_data.DEFAULT_PATH + "/resource/example/json_command/add_doc_multi.json"); sates.test.cs.SATES.EQ(cmd[1].api, "doc_add"); sates.test.cs.SATES.EQ(cmd[1].args[0], "TEST_SPEC02"); sates.test.cs.SATES.EQ(cmd[1].args[1], "fmea"); sates.test.cs.SATES.EQ(cmd[1].args[2], "cat01"); sates.test.cs.SATES.EQ(cmd[1].args[3], "cat02"); cmd = parser.parse(common_data.DEFAULT_PATH + "/resource/example/json_command/add_doc_multi.json"); sates.test.cs.SATES.EQ(cmd[2].api, "doc_add"); sates.test.cs.SATES.EQ(cmd[2].args[0], "TEST_SPEC03"); sates.test.cs.SATES.EQ(cmd[2].args[1], "testcase"); sates.test.cs.SATES.EQ(cmd[2].args[2], "cat001"); sates.test.cs.SATES.EQ(cmd[2].args[3], "cat002"); }