Searched refs:assert_error (Results 1 – 6 of 6) sorted by relevance
/aosp_15_r20/system/sepolicy/tests/ |
H A D | apex_sepolicy_tests_test.py | 49 def assert_error(self, line: str, expected_error: str): member in ApexSepolicyTests 62 self.assert_error('./path1 invalid_contexts', 64 self.assert_error('./path1 u:object_r:vendor_file', 70 self.assert_error('./etc/vintf/fragment.xml u:object_r:vendor_file:s0', 75 self.assert_error('./etc/permissions/permisssion.xml u:object_r:vendor_file:s0', 83 self.assert_error('./etc/init.rc u:object_r:netd_service:s0', 87 self.assert_error('./etc/init.32rc u:object_r:netd_service:s0', 96 self.assert_error('./etc/linker.config.pb u:object_r:vendor_file:s0', 98 self.assert_error('./ u:object_r:apex_data_file:s0', 102 self.assert_error('./bin/hw/foo u:object_r:foo_exec:s0', [all …]
|
/aosp_15_r20/external/clang/test/Sema/ |
H A D | warn-string-conversion.c | 4 void assert_error(); 10 assert_error() 13 ((expr) ? do_nothing() : assert_error())
|
/aosp_15_r20/external/rust/android-crates-io/crates/argh/tests/ |
D | lib.rs | 394 fn assert_error<T: FromArgs + Debug>(args: &[&str], err_msg: &str) { in assert_error() function 414 assert_error::<Parsed>( in parsed() 602 assert_error::<LastOptional>(&["5", "6", "7"], "Unrecognized argument: 7\n"); in optional() 620 assert_error::<LastDefaulted>(&["5", "6", "7"], "Unrecognized argument: 7\n"); in defaulted() 637 assert_error::<LastRequired>( in required() 644 assert_error::<LastRequired>( in required() 663 assert_error::<Parsed>( in parsed() 685 assert_error::<WithOption>( in mixed_with_option() 732 assert_error::<WithSubcommand>( in mixed_with_subcommand() 761 assert_error::<Underscores>( in positional_name_with_underscores()
|
/aosp_15_r20/external/python/jinja/tests/ |
D | test_lexnparse.py | 282 def assert_error(code, expected): function 286 assert_error( 292 assert_error( 298 assert_error( 304 assert_error( 310 assert_error( 315 assert_error("{% unknown_tag %}", "Encountered unknown tag 'unknown_tag'.")
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/lua/ |
D | test_upb.lua | 472 assert_error(function() 716 assert_error(function () defpool:add_file(upb.encode(file)) end) 741 assert_error(function () defpool:add_file(upb.encode(file_proto)) end) 750 assert_error(function () defpool:add_file(upb.encode(file)) end) 788 assert_error(function() upb.encode(msg) end)
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/third_party/lunit/ |
D | lunit.lua | 281 function assert_error(msg, func) function 294 traceback_hide( assert_error )
|