pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43294?usp=email )
Change subject: dia2gsup: Add expected-results.xml ......................................................................
dia2gsup: Add expected-results.xml
Change-Id: I564ea0e3051b287d1880c3331591e1aa6078dcac --- A dia2gsup/expected-results.xml 1 file changed, 22 insertions(+), 0 deletions(-)
Approvals: laforge: Looks good to me, but someone else must approve Jenkins Builder: Verified pespin: Looks good to me, approved
diff --git a/dia2gsup/expected-results.xml b/dia2gsup/expected-results.xml new file mode 100644 index 0000000..b0a5c01 --- /dev/null +++ b/dia2gsup/expected-results.xml @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<testsuite name='Titan' tests='9' failures='2' errors='0' skipped='0' inconc='0' time='MASKED'> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_normal'/> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_gsup_err_imsi_unknown'/> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_gsup_err_illegal_ms'/> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_gsup_err_plmn_not_allowed'> + <failure type='fail-verdict'>"DIA2GSUP_Tests.ttcn:MASKED : Unexpected Diameter msg rx: { version := 1, message_length := 124, RPETxxxx := '01000000'B, command_code := Authentication_Information (318), application_id := '01000023'O, hop_by_hop_id := '930CAEFE'O, end_to_end_id := '3B45A8F3'O, avps := { { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Session_Id (263) }, VMPxxxxx := '01000000'B, avp_length := 14, vendor_id := omit }, avp_data := { avp_BASE_NONE_Session_Id := '666F6F626172'O ("foobar") } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Auth_Session_State (277) }, VMPxxxxx := '01000000'B, avp_length := 12, vendor_id := omit }, avp_data := { avp_BASE_NONE_Auth_Session_State := NO_STATE_MAINTAINED (1) } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Origin_Host (264) }, VMPxxxxx := '01000000'B, avp_length := 23, vendor_id := omit }, avp_data := { avp_BASE_NONE_Origin_Host := "hss.localdomain" } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Origin_Realm (296) }, VMPxxxxx := '01000000'B, avp_length := 19, vendor_id := omit }, avp_data := { avp_BASE_NONE_Origin_Realm := "localdomain" } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Experimental_Result (297) }, VMPxxxxx := '01000000'B, avp_length := 32, vendor_id := omit }, avp_data := { avp_BASE_NONE_Experimental_Result := { { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Vendor_Id (266) }, VMPxxxxx := '01000000'B, avp_length := 12, vendor_id := omit }, avp_data := { avp_BASE_NONE_Vendor_Id := '000028AF'O } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Experimental_Result_Code (298) }, VMPxxxxx := '01000000'B, avp_length := 12, vendor_id := omit }, avp_data := { avp_BASE_NONE_Experimental_Result_Code := '0000138C'O } } } } } } } } }" + DIA2GSUP_Tests.ttcn:MASKED DIA2GSUP_Tests control part + DIA2GSUP_Tests.ttcn:MASKED TC_authinfo_gsup_err_plmn_not_allowed testcase + </failure> + </testcase> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_gsup_err_romaning_not_allowed'> + <failure type='fail-verdict'>"DIA2GSUP_Tests.ttcn:MASKED : Unexpected Diameter msg rx: { version := 1, message_length := 104, RPETxxxx := '01000000'B, command_code := Authentication_Information (318), application_id := '01000023'O, hop_by_hop_id := '73F61785'O, end_to_end_id := 'E9149B56'O, avps := { { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Session_Id (263) }, VMPxxxxx := '01000000'B, avp_length := 14, vendor_id := omit }, avp_data := { avp_BASE_NONE_Session_Id := '666F6F626172'O ("foobar") } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Auth_Session_State (277) }, VMPxxxxx := '01000000'B, avp_length := 12, vendor_id := omit }, avp_data := { avp_BASE_NONE_Auth_Session_State := NO_STATE_MAINTAINED (1) } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Origin_Host (264) }, VMPxxxxx := '01000000'B, avp_length := 23, vendor_id := omit }, avp_data := { avp_BASE_NONE_Origin_Host := "hss.localdomain" } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Origin_Realm (296) }, VMPxxxxx := '01000000'B, avp_length := 19, vendor_id := omit }, avp_data := { avp_BASE_NONE_Origin_Realm := "localdomain" } } }, { avp := { avp_header := { avp_code := { vendor_id_NONE := avp_code_BASE_NONE_Result_Code (268) }, VMPxxxxx := '01000000'B, avp_length := 12, vendor_id := omit }, avp_data := { avp_BASE_NONE_Result_Code := '0000138B'O } } } } }" + DIA2GSUP_Tests.ttcn:MASKED DIA2GSUP_Tests control part + DIA2GSUP_Tests.ttcn:MASKED TC_authinfo_gsup_err_romaning_not_allowed testcase + </failure> + </testcase> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_gsup_err_net_fail'/> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_gsup_err_congestion'/> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_gsup_err_auth_unacceptable'/> + <testcase classname='DIA2GSUP_Tests' name='TC_authinfo_gsup_err_proto_unspec'/> +</testsuite>