Home
last modified time | relevance | path

Searched refs:assert_ser_tokens_error (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/serde/test_suite/tests/
Dtest_ser.rs26 use serde_test::{assert_ser_tokens, assert_ser_tokens_error, Configure, Token};
804 assert_ser_tokens_error( in test_cannot_serialize_paths()
813 assert_ser_tokens_error(&path_buf, &[], "path contains invalid UTF-8 characters"); in test_cannot_serialize_paths()
820 assert_ser_tokens_error(&ref_cell, &[], "already mutably borrowed"); in test_cannot_serialize_mutably_borrowed_ref_cell()
825 assert_ser_tokens_error( in test_enum_skipped()
830 assert_ser_tokens_error( in test_enum_skipped()
835 assert_ser_tokens_error( in test_enum_skipped()
840 assert_ser_tokens_error( in test_enum_skipped()
849 assert_ser_tokens_error(&1i128, &[], "i128 is not supported"); in test_integer128()
851 assert_ser_tokens_error(&1u128, &[], "u128 is not supported"); in test_integer128()
Dtest_annotations.rs19 assert_de_tokens, assert_de_tokens_error, assert_ser_tokens, assert_ser_tokens_error,
2009 assert_ser_tokens_error( in test_flatten_unsupported_type()
/third_party/rust/crates/serde/serde_test/src/
Dlib.rs181 assert_de_tokens, assert_de_tokens_error, assert_ser_tokens, assert_ser_tokens_error,
Dassert.rs116 pub fn assert_ser_tokens_error<T: ?Sized>(value: &T, tokens: &[Token], error: &str) in assert_ser_tokens_error() function