From c1e8beacdccefa75d10dc97d2884a6ad8d2d2134 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 9 Mar 2017 10:29:34 +0100 Subject: [PATCH] Remove unused content-blocker dependency from unit tests. --- Cargo.lock | 12 ------------ tests/unit/net/Cargo.toml | 1 - tests/unit/net/http_loader.rs | 1 - tests/unit/net/lib.rs | 1 - 4 files changed, 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 20ca2b76d5e5..c14dfbfe84ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -456,16 +456,6 @@ dependencies = [ "webvr_traits 0.0.1", ] -[[package]] -name = "content-blocker" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "regex 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "cookie" version = "0.2.5" @@ -1719,7 +1709,6 @@ dependencies = [ name = "net_tests" version = "0.0.1" dependencies = [ - "content-blocker 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "cookie 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", "devtools_traits 0.0.1", "flate2 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", @@ -3357,7 +3346,6 @@ dependencies = [ "checksum cocoa 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d55b620aff4da7d4b9d85f2974cc62a097146623b75e3f36734fe68d8cef493e" "checksum color_quant 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a475fc4af42d83d28adf72968d9bcfaf035a1a9381642d8e85d8a04957767b0d" "checksum compiletest_rs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f3f344389765ad7bec166f64c1b39ed6dd2b54d81c4c5dd8af789169351d380c" -"checksum content-blocker 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "44dfb2f06e219a5bdec05c5811dde4d893c34c49ffed384c9d0a2e9caca9c154" "checksum cookie 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0e3d6405328b6edb412158b3b7710e2634e23f3614b9bb1c412df7952489a626" "checksum core-foundation 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f51ce3b8ebe311c56de14231eb57572c15abebd2d32b3bcb99bcdb9c101f5ac3" "checksum core-foundation-sys 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "41115a6aa5d3e1e5ef98148373f25971d1fad53818553f216495f9e67e90a624" diff --git a/tests/unit/net/Cargo.toml b/tests/unit/net/Cargo.toml index bbfe3dfc2513..bfe13cd887ae 100644 --- a/tests/unit/net/Cargo.toml +++ b/tests/unit/net/Cargo.toml @@ -10,7 +10,6 @@ path = "lib.rs" doctest = false [dependencies] -content-blocker = "0.2.3" cookie = "0.2" devtools_traits = {path = "../../../components/devtools_traits"} flate2 = "0.2.0" diff --git a/tests/unit/net/http_loader.rs b/tests/unit/net/http_loader.rs index eae4f4c3c4c3..a55b2e78eb62 100644 --- a/tests/unit/net/http_loader.rs +++ b/tests/unit/net/http_loader.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use content_blocker::parse_list; use cookie_rs::Cookie as CookiePair; use devtools_traits::{ChromeToDevtoolsControlMsg, DevtoolsControlMsg, NetworkEvent}; use devtools_traits::HttpRequest as DevtoolsHttpRequest; diff --git a/tests/unit/net/lib.rs b/tests/unit/net/lib.rs index ce8ad0416c56..3c96f7f91cb9 100644 --- a/tests/unit/net/lib.rs +++ b/tests/unit/net/lib.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -extern crate content_blocker; extern crate cookie as cookie_rs; extern crate devtools_traits; extern crate flate2;