@@ -245,7 +245,7 @@ TEST_FIXTURE(uri_address, stream_timeout, "Ignore:Apple", "Bug 885080")
245245
246246#pragma region Cancellation tests
247247
248- TEST_FIXTURE (uri_address, cancel_before_request)
248+ TEST_FIXTURE (uri_address, cancel_before_request, " Ignore:Linux " , " NYI " , " Ignore:Apple " , " NYI " )
249249{
250250 test_http_server::scoped_server scoped (m_uri);
251251 http_client c (m_uri);
@@ -258,9 +258,9 @@ TEST_FIXTURE(uri_address, cancel_before_request)
258258
259259// This test can't be implemented with our test server so isn't avaliable on WinRT.
260260#ifndef __cplusplus_winrt
261- TEST_FIXTURE (uri_address, cancel_after_headers, " Ignore:Linux" , " NYI" )
261+ TEST_FIXTURE (uri_address, cancel_after_headers, " Ignore:Linux" , " NYI" , " Ignore:Apple " , " NYI " )
262262{
263- web::http::experimental::listener::http_listener listener (m_uri);
263+ web::http::experimental::listener::http_listener listener (m_uri);
264264 listener.open ().wait ();
265265 http_client c (m_uri);
266266 pplx::cancellation_token_source source;
@@ -290,7 +290,7 @@ TEST_FIXTURE(uri_address, cancel_after_headers, "Ignore:Linux", "NYI")
290290}
291291#endif
292292
293- TEST_FIXTURE (uri_address, cancel_after_body, " Ignore:Linux" , " NYI" )
293+ TEST_FIXTURE (uri_address, cancel_after_body, " Ignore:Linux" , " NYI" , " Ignore:Apple " , " NYI " )
294294{
295295 test_http_server::scoped_server scoped (m_uri);
296296 test_http_server * p_server = scoped.server ();
@@ -311,22 +311,22 @@ TEST_FIXTURE(uri_address, cancel_after_body, "Ignore:Linux", "NYI")
311311 response.content_ready ().wait ();
312312}
313313
314- TEST_FIXTURE (uri_address, cancel_with_error, " Ignore:Linux" , " NYI" )
314+ TEST_FIXTURE (uri_address, cancel_with_error, " Ignore:Linux" , " NYI" , " Ignore:Apple " , " NYI " )
315315{
316316 test_http_server server (m_uri);
317317 VERIFY_ARE_EQUAL (0 , server.open ());
318318 http_client c (m_uri);
319319 pplx::cancellation_token_source source;
320-
320+
321321 auto responseTask = c.request (methods::GET, U (" /" ), source.get_token ());
322322 source.cancel ();
323323 VERIFY_ARE_EQUAL (0 , server.close ());
324-
324+
325325 // All errors after cancellation are ignored.
326326 VERIFY_THROWS_HTTP_ERROR_CODE (responseTask.get (), std::errc::operation_canceled);
327327}
328328
329- TEST_FIXTURE (uri_address, cancel_while_uploading_data)
329+ TEST_FIXTURE (uri_address, cancel_while_uploading_data, " Ignore:Linux " , " NYI " , " Ignore:Apple " , " NYI " )
330330{
331331 test_http_server::scoped_server scoped (m_uri);
332332 http_client c (m_uri);
@@ -343,7 +343,7 @@ TEST_FIXTURE(uri_address, cancel_while_uploading_data)
343343
344344// This test can't be implemented with our test server since it doesn't stream data so isn't avaliable on WinRT.
345345#ifndef __cplusplus_winrt
346- TEST_FIXTURE (uri_address, cancel_while_downloading_data, " Ignore:Linux" , " NYI" )
346+ TEST_FIXTURE (uri_address, cancel_while_downloading_data, " Ignore:Linux" , " NYI" , " Ignore:Apple " , " NYI " )
347347{
348348 web::http::experimental::listener::http_listener listener (m_uri);
349349 listener.open ().wait ();
0 commit comments