Skip to content

Commit 5531ef9

Browse files
committed
C++: Accept test changes.
1 parent cbc2dbc commit 5531ef9

File tree

5 files changed

+229
-78
lines changed

5 files changed

+229
-78
lines changed

cpp/ql/test/library-tests/dataflow/external-models/azure.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -255,43 +255,43 @@ void test_BodyStream() {
255255
{
256256
unsigned char buffer[1024];
257257
resp->Read(buffer, sizeof(buffer));
258-
sink(*buffer); // $ MISSING: ir
258+
sink(*buffer); // $ ir
259259
}
260260
{
261261
unsigned char buffer[1024];
262262
resp->ReadToCount(buffer, sizeof(buffer));
263-
sink(*buffer); // $ MISSING: ir
263+
sink(*buffer); // $ ir
264264
}
265265
{
266266
std::vector<unsigned char> vec = resp->ReadToEnd();
267-
sink(vec); // $ MISSING: ir
267+
sink(vec); // $ ir
268268
}
269269
}
270270

271271
void test_RawResponse(Azure::Core::Http::RawResponse& resp) {
272272
{
273273
std::map<std::string, std::string> body = resp.GetHeaders();
274-
sink(body["Content-Type"]); // $ MISSING: ir
274+
sink(body["Content-Type"]); // $ ir
275275
}
276276
{
277277
std::vector<uint8_t> body = resp.GetBody();
278-
sink(body); // $ MISSING: ir
278+
sink(body); // $ ir
279279
}
280280
{
281281
std::unique_ptr<Azure::Core::IO::BodyStream> bodyStream = resp.ExtractBodyStream();
282-
sink(bodyStream.get()->ReadToEnd()); // $ MISSING: ir
282+
sink(bodyStream.get()->ReadToEnd()); // $ ir
283283
}
284284
}
285285

286286
void test_GetHeader() {
287287
Azure::Core::Http::Request request(Azure::Core::Http::Get, Azure::Core::Url("http://example.com"));
288288
{
289289
auto headerValue = request.GetHeader("Content-Type").Value();
290-
sink(headerValue); // $ MISSING: ir
290+
sink(headerValue); // $ ir
291291
}
292292
{
293293
std::map<std::string, std::string> headers = request.GetHeaders();
294294
std::string contentType = headers["Content-Type"];
295-
sink(contentType); // $ MISSING: ir
295+
sink(contentType); // $ ir
296296
}
297297
}

0 commit comments

Comments
 (0)