Home
last modified time | relevance | path

Searched refs:should_fail (Results 1 – 19 of 19) sorted by relevance

/third_party/googletest/googletest/test/
Dgoogletest-throw-on-failure-test.py80 def RunAndVerify(self, env_var_value, flag_value, should_fail): argument
110 if should_fail:
123 self.assert_(failed == should_fail, msg)
128 self.RunAndVerify(env_var_value=None, flag_value=None, should_fail=False)
135 should_fail=False)
138 should_fail=True)
145 should_fail=False)
148 should_fail=True)
155 should_fail=False)
158 should_fail=True)
[all …]
/third_party/openssl/external/perl/Text-Template-1.56/t/
Dtaint.t36 sub should_fail { subroutine
76 should_fail TYPE => 'file', SOURCE => $tfile;
77 should_fail TYPE => 'file', SOURCE => $tfile, UNTAINT => 1;
78 should_fail TYPE => 'file', SOURCE => $file;
83 should_fail TYPE => 'filehandle', SOURCE => $fh;
95 should_fail TYPE => 'string', SOURCE => $ttemplate;
96 should_fail TYPE => 'string', SOURCE => $ttemplate, UNTAINT => 1;
103 should_fail TYPE => 'array', SOURCE => $tarray;
104 should_fail TYPE => 'array', SOURCE => $tarray, UNTAINT => 1;
/third_party/libsnd/programs/
Dtest-sndfile-metadata-set.py57 def _run_command (self, should_fail, cmd): argument
59 if should_fail and not status:
64 if not should_fail and status:
71 def meta_set (self, should_fail, args): argument
72 return self._run_command (should_fail, self.meta_set_prog + " " + args)
74 def meta_get (self, should_fail, args): argument
75 return self._run_command (should_fail, self.meta_get_prog + " " + args)
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_rewrite_test.c26 static int should_fail = 0; variable
31 should_fail ? "must fail" : "must success"); in show_prompt()
37 if (should_fail) { in show_result()
74 should_fail = 0; in stage_rewrite_test()
86 should_fail = 1; in stage_rewrite_test()
119 should_fail = 0; in stage_rewrite_test()
Dtomoyo_file_test.c26 static int should_fail = 0; variable
31 should_fail ? "must fail" : "should success"); in show_prompt()
37 if (should_fail) { in show_result()
288 should_fail = 1; in main()
296 should_fail = 0; in main()
Dtomoyo_new_test.c620 int should_fail; in main() local
621 for (should_fail = 0; should_fail < 2; should_fail++) { in main()
624 if (!should_fail) in main()
628 show_result(tests[i].policy, !should_fail); in main()
632 if (!should_fail) in main()
Dtomoyo_filesystem_test.c27 static void show_prompt(const char *str, const int should_fail) in show_prompt() argument
30 should_fail ? "must fail" : "should success"); in show_prompt()
/third_party/openssl/test/recipes/
D91-test_pkey_check.t26 my $should_fail = shift;
30 $str = "$f should fail validation" if $should_fail;
31 $str = "$f should pass validation" unless $should_fail;
36 if ($should_fail) {
/third_party/python/Lib/ctypes/test/
Dtest_loading.py147 def should_fail(command): function
157 should_fail("WinDLL('_sqlite3.dll')")
167 should_fail("WinDLL(nt._getfullpathname('_sqlite3.dll'), " +
/third_party/mesa3d/src/util/tests/format/
Dmeson.build10 should_fail : meson.get_cross_property('xfail', '').contains(t),
/third_party/mesa3d/src/gallium/tests/unit/
Dmeson.build34 should_fail : meson.get_cross_property('xfail', '').contains(t),
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dmeson.build143 should_fail : meson.get_cross_property('xfail', '').contains(t),
/third_party/littlefs/tests/
Dtest_evil.toml206 lfs_mkdir(&lfs, "should_fail") => LFS_ERR_CORRUPT;
/third_party/mesa3d/src/compiler/nir/
Dmeson.build433 should_fail : meson.get_cross_property('xfail', '').contains('load_store_vectorizer'),
/third_party/protobuf/src/google/protobuf/
Dmessage.h927 const Message& message, bool should_fail,
Dgenerated_message_reflection.cc1051 const Message& message, bool should_fail, in ListFieldsMayFailOnStripped() argument
1069 if (!should_fail && schema_.IsFieldStripped(field)) { in ListFieldsMayFailOnStripped()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstvalue.c3790 gboolean should_fail; in GST_START_TEST() member
3812 if (tests_data[i].should_fail) { in GST_START_TEST()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp9561 const bool should_fail = !is_aligned; in test() local
9563 testCase test_case = { offset, should_fail, (Utils::Shader::STAGES)stage, type }; in test()
9572 const bool should_fail = !is_aligned; in test() local
9574 testCase test_case = { offset, should_fail, (Utils::Shader::STAGES)stage, type }; in test()
10497 const bool should_fail = (0 == align) ? false : !isPowerOf2(align); in test() local
10501 const bool should_fail = !isPowerOf2(align); in test()
10512 testCase test_case = { align, type, should_fail, (Utils::Shader::STAGES)stage }; in test()
/third_party/json/test/thirdparty/doctest/
Ddoctest.h1647 DOCTEST_DEFINE_DECORATOR(should_fail, bool, true);