2022-07-10 17:06:19 +02:00
|
|
|
#[test]
|
|
|
|
fn tests() {
|
|
|
|
let t = trybuild::TestCases::new();
|
2022-07-14 13:16:03 +02:00
|
|
|
|
2022-07-10 17:06:19 +02:00
|
|
|
// --- Auth ---
|
|
|
|
t.pass("tests/login.rs");
|
|
|
|
t.pass("tests/logout.rs");
|
|
|
|
|
|
|
|
// --- Parameters ---
|
|
|
|
t.pass("tests/without_parameters.rs");
|
|
|
|
// t.pass("tests/with_parameters.rs");
|
|
|
|
t.pass("tests/default_parameters.rs");
|
|
|
|
|
|
|
|
// --- Return types ---
|
|
|
|
t.pass("tests/return_type.rs");
|
|
|
|
t.pass("tests/return_type_with_optional_params.rs");
|
|
|
|
t.pass("tests/return_type_enum.rs");
|
|
|
|
|
|
|
|
// --- Misc ---
|
|
|
|
t.pass("tests/add_torrent.rs");
|
|
|
|
t.pass("tests/another_struct_name.rs");
|
2022-07-12 12:45:19 +02:00
|
|
|
t.pass("tests/access_impl_types.rs");
|
2022-07-14 15:07:50 +02:00
|
|
|
t.pass("tests/search_types.rs");
|
2022-08-06 03:43:44 +02:00
|
|
|
t.pass("tests/access_search.rs");
|
2022-07-10 17:06:19 +02:00
|
|
|
}
|