blob: 6276ef7d3d8874de1c066a44c295f4b7eb4c3d41 [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/rust/rustc_test.gni")
import("//src/sys/build/components.gni")
rustc_test("http_client_integration_test") {
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.net.http:fuchsia.net.http-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:rouille",
]
sources = [ "src/lib.rs" ]
}
fuchsia_component("component") {
component_name = "http-client-integration-test"
testonly = true
manifest = "meta/http_client_integration_test.cmx"
deps = [ ":http_client_integration_test" ]
}
fuchsia_test_package("http-client-integration-tests") {
test_components = [ ":component" ]
deps = [
# The component under test.
"../:component",
"//src/connectivity/network/netstack:component-debug",
]
}
group("tests") {
testonly = true
deps = [ ":http-client-integration-tests" ]
}