rust/src/libcoretest
NODA, Kai f27ad3d3e9 Clean up rustc warnings.
compiletest: compact "linux" "macos" etc.as "unix".
liballoc: remove a superfluous "use".
libcollections: remove invocations of deprecated methods in favor of
    their suggested replacements and use "_" for a loop counter.
libcoretest: remove invocations of deprecated methods;  also add
    "allow(deprecated)" for testing a deprecated method itself.
libglob: use "cfg_attr".
libgraphviz: add a test for one of data constructors.
libgreen: remove a superfluous "use".
libnum: "allow(type_overflow)" for type cast into u8 in a test code.
librustc: names of static variables should be in upper case.
libserialize: v[i] instead of get().
libstd/ascii: to_lowercase() instead of to_lower().
libstd/bitflags: modify AnotherSetOfFlags to use i8 as its backend.
    It will serve better for testing various aspects of bitflags!.
libstd/collections: "allow(deprecated)" for testing a deprecated
    method itself.
libstd/io: remove invocations of deprecated methods and superfluous "use".
    Also add #[test] where it was missing.
libstd/num: introduce a helper function to effectively remove
    invocations of a deprecated method.
libstd/path and rand: remove invocations of deprecated methods and
    superfluous "use".
libstd/task and libsync/comm: "allow(deprecated)" for testing
    a deprecated method itself.
libsync/deque: remove superfluous "unsafe".
libsync/mutex and once: names of static variables should be in upper case.
libterm: introduce a helper function to effectively remove
    invocations of a deprecated method.

We still see a few warnings about using obsoleted native::task::spawn()
in the test modules for libsync.  I'm not sure how I should replace them
with std::task::TaksBuilder and native::task::NativeTaskBuilder
(dependency to libstd?)

Signed-off-by: NODA, Kai <nodakai@gmail.com>
2014-10-13 14:16:22 +08:00
..
fmt coretest: Ensure that pointer formatting flags are cleaned up 2014-09-09 20:34:41 +01:00
num Make integer bit count methods return uints 2014-09-05 14:01:41 +10:00
any.rs Remove some test warnings. 2014-09-09 11:32:58 +02:00
atomic.rs Register new snapshots 2014-10-10 22:09:49 -07:00
cell.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
char.rs Clean up rustc warnings. 2014-10-13 14:16:22 +08:00
clone.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
cmp.rs Add partial_min/max to libcore/cmp 2014-09-25 14:12:03 +02:00
finally.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
iter.rs Clean up rustc warnings. 2014-10-13 14:16:22 +08:00
lib.rs Put slicing syntax behind a feature gate. 2014-10-07 15:49:53 +13:00
mem.rs Clean up rustc warnings. 2014-10-13 14:16:22 +08:00
ops.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
option.rs Update calls of deprecated functions in macros. 2014-09-22 19:30:06 +02:00
ptr.rs Rename RawPtr::to_option() to RawPtr::as_ref() 2014-08-31 13:33:55 -05:00
raw.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
result.rs Clean up rustc warnings. 2014-10-13 14:16:22 +08:00
slice.rs core: Add binary_search and binary_search_elem methods to slices. 2014-08-13 11:30:15 -07:00
str.rs core: Make TwoWaySearcher reset its prefix memory when shifting by byteset 2014-09-02 01:53:12 -04:00
tuple.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00