Home
last modified time | relevance | path

Searched refs:assert_tokens (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/serde/test_suite/tests/
Dtest_macros.rs12 assert_de_tokens, assert_de_tokens_error, assert_ser_tokens, assert_tokens, Token,
117 assert_tokens(&NamedUnit, &[Token::UnitStruct { name: "NamedUnit" }]); in test_named_unit()
286 assert_tokens( in test_de_enum_unit()
302 assert_tokens( in test_de_enum_seq()
326 assert_tokens( in test_de_enum_map()
409 assert_tokens( in test_generic_struct()
425 assert_tokens( in test_generic_newtype_struct()
445 assert_tokens( in test_untagged_newtype_struct()
483 assert_tokens( in test_generic_tuple_struct()
499 assert_tokens( in test_generic_enum_unit()
[all …]
Dtest_roundtrip.rs1 use serde_test::{assert_tokens, Configure, Token};
11 assert_tokens( in ip_addr_roundtrip()
27 assert_tokens( in socket_addr_roundtrip()
Dtest_annotations.rs20 assert_tokens, Token,
539 assert_tokens( in test_rename_struct()
689 assert_tokens( in test_rename_enum()
697 assert_tokens( in test_rename_enum()
708 assert_tokens( in test_rename_enum()
722 assert_tokens( in test_rename_enum()
1634 assert_tokens( in test_collect_other()
1986 assert_tokens( in test_flatten_unit()
2046 assert_tokens( in test_non_string_keys()
2087 assert_tokens( in test_lifetime_propagation_for_flatten()
[all …]
/third_party/rust/crates/serde/test_suite/tests/unstable/
Dmod.rs2 use serde_test::{assert_tokens, Token};
12 assert_tokens( in test_raw_identifiers()
/third_party/rust/crates/log/src/
Dserde.rs209 use self::serde_test::{assert_de_tokens, assert_de_tokens_error, assert_tokens, Token};
274 assert_tokens(&s, &expected); in test_level_ser_de()
342 assert_tokens(&s, &expected); in test_level_filter_ser_de()
/third_party/rust/crates/serde/serde_test/src/
Dlib.rs182 assert_tokens,
Dassert.rs32 pub fn assert_tokens<'de, T>(value: &T, tokens: &'de [Token]) in assert_tokens() function