@@ -30,14 +30,13 @@ AWS_PROTOCOL_TEST(QueryLists, Ec2Lists) {
30
30
}
31
31
32
32
auto outcome = client.QueryLists (request);
33
- AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
34
-
35
33
ExpectedRequest expectedRq;
36
34
expectedRq.method = " POST" ;
37
35
expectedRq.body = " QWN0aW9uPVF1ZXJ5TGlzdHMmVmVyc2lvbj0yMDIwLTAxLTA4Jkxpc3RBcmcuMT1mb28mTGlzdEFyZy4yPWJhciZMaXN0QXJnLjM9YmF6JkNvbXBsZXhMaXN0QXJnLjEuSGk9aGVsbG8mQ29tcGxleExpc3RBcmcuMi5IaT1ob2xh" ;
38
36
expectedRq.uri = " /" ;
39
37
expectedRq.headers = {{" Content-Type" , R"( application/x-www-form-urlencoded)" }};
40
38
ValidateRequestSent (expectedRq);
39
+ AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
41
40
}
42
41
43
42
AWS_PROTOCOL_TEST (QueryLists, Ec2EmptyQueryLists) {
@@ -49,14 +48,13 @@ AWS_PROTOCOL_TEST(QueryLists, Ec2EmptyQueryLists) {
49
48
request.SetListArg ({});
50
49
51
50
auto outcome = client.QueryLists (request);
52
- AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
53
-
54
51
ExpectedRequest expectedRq;
55
52
expectedRq.method = " POST" ;
56
53
expectedRq.body = " QWN0aW9uPVF1ZXJ5TGlzdHMmVmVyc2lvbj0yMDIwLTAxLTA4" ;
57
54
expectedRq.uri = " /" ;
58
55
expectedRq.headers = {{" Content-Type" , R"( application/x-www-form-urlencoded)" }};
59
56
ValidateRequestSent (expectedRq);
57
+ AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
60
58
}
61
59
62
60
AWS_PROTOCOL_TEST (QueryLists, Ec2ListArgWithXmlNameMember) {
@@ -68,14 +66,13 @@ AWS_PROTOCOL_TEST(QueryLists, Ec2ListArgWithXmlNameMember) {
68
66
request.SetListArgWithXmlNameMember ({R"( A)" , R"( B)" });
69
67
70
68
auto outcome = client.QueryLists (request);
71
- AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
72
-
73
69
ExpectedRequest expectedRq;
74
70
expectedRq.method = " POST" ;
75
71
expectedRq.body = " QWN0aW9uPVF1ZXJ5TGlzdHMmVmVyc2lvbj0yMDIwLTAxLTA4Jkxpc3RBcmdXaXRoWG1sTmFtZU1lbWJlci4xPUEmTGlzdEFyZ1dpdGhYbWxOYW1lTWVtYmVyLjI9Qg==" ;
76
72
expectedRq.uri = " /" ;
77
73
expectedRq.headers = {{" Content-Type" , R"( application/x-www-form-urlencoded)" }};
78
74
ValidateRequestSent (expectedRq);
75
+ AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
79
76
}
80
77
81
78
AWS_PROTOCOL_TEST (QueryLists, Ec2ListMemberWithXmlName) {
@@ -87,14 +84,13 @@ AWS_PROTOCOL_TEST(QueryLists, Ec2ListMemberWithXmlName) {
87
84
request.SetListArgWithXmlName ({R"( A)" , R"( B)" });
88
85
89
86
auto outcome = client.QueryLists (request);
90
- AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
91
-
92
87
ExpectedRequest expectedRq;
93
88
expectedRq.method = " POST" ;
94
89
expectedRq.body = " QWN0aW9uPVF1ZXJ5TGlzdHMmVmVyc2lvbj0yMDIwLTAxLTA4JkhpLjE9QSZIaS4yPUI=" ;
95
90
expectedRq.uri = " /" ;
96
91
expectedRq.headers = {{" Content-Type" , R"( application/x-www-form-urlencoded)" }};
97
92
ValidateRequestSent (expectedRq);
93
+ AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
98
94
}
99
95
100
96
AWS_PROTOCOL_TEST (QueryLists, Ec2ListNestedStructWithList) {
@@ -110,12 +106,11 @@ AWS_PROTOCOL_TEST(QueryLists, Ec2ListNestedStructWithList) {
110
106
}
111
107
112
108
auto outcome = client.QueryLists (request);
113
- AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
114
-
115
109
ExpectedRequest expectedRq;
116
110
expectedRq.method = " POST" ;
117
111
expectedRq.body = " QWN0aW9uPVF1ZXJ5TGlzdHMmVmVyc2lvbj0yMDIwLTAxLTA4Jk5lc3RlZFdpdGhMaXN0Lkxpc3RBcmcuMT1BJk5lc3RlZFdpdGhMaXN0Lkxpc3RBcmcuMj1C" ;
118
112
expectedRq.uri = " /" ;
119
113
expectedRq.headers = {{" Content-Type" , R"( application/x-www-form-urlencoded)" }};
120
114
ValidateRequestSent (expectedRq);
115
+ AWS_ASSERT_SUCCESS (outcome) << outcome.GetError ();
121
116
}
0 commit comments