servo/tests/unit/net
bors-servo 95883dcbcf Auto merge of #9907 - nikkisquared:async_tests, r=jdm
Add Tests For Asynchronous Fetch Calls With Filtered Responses

I've added two tests using async_fetch intended to create filtered responses. I caught and fixed a bug where waiting for response.body to be completed would never pass for Opaque or OpaqueRedirect, since their response.body is always `Empty`.

As always, I'd appreciate review and feedback! I don't plan to write new tests, but I will gladly patch up any gaps in the current tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9907)
<!-- Reviewable:end -->
2016-03-10 08:59:07 +05:30
..
parsable_mime Fix off-by-one error in MIME pattern matching 2016-02-23 11:53:32 +00:00
Cargo.toml Bump url to 0.5.7 2016-03-09 20:15:16 +01:00
cookie.rs Add path_match tests 2015-11-30 22:56:13 +05:30
data_loader.rs Remove unused import from tests/unit/net/data_loader.rs 2016-01-25 22:27:03 +01:00
fetch.rs Auto merge of #9907 - nikkisquared:async_tests, r=jdm 2016-03-10 08:59:07 +05:30
hsts.rs Implement 'url!(..)' macro 2015-11-21 08:15:56 -05:00
http_loader.rs create cookie as HTTP instead of NonHttp in test 2016-03-03 17:16:07 +00:00
lib.rs working on implementing Cors Check and Origin to Ascii serialisation 2016-02-09 13:51:35 -07:00
mime_classifier.rs Add validation code for MIME checkers 2016-02-19 13:11:13 +00:00
resource_thread.rs task -> thread 2016-01-10 17:58:13 +09:00
test.jpeg Move net::{data_loader,image_cache_task} unit tests into the unit_tests crate. 2015-04-08 01:07:50 +02:00