Commit a04a86dd authored by Yann Garcia's avatar Yann Garcia
Browse files

Continue implementation of MEC 046 TPs

parent 2d363398
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
@@ -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








+1111 −0

File changed.

Preview size limit exceeded, changes collapsed.

+28 −0
Original line number Diff line number Diff line
@@ -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
+6 −0
Original line number Diff line number Diff line
@@ -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
+2 −4
Original line number Diff line number Diff line
@@ -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,
@@ -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,
@@ -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  := *,
@@ -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