cargo/tests/tests.rs
Alex Crichton 2dff1ed610 Implement a cargo fetch command
This command is used to download all dependencies of a package ahead of time to
ensure that no more network communication will be necessary as part of a build.

cc #358
2014-09-16 15:59:39 -07:00

49 lines
991 B
Rust

#![feature(macro_rules)]
#![feature(phase)]
extern crate cargo;
extern crate flate2;
extern crate git2;
extern crate hamcrest;
extern crate serialize;
extern crate tar;
extern crate term;
extern crate url;
#[phase(plugin, link)]
extern crate log;
mod support;
macro_rules! test(
($name:ident $expr:expr) => (
#[test]
fn $name() {
::support::paths::setup();
setup();
$expr;
}
)
)
mod test_cargo;
mod test_cargo_bench;
mod test_cargo_clean;
mod test_cargo_compile;
mod test_cargo_compile_git_deps;
mod test_cargo_compile_path_deps;
mod test_cargo_test;
mod test_shell;
mod test_cargo_cross_compile;
mod test_cargo_run;
mod test_cargo_version;
mod test_cargo_new;
mod test_cargo_compile_plugins;
mod test_cargo_doc;
mod test_cargo_freshness;
mod test_cargo_generate_lockfile;
mod test_cargo_profiles;
mod test_cargo_package;
mod test_cargo_build_auth;
mod test_cargo_registry;
mod test_cargo_upload;
mod test_cargo_fetch;