Lines Matching refs:to
3 This is a custom Rust test harness which allows tests to be ignored at runtime based on arbitrary
4 criteria. The built-in Rust test harness only allows tests to be ignored at compile time, but this
5 is often not enough on Android, where we want to ignore tests based on system properties or other
10 Unfortunately without the built-in support that rustc provides to the standard test harness, this
11 one is slightly more cumbersome to use. Firstly, add it to the `rust_test` build rule in your
22 If you are testing a binary that has a `main` function, you'll need to remove it from the test
33 to worry about this.)
48 evaluates to a boolean:
60 Somewhere in your main module, you need to use the `test_main` macro to generate an entry point for
72 To run the same test multiple times with different parameter values, add an argument to the
84 The initial argument to the `rdroidtest` attribute is an expression that generates the set of
85 parameters to invoke the test with. This expression should evaluate to a vector of `(String, T)`
125 - `<I>` is an expression that evaluates to a `bool`.
126 - `<G>` is an expression that evaluates to a `Vec<String, T>`.