Home
last modified time | relevance | path

Searched refs:should_fail (Results 1 - 13 of 13) sorted by relevance

/third_party/googletest/googletest/test/
H A Dgoogletest-throw-on-failure-test.py80 def RunAndVerify(self, env_var_value, flag_value, should_fail):
89 should_fail: True if and only if the program is expected to fail.
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
[all...]
/third_party/libsnd/programs/
H A Dtest-sndfile-metadata-set.py57 def _run_command (self, should_fail, cmd):
59 if should_fail and not status:
64 if not should_fail and status:
71 def meta_set (self, should_fail, args):
72 return self._run_command (should_fail, self.meta_set_prog + " " + args)
74 def meta_get (self, should_fail, args):
75 return self._run_command (should_fail, self.meta_get_prog + " " + args)
/third_party/ltp/testcases/kernel/security/tomoyo/
H A 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()
H A 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()
H A 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()
H A 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/python/Lib/ctypes/test/
H A Dtest_loading.py147 def should_fail(command): function
157 should_fail("WinDLL('_sqlite3.dll')")
167 should_fail("WinDLL(nt._getfullpathname('_sqlite3.dll'), " +
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/t/
H A 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/openssl/external/perl/Text-Template-1.56/t/
H A 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/protobuf/src/google/protobuf/
H A Dmessage.h927 const Message& message, bool should_fail,
H A Dgenerated_message_reflection.cc1051 const Message& message, bool should_fail, in ListFieldsMayFailOnStripped()
1069 if (!should_fail && schema_.IsFieldStripped(field)) { in ListFieldsMayFailOnStripped()
1050 ListFieldsMayFailOnStripped( const Message& message, bool should_fail, std::vector<const FieldDescriptor*>* output) const ListFieldsMayFailOnStripped() argument
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cEnhancedLayoutsTests.cpp9512 * @return should_fail field from testCase in test()
9561 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()
10467 * @return should_fail field from testCase 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/tests/thirdparty/doctest/
H A Ddoctest.h1647 DOCTEST_DEFINE_DECORATOR(should_fail, bool, true);
1716 ShouldHaveFailedButDidnt = 32, // see the should_fail decorator
1717 ShouldHaveFailedAndDid = 64, // see the should_fail decorator
5034 xml.writeAttribute("should_fail", true);

Completed in 48 milliseconds