Loading ttcn/AtsECRF/AtsECRF_TestCases.ttcn +79 −3 Original line number Diff line number Diff line Loading @@ -572,7 +572,7 @@ module AtsECRF_TestCases { f_cf_01_http_up(); // Preamble f_sendListServicesRequest(m_list_services(-,"urn:service:sos")) f_sendListServicesRequest(m_list_services(-,"urn:service:sos")); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); // Test Body Loading @@ -587,7 +587,7 @@ module AtsECRF_TestCases { // Postamble f_cf_01_http_down(); } // End of testcase TC_ECRF_HTTP_POST_BV_09 } // End of testcase TC_ECRF_LOST_BV_09 /** * @desc "IUT successfully responds with configured service types for a ListServicesByLocation request" Loading @@ -608,7 +608,7 @@ module AtsECRF_TestCases { { m_location( PX_LOCATION_ID, { m_extension_point(encvalue_unichar(valueof(m_point(PX_POINT_IN_E_POLICE_SERVICE_BOUNDARY, PX_SRS_NAME, "point1")))) }, { m_extension_point(encvalue_unichar(valueof(m_point(PX_POINT_IN_G1, PX_SRS_NAME, "point1")))) }, "geodetic-2d" // TODO Use a Pixit ) }, Loading Loading @@ -636,6 +636,82 @@ module AtsECRF_TestCases { f_cf_01_http_down(); } // End of testcase TC_ECRF_LOST_BV_10 /** * @desc "IUT successfully responds with configured service types for a ListServices request without service element" */ testcase TC_ECRF_LOST_BV_11() runs on HttpComponent system TestAdapter { // Test control f_check_statements({ { name := "PICS_ECRF_LIST_SERVICES", val := PICS_ECRF_LIST_SERVICES } }) // Test component configuration f_cf_01_http_up(); // Preamble f_sendListServicesRequest(m_list_services(-,-)); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); // Test Body tc_ac.start; f_receiveResponse(mw_http_list_services_response( mw_list_services_response( PX_CONFIGURED_SERVICES, LibItsHttp_XmlTemplates.mw_path({ LibItsHttp_XmlTemplates.mw_via(PX_ECRF_VIA) }) ) ) ); // Postamble f_cf_01_http_down(); } // End of testcase TC_ECRF_LOST_BV_11 /** * @desc "IUT successfully responds with configured service types for a ListServicesByLocation request without service" */ testcase TC_ECRF_LOST_BV_12() runs on HttpComponent system TestAdapter { // Test control f_check_statements({ { name := "PICS_ECRF_LIST_SERVICES_BY_LOCATION", val := PICS_ECRF_LIST_SERVICES_BY_LOCATION } }) // Test component configuration f_cf_01_http_up(); // Preamble f_sendListServicesByLocationRequest( m_list_services_by_location( { m_location( PX_LOCATION_ID, { m_extension_point(encvalue_unichar(valueof(m_point(PX_POINT_IN_G1, PX_SRS_NAME, "point1")))) }, "geodetic-2d" // TODO Use a Pixit ) }, -, - ) ); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); // Test Body tc_ac.start; f_receiveResponse(mw_http_list_services_by_location_response( mw_list_services_by_location_response( { "urn:service:sos.fire", "urn:service:sos.police" }, LibItsHttp_XmlTemplates.mw_path({ LibItsHttp_XmlTemplates.mw_via(PX_ECRF_VIA) }), -, mw_location_used(PX_LOCATION_ID) ) ) ); // Postamble f_cf_01_http_down(); } // End of testcase TC_ECRF_LOST_BV_12 } // End of group LOST Loading Loading
ttcn/AtsECRF/AtsECRF_TestCases.ttcn +79 −3 Original line number Diff line number Diff line Loading @@ -572,7 +572,7 @@ module AtsECRF_TestCases { f_cf_01_http_up(); // Preamble f_sendListServicesRequest(m_list_services(-,"urn:service:sos")) f_sendListServicesRequest(m_list_services(-,"urn:service:sos")); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); // Test Body Loading @@ -587,7 +587,7 @@ module AtsECRF_TestCases { // Postamble f_cf_01_http_down(); } // End of testcase TC_ECRF_HTTP_POST_BV_09 } // End of testcase TC_ECRF_LOST_BV_09 /** * @desc "IUT successfully responds with configured service types for a ListServicesByLocation request" Loading @@ -608,7 +608,7 @@ module AtsECRF_TestCases { { m_location( PX_LOCATION_ID, { m_extension_point(encvalue_unichar(valueof(m_point(PX_POINT_IN_E_POLICE_SERVICE_BOUNDARY, PX_SRS_NAME, "point1")))) }, { m_extension_point(encvalue_unichar(valueof(m_point(PX_POINT_IN_G1, PX_SRS_NAME, "point1")))) }, "geodetic-2d" // TODO Use a Pixit ) }, Loading Loading @@ -636,6 +636,82 @@ module AtsECRF_TestCases { f_cf_01_http_down(); } // End of testcase TC_ECRF_LOST_BV_10 /** * @desc "IUT successfully responds with configured service types for a ListServices request without service element" */ testcase TC_ECRF_LOST_BV_11() runs on HttpComponent system TestAdapter { // Test control f_check_statements({ { name := "PICS_ECRF_LIST_SERVICES", val := PICS_ECRF_LIST_SERVICES } }) // Test component configuration f_cf_01_http_up(); // Preamble f_sendListServicesRequest(m_list_services(-,-)); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); // Test Body tc_ac.start; f_receiveResponse(mw_http_list_services_response( mw_list_services_response( PX_CONFIGURED_SERVICES, LibItsHttp_XmlTemplates.mw_path({ LibItsHttp_XmlTemplates.mw_via(PX_ECRF_VIA) }) ) ) ); // Postamble f_cf_01_http_down(); } // End of testcase TC_ECRF_LOST_BV_11 /** * @desc "IUT successfully responds with configured service types for a ListServicesByLocation request without service" */ testcase TC_ECRF_LOST_BV_12() runs on HttpComponent system TestAdapter { // Test control f_check_statements({ { name := "PICS_ECRF_LIST_SERVICES_BY_LOCATION", val := PICS_ECRF_LIST_SERVICES_BY_LOCATION } }) // Test component configuration f_cf_01_http_up(); // Preamble f_sendListServicesByLocationRequest( m_list_services_by_location( { m_location( PX_LOCATION_ID, { m_extension_point(encvalue_unichar(valueof(m_point(PX_POINT_IN_G1, PX_SRS_NAME, "point1")))) }, "geodetic-2d" // TODO Use a Pixit ) }, -, - ) ); f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success); // Test Body tc_ac.start; f_receiveResponse(mw_http_list_services_by_location_response( mw_list_services_by_location_response( { "urn:service:sos.fire", "urn:service:sos.police" }, LibItsHttp_XmlTemplates.mw_path({ LibItsHttp_XmlTemplates.mw_via(PX_ECRF_VIA) }), -, mw_location_used(PX_LOCATION_ID) ) ) ); // Postamble f_cf_01_http_down(); } // End of testcase TC_ECRF_LOST_BV_12 } // End of group LOST Loading