Loading etc/AtsMec_SensorsSharingService/AtsMec_SensorsSharingService.cf_ +43 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,49 @@ AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_001_OK_01 #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_002_BR # Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_002_NF # Check that the IUT responds with a SensorDiscoveryEventSubscription when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_003_OK # Check that the IUT responds with a SensorDiscoveryEventSubscription when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_003_NF # Check that the IUT responds with the list of subscriptions when queried by a MEC Application - No query parameters #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_001_OK_01 # Check that the IUT responds with the list of subscriptions when queried by a MEC Application - With query parameters #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_001_OK_02 # Check that the IUT responds with an error when the IUT does not have SensorStatus subscriptions registered #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_001_NF # Check that the IUT responds with the list of SensorStatusSubscription when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_002_OK # Check that the IUT responds with an error when the IUT does not have sensor(s) #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_002_NF # Check that the IUT responds with the list of SensorData when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_OK # Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_BR # Check that the IUT responds with an error when the IUT does not have sensor(s) #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_NF # Check that the IUT responds with the list of subscriptions when queried by a MEC Application - No query parameters #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_004_OK_01 # Check that the IUT responds with the list of subscriptions when queried by a MEC Application - With query parameters #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_004_OK_02 # Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_004_BR # Check that the IUT responds with an error when the IUT does not have SensorData subscriptions registered #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_004_NF # Check that the IUT responds with the a SensorDataSubscriptions when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_005_OK # Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_005_NF # Check that the IUT responds with the list of SensorCharacteristic when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_006_OK # Check that the IUT acknowledges the change of the characteristics of one or more sensors when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_007_OK # Check that the IUT responds with an error when the a sensor does not have a characteristic #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_007_NF Loading ttcn/AtsMec_SensorsSharingService/AtsMec_SensorsSharingService_TestCases.ttcn +1111 −0 File changed.Preview size limit exceeded, changes collapsed. Show changes ttcn/AtsMec_SensorsSharingService/AtsMec_SensorsSharingService_TestControl.ttcn +28 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,34 @@ module AtsMec_SensorsSharingService_TestControl { execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_002_OK_02()); execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_002_BR()); execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_002_NF()); execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_003_OK()); execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_003_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_001_OK_01()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_001_OK_02()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_001_BR()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_001_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_002_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_002_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_003_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_003_BR()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_003_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_004_OK_01()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_004_OK_02()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_004_BR()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_004_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_005_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_005_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_006_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_007_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_007_NF()); } } // End of 'alt' statement Loading ttcn/LibMec/SensorsSharingService/ttcn/SensorsSharingService_Pixits.ttcn +6 −0 Original line number Diff line number Diff line Loading @@ -24,4 +24,10 @@ module SensorsSharingService_Pixits { modulepar charstring PX_UNKNOWN_SENSOR_IDENTIFIER := "UNKNOWN_SENSOR_IDENTIFIER"; modulepar charstring PX_UNKNOW_SUBSCRIPTION_ID := "UNKNOW_SUBSCRIPTION_ID"; modulepar Json.String PX_CHARACTERISTIC_NAME := ""; modulepar Json.String PX_CHARACTERISTIC_VALUE := ""; } // End of module SensorsSharingService_Pixits ttcn/LibMec/SensorsSharingService/ttcn/SensorsSharingService_Templates.ttcn +2 −4 Original line number Diff line number Diff line Loading @@ -82,7 +82,6 @@ module SensorsSharingService_Templates { } // End of template mw_sensor_data template (omit) SensorDiscoveryEventSubscription m_sensor_discovery_event_subscription( in Json.String p_subscriptionType, in Json.AnyURI p_callbackReference, in template (omit) Links p_links := omit, in template (omit) SensorInfos p_sensorInfo := omit, Loading @@ -91,7 +90,7 @@ module SensorsSharingService_Templates { in template (omit) WebsockNotifConfig p_websockNotifConfig := omit, in template (omit) TimeStamp p_expiryDeadline := omit ) := { subscriptionType := p_subscriptionType, subscriptionType := "SensorDiscoveryEventSubscription", callbackReference := p_callbackReference, requestTestNotification := p_requestTestNotification, websockNotifConfig := p_websockNotifConfig, Loading @@ -102,7 +101,6 @@ module SensorsSharingService_Templates { } // End of template m_sensor_discovery_event_subscription template (present) SensorDiscoveryEventSubscription mw_sensor_discovery_event_subscription( template (present) Json.String p_subscriptionType := ?, template (present) Json.AnyURI p_callbackReference := ?, template Links p_links := *, template SensorInfos p_sensorInfo := *, Loading @@ -111,7 +109,7 @@ module SensorsSharingService_Templates { template WebsockNotifConfig p_websockNotifConfig := *, template TimeStamp p_expiryDeadline := * ) := { subscriptionType := p_subscriptionType, subscriptionType := "SensorDiscoveryEventSubscription", callbackReference := p_callbackReference, requestTestNotification := p_requestTestNotification, websockNotifConfig := p_websockNotifConfig, Loading Loading
etc/AtsMec_SensorsSharingService/AtsMec_SensorsSharingService.cf_ +43 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,49 @@ AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_001_OK_01 #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_002_BR # Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_002_NF # Check that the IUT responds with a SensorDiscoveryEventSubscription when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_003_OK # Check that the IUT responds with a SensorDiscoveryEventSubscription when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSDISCOVERY_003_NF # Check that the IUT responds with the list of subscriptions when queried by a MEC Application - No query parameters #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_001_OK_01 # Check that the IUT responds with the list of subscriptions when queried by a MEC Application - With query parameters #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_001_OK_02 # Check that the IUT responds with an error when the IUT does not have SensorStatus subscriptions registered #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_001_NF # Check that the IUT responds with the list of SensorStatusSubscription when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_002_OK # Check that the IUT responds with an error when the IUT does not have sensor(s) #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_002_NF # Check that the IUT responds with the list of SensorData when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_OK # Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_BR # Check that the IUT responds with an error when the IUT does not have sensor(s) #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_003_NF # Check that the IUT responds with the list of subscriptions when queried by a MEC Application - No query parameters #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_004_OK_01 # Check that the IUT responds with the list of subscriptions when queried by a MEC Application - With query parameters #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_004_OK_02 # Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_004_BR # Check that the IUT responds with an error when the IUT does not have SensorData subscriptions registered #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_004_NF # Check that the IUT responds with the a SensorDataSubscriptions when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_005_OK # Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_005_NF # Check that the IUT responds with the list of SensorCharacteristic when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_006_OK # Check that the IUT acknowledges the change of the characteristics of one or more sensors when queried by a MEC Application #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_007_OK # Check that the IUT responds with an error when the a sensor does not have a characteristic #AtsMec_SensorsSharingService_TestCases.TC_MEC_MEC046_SRV_SENSLOOKUP_007_NF Loading
ttcn/AtsMec_SensorsSharingService/AtsMec_SensorsSharingService_TestCases.ttcn +1111 −0 File changed.Preview size limit exceeded, changes collapsed. Show changes
ttcn/AtsMec_SensorsSharingService/AtsMec_SensorsSharingService_TestControl.ttcn +28 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,34 @@ module AtsMec_SensorsSharingService_TestControl { execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_002_OK_02()); execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_002_BR()); execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_002_NF()); execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_003_OK()); execute(TC_MEC_MEC046_SRV_SENSDISCOVERY_003_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_001_OK_01()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_001_OK_02()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_001_BR()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_001_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_002_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_002_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_003_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_003_BR()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_003_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_004_OK_01()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_004_OK_02()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_004_BR()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_004_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_005_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_005_NF()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_006_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_007_OK()); execute(TC_MEC_MEC046_SRV_SENSLOOKUP_007_NF()); } } // End of 'alt' statement Loading
ttcn/LibMec/SensorsSharingService/ttcn/SensorsSharingService_Pixits.ttcn +6 −0 Original line number Diff line number Diff line Loading @@ -24,4 +24,10 @@ module SensorsSharingService_Pixits { modulepar charstring PX_UNKNOWN_SENSOR_IDENTIFIER := "UNKNOWN_SENSOR_IDENTIFIER"; modulepar charstring PX_UNKNOW_SUBSCRIPTION_ID := "UNKNOW_SUBSCRIPTION_ID"; modulepar Json.String PX_CHARACTERISTIC_NAME := ""; modulepar Json.String PX_CHARACTERISTIC_VALUE := ""; } // End of module SensorsSharingService_Pixits
ttcn/LibMec/SensorsSharingService/ttcn/SensorsSharingService_Templates.ttcn +2 −4 Original line number Diff line number Diff line Loading @@ -82,7 +82,6 @@ module SensorsSharingService_Templates { } // End of template mw_sensor_data template (omit) SensorDiscoveryEventSubscription m_sensor_discovery_event_subscription( in Json.String p_subscriptionType, in Json.AnyURI p_callbackReference, in template (omit) Links p_links := omit, in template (omit) SensorInfos p_sensorInfo := omit, Loading @@ -91,7 +90,7 @@ module SensorsSharingService_Templates { in template (omit) WebsockNotifConfig p_websockNotifConfig := omit, in template (omit) TimeStamp p_expiryDeadline := omit ) := { subscriptionType := p_subscriptionType, subscriptionType := "SensorDiscoveryEventSubscription", callbackReference := p_callbackReference, requestTestNotification := p_requestTestNotification, websockNotifConfig := p_websockNotifConfig, Loading @@ -102,7 +101,6 @@ module SensorsSharingService_Templates { } // End of template m_sensor_discovery_event_subscription template (present) SensorDiscoveryEventSubscription mw_sensor_discovery_event_subscription( template (present) Json.String p_subscriptionType := ?, template (present) Json.AnyURI p_callbackReference := ?, template Links p_links := *, template SensorInfos p_sensorInfo := *, Loading @@ -111,7 +109,7 @@ module SensorsSharingService_Templates { template WebsockNotifConfig p_websockNotifConfig := *, template TimeStamp p_expiryDeadline := * ) := { subscriptionType := p_subscriptionType, subscriptionType := "SensorDiscoveryEventSubscription", callbackReference := p_callbackReference, requestTestNotification := p_requestTestNotification, websockNotifConfig := p_websockNotifConfig, Loading