2 Documentation Test suite tests resource specific operations of the oldest and latest resources according to
3 ... OneM2M specifications:
4 ... <oldest>: (TS-0001: 10.2.23 <oldest> Resource Procedure; TS-0004: 7.4.28.2 <oldest> Resource Specific Procedure on CRUD Operations)
5 ... <latest>: (TS-0001: 10.2.22 <latest> Resource Procedures; TS-0004: 7.4.27.2 <latest> Resource Specific Procedure on CRUD Operations)
6 Suite Setup Create Session session http://${ODL_SYSTEM_1_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
7 Suite Teardown Delete All Sessions
8 Library RequestsLibrary
9 Library ../../../libraries/Common.py
10 Resource ../../../libraries/Utils.robot
11 Resource ../../../variables/Variables.robot
16 1.00 Retrieve Oldest and Latest resources
17 [Documentation] Test retrieve operation of Oldest and Latest resources of containers:
18 ... 1. Container without any content instance.
19 ... 2. Container with single contentInstance, Oldest and Latest resources should be the same.
20 ... 3. Container with more than one contentInstnce, verify that the expected oldest and latest
21 ... contentInstances has been returned.
22 [Tags] not-implemented exclude
25 1.01 C/R Oldest and Latest: Verify that Create operation is not allowed
26 [Documentation] Try to create Oldest and Latest resources of containers with and without contentInstance
27 ... resources. Verify the error response and check if the container has not been changed.
28 [Tags] not-implemented exclude
31 1.02 U/R Oldest and Latest: Verify that Update operation is not allowed
32 [Documentation] Try to update Oldest and Latest resources of containers with and without contentInstance
33 ... resources. Verify the error response and check if the container has not been changed.
34 [Tags] not-implemented exclude
37 1.03 Delete Oldest and Latest resources
38 [Documentation] Delete Oldest and Latest resources of containers:
39 ... 1. Container without any content instance.
40 ... 2. Container with single contentInstance and verify the Oldest, Latest and parent container.
41 ... 3. Container with more than one contentInstance and verify the Oldest, Latest and parent container.
42 ... Delete util the parent container will include only one contentInstance and verify if the
43 ... Oldest and Latest are the same.
44 ... Delete also the last contentInstance and verify Oldest, Latest and parent container.
45 [Tags] not-implemented exclude
48 2.01 C/R ContentInstance: Create contentInstance and verify Oldest and Latest
49 [Documentation] Create contentInstances resource and verify Oldest and Latest in case of one contentInstance and
50 ... multiple contentInstances.
51 [Tags] not-implemented exclude
54 2.02 C/R ContentInstance: Create contentInstance which violates policy - positive
55 [Documentation] Create such contentInstance resource which trigers delete of Oldest and verify.
56 [Tags] not-implemented exclude
59 2.03 C/R ContentInstance: Create contentInstance which violates policy - negative
60 [Documentation] Create such contentInstance resource which results with NOT_ACCEPTABLE error and verify if
61 ... Oldest and Latest has not changed.
62 [Tags] not-implemented exclude
67 Fail "Not implemented"