Home
last modified time | relevance | path

Searched refs:assert_error_match (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/lua/
Dtest_upb.lua195 assert_error_match("Error decoding protobuf", function()
326 assert_error_match("lupb.array expected", function() msg.repeated_int32 = 5 end)
332 assert_error_match("array type mismatch", assign_int64)
344 assert_error_match("array expected", function() msg.repeated_int32 = "abc" end)
345 assert_error_match("array expected", function() msg.repeated_int32 = true end)
346 assert_error_match("array expected", function() msg.repeated_int32 = false end)
347 assert_error_match("array expected", function() msg.repeated_int32 = nil end)
348 assert_error_match("array expected", function() msg.repeated_int32 = {} end)
349 assert_error_match("array expected", function() msg.repeated_int32 = print end)
372 assert_error_match("message type mismatch", assign_int64)
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/third_party/lunit/
Dlunit.lua297 function assert_error_match(msg, pattern, func) function
319 traceback_hide( assert_error_match )