chore(lib): individually disable tests and examples that aren't updated

This commit is contained in:
Sean McArthur
2019-07-12 13:29:57 -07:00
parent f93463b3d9
commit 5da17df97f
29 changed files with 120 additions and 61 deletions

View File

@@ -569,6 +569,10 @@ impl ConnectingTcp {
#[cfg(test)]
mod tests {
// FIXME: re-implement tests with `async/await`, this import should
// trigger a warning to remind us
use crate::Error;
/*
use std::io;
use futures::Future;
use super::{Connect, Destination, HttpConnector};
@@ -755,5 +759,6 @@ mod tests {
(reachable, duration)
}
}
*/
}

View File

@@ -250,6 +250,10 @@ impl<T, U> Callback<T, U> {
#[cfg(test)]
mod tests {
// FIXME: re-implement tests with `async/await`, this import should
// trigger a warning to remind us
use crate::Error;
/*
extern crate pretty_env_logger;
#[cfg(feature = "nightly")]
extern crate test;
@@ -367,4 +371,5 @@ mod tests {
rx.taker.cancel();
})
}
*/
}

View File

@@ -774,6 +774,11 @@ impl<T> WeakOpt<T> {
#[cfg(test)]
mod tests {
// FIXME: re-implement tests with `async/await`, this import should
// trigger a warning to remind us
use crate::Error;
/*
use std::sync::Arc;
use std::time::Duration;
use futures::{Async, Future};
@@ -998,4 +1003,5 @@ mod tests {
assert!(!pool.locked().idle.contains_key(&key));
}
*/
}

View File

@@ -1,3 +1,7 @@
// FIXME: re-implement tests with `async/await`, this import should
// trigger a warning to remind us
use super::Client;
/*
#![cfg(feature = "runtime")]
extern crate pretty_env_logger;
@@ -267,3 +271,4 @@ fn bench_http1_get_10b(b: &mut test::Bencher) {
rt.block_on(res1.join(srv1)).expect("res1");
});
}
*/