Searched refs:assert_to_string (Results 1 – 8 of 8) sorted by relevance
/aosp_15_r20/external/rust/android-crates-io/crates/semver/tests/ |
D | test_version_req.rs | 39 assert_to_string(r, "^1.0.0"); in test_basic() 54 assert_to_string(r, "=1.0.0"); in test_exact() 59 assert_to_string(r, "=0.9.0"); in test_exact() 64 assert_to_string(r, "=0.0.2"); in test_exact() 69 assert_to_string(r, "=0.1.0-beta2.a"); in test_exact() 74 assert_to_string(r, "=0.1.0"); in test_exact() 81 assert_to_string(r, ">=1.0.0"); in test_greater_than() 86 assert_to_string(r, ">=2.1.0-alpha2"); in test_greater_than() 97 assert_to_string(r, "<1.0.0"); in test_less_than() 121 assert_to_string(r, ">0.0.9, <=2.5.3"); in test_multiple() [all …]
|
D | test_version.rs | 15 assert_to_string(err, "empty string, expected a semver version"); in test_parse() 18 assert_to_string( in test_parse() 24 assert_to_string( in test_parse() 30 assert_to_string( in test_parse() 36 assert_to_string(err, "empty identifier segment in pre-release identifier"); in test_parse() 39 assert_to_string( in test_parse() 45 assert_to_string(err, "unexpected character ' ' after patch version number"); in test_parse() 48 assert_to_string(err, "invalid leading zero in pre-release identifier"); in test_parse() 51 assert_to_string(err, "empty identifier segment in build metadata"); in test_parse() 54 assert_to_string(err, "invalid leading zero in major version number"); in test_parse() [all …]
|
D | test_identifier.rs | 50 assert_to_string(err, "unexpected character in pre-release identifier"); in test_prerelease()
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/semver-1.0.22/tests/ |
H A D | test_version_req.rs | 39 assert_to_string(r, "^1.0.0"); in test_basic() 54 assert_to_string(r, "=1.0.0"); in test_exact() 59 assert_to_string(r, "=0.9.0"); in test_exact() 64 assert_to_string(r, "=0.0.2"); in test_exact() 69 assert_to_string(r, "=0.1.0-beta2.a"); in test_exact() 74 assert_to_string(r, "=0.1.0"); in test_exact() 81 assert_to_string(r, ">=1.0.0"); in test_greater_than() 86 assert_to_string(r, ">=2.1.0-alpha2"); in test_greater_than() 97 assert_to_string(r, "<1.0.0"); in test_less_than() 121 assert_to_string(r, ">0.0.9, <=2.5.3"); in test_multiple() [all …]
|
H A D | test_version.rs | 15 assert_to_string(err, "empty string, expected a semver version"); in test_parse() 18 assert_to_string( in test_parse() 24 assert_to_string( in test_parse() 30 assert_to_string( in test_parse() 36 assert_to_string(err, "empty identifier segment in pre-release identifier"); in test_parse() 39 assert_to_string( in test_parse() 45 assert_to_string(err, "unexpected character ' ' after patch version number"); in test_parse() 48 assert_to_string(err, "invalid leading zero in pre-release identifier"); in test_parse() 51 assert_to_string(err, "empty identifier segment in build metadata"); in test_parse() 54 assert_to_string(err, "invalid leading zero in major version number"); in test_parse() [all …]
|
H A D | test_identifier.rs | 50 assert_to_string(err, "unexpected character in pre-release identifier"); in test_prerelease()
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/semver-1.0.22/tests/util/ |
H A D | mod.rs | 52 pub(super) fn assert_to_string(value: impl Display, expected: &str) { in assert_to_string() function
|
/aosp_15_r20/external/rust/android-crates-io/crates/semver/tests/util/ |
D | mod.rs | 52 pub(super) fn assert_to_string(value: impl Display, expected: &str) { in assert_to_string() function
|