File tree Expand file tree Collapse file tree 3 files changed +20
-29
lines changed
test/protocol-tests-core/src/main
java/software/amazon/awssdk/protocol/model
resources/software/amazon/awssdk/protocol/suites/cases Expand file tree Collapse file tree 3 files changed +20
-29
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,10 @@ public class Then {
32
32
33
33
@ JsonCreator
34
34
public Then (@ JsonProperty ("serializedAs" ) SerializedAs serializedAs ,
35
- @ JsonProperty ("deserializedAs" ) JsonNode deserializedAs ,
36
- @ JsonProperty ("errorDeserializedAs" ) JsonNode errorDeserializedAs ) {
35
+ @ JsonProperty ("deserializedAs" ) JsonNode deserializedAs ) {
37
36
this .serializedAs = serializedAs ;
38
37
this .deserializedAs = new UnmarshalledResultAssertion (deserializedAs );
39
- this .errorDeserializedAs = new UnmarshalledErrorAssertion (errorDeserializedAs );
38
+ this .errorDeserializedAs = new UnmarshalledErrorAssertion (deserializedAs );
40
39
}
41
40
42
41
/**
Original file line number Diff line number Diff line change 13
13
},
14
14
"when" : {
15
15
"action" : " unmarshall" ,
16
- "operation" : " QueryCompatibleOperation"
16
+ "operation" : " QueryCompatibleOperation" ,
17
+ "error" : " NoCustomCodeError"
17
18
},
18
19
"then" : {
19
- "errorDeserializedAs" : {
20
- "errorCode" : " NoCustomCodeError" ,
21
- "error" : {
22
- "message" : " Hi"
23
- }
20
+ "deserializedAs" : {
21
+ "message" : " Hi"
24
22
}
25
23
}
26
24
},
39
37
},
40
38
"when" : {
41
39
"action" : " unmarshall" ,
42
- "operation" : " QueryCompatibleOperation"
40
+ "operation" : " QueryCompatibleOperation" ,
41
+ "error" : " Customized"
43
42
},
44
43
"then" : {
45
- "errorDeserializedAs" : {
46
- "errorCode" : " Customized" ,
47
- "error" : {
48
- "message" : " Hi"
49
- }
44
+ "deserializedAs" : {
45
+ "message" : " Hi"
50
46
}
51
47
}
52
48
}
53
- ]
49
+ ]
Original file line number Diff line number Diff line change 14
14
},
15
15
"when" : {
16
16
"action" : " unmarshall" ,
17
- "operation" : " QueryCompatibleOperation"
17
+ "operation" : " QueryCompatibleOperation" ,
18
+ "error" : " NoCustomCodeError"
18
19
},
19
20
"then" : {
20
- "errorDeserializedAs" : {
21
- "errorCode" : " NoCustomCodeError" ,
22
- "error" : {
23
- "message" : " Hi"
24
- }
21
+ "deserializedAs" : {
22
+ "message" : " Hi"
25
23
}
26
24
}
27
25
},
41
39
},
42
40
"when" : {
43
41
"action" : " unmarshall" ,
44
- "operation" : " QueryCompatibleOperation"
42
+ "operation" : " QueryCompatibleOperation" ,
43
+ "error" : " Customized"
45
44
},
46
45
"then" : {
47
- "errorDeserializedAs" : {
48
- "errorCode" : " Customized" ,
49
- "error" : {
50
- "message" : " Hi"
51
- }
46
+ "deserializedAs" : {
47
+ "message" : " Hi"
52
48
}
53
49
}
54
50
}
55
- ]
51
+ ]
You can’t perform that action at this time.
0 commit comments