mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Fix up the splitting of the unit tests crate.
Closes #5707. (Includes a rebase of it.) Fixes #5688.
This commit is contained in:
parent
7b9c9e1453
commit
ce1f2bab7b
15 changed files with 156 additions and 139 deletions
17
tests/unit/net/lib.rs
Normal file
17
tests/unit/net/lib.rs
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* 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/. */
|
||||
|
||||
#![cfg_attr(test, feature(net, alloc, path, io))]
|
||||
|
||||
extern crate net;
|
||||
extern crate net_traits;
|
||||
extern crate profile;
|
||||
extern crate url;
|
||||
extern crate util;
|
||||
|
||||
#[cfg(test)] mod cookie;
|
||||
#[cfg(test)] mod data_loader;
|
||||
#[cfg(test)] mod image_cache_task;
|
||||
#[cfg(test)] mod mime_classifier;
|
||||
#[cfg(test)] mod resource_task;
|
Loading…
Add table
Add a link
Reference in a new issue