Home
last modified time | relevance | path

Searched +refs:test +refs:catch (Results 1 – 25 of 99) sorted by relevance

1234

/freebsd/contrib/googletest/googletest/test/
H A DBUILD.bazel57 "googletest-param-test-test.cc",
58 "googletest-param-test2-test.cc",
59 "googletest-catch-exceptions-test_.cc",
66 "googletest-listener-test.cc",
67 "googletest-message-test.cc",
74 "googletest-param-test-test",
76 "googletest-param-test-invalid-name1-test_.cc",
77 "googletest-param-test-invalid-name2-test_.cc",
95 "googletest/test",
107 name = "googletest-death-test-test",
[all …]
/freebsd/contrib/googletest/googletest/
H A DCMakeLists.txt7 # To run the tests for Google Test itself on Linux, use 'make test' or
194 # 'make test' or ctest.
200 cxx_test(googletest-death-test-test gtest_main)
202 cxx_test(googletest-filepath-test gtest_main)
203 cxx_test(googletest-listener-test gtest_main)
205 cxx_test(googletest-message-test gtest_main)
207 cxx_test(googletest-options-test gtest_main)
208 cxx_test(googletest-param-test-test gtest
209 test/googletest-param-test2-test.cc)
210 cxx_test(googletest-port-test gtest_main)
[all …]
/freebsd/sys/contrib/libsodium/test/default/
H A Dpre.js.inc3 Module.test;
4 } catch(e) {
12 FS.mkdir('/test-data');
13 FS.mount(NODEFS, { root: '.' }, '/test-data');
18 var event = new Event('test-output');
H A Dindex.html.tpl10 .test p {
13 .test {
29 <section class="test" id="test-res"></section>
53 document.getElementById('test-res').appendChild(p);
73 } catch (e) {
87 window.addEventListener('test-output', outputReceived, false);
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h110 const char* file, int line, DeathTest** test);
117 explicit ReturnSentinel(DeathTest* test) : test_(test) {} in ReturnSentinel() argument
180 int line, DeathTest** test) = 0; in GTEST_DISABLE_MSC_WARNINGS_POP_()
187 const char* file, int line, DeathTest** test) override;
200 } catch (const ::std::exception& gtest_exception) { \
209 } catch (...) { \
H A Dgtest-internal.h951 static char test(typename U::hasher*, typename U::reverse_iterator*);
953 static int test(typename U::hasher*, ...);
955 static char test(...);
958 static const bool value = sizeof(test<T>(nullptr, nullptr)) == sizeof(int);
1345 catch (typename std::conditional< \
1373 } catch (expected_exception const&) { \
1377 catch (...) { \
1396 catch (std::exception const& e) { \
1418 catch (...) { \
1435 } catch (...) { \
/freebsd/bin/sh/tests/execution/
H A Dbg11.02 T=`mktemp -d ${TMPDIR:-/tmp}/sh-test.XXXXXXXX`
6 # Use a trap, not the default action, since the shell may catch SIGINT and
H A Dbg13.02 T=`mktemp -d ${TMPDIR:-/tmp}/sh-test.XXXXXXXX`
6 # Use a trap, not the default action, since the shell may catch SIGINT and
/freebsd/crypto/openssh/m4/
H A Dopenssh.m44 dnl The test program that is used to try to trigger various compiler
13 /* Trivial function to help test for -fzero-call-used-regs */
32 /* Some math to catch -ftrapv problems in the toolchain */
69 test "x$_define_flag" = "x" && _define_flag="$1"
101 test "x$_define_flag" = "x" && _define_flag="$1"
133 test "x$_define_flag" = "x" && _define_flag="$1"
175 if test -n "`echo $ossh_varname`"; then
177 if test "x$ossh_result" = "xyes"; then
188 dnl have to test to find something that will work.
216 if test "x$curl_cv_socklen_t_equiv" = x; then
/freebsd/contrib/nvi/regex/
H A DWHATSNEW16 (again!) so that the regression test will run without -DREDEBUG, at
54 tests to catch tricky cases thereof.
58 in my own test program and might be useful to others for similar purposes.
59 The regression test will now compile (and run) without REDEBUG. The
70 have been fixed (and the regression test now checks for them), as has a
76 in BREs), which should reduce script breakage. The regression test
/freebsd/lib/libc/regex/
H A DWHATSNEW15 (again!) so that the regression test will run without -DREDEBUG, at
53 tests to catch tricky cases thereof.
57 in my own test program and might be useful to others for similar purposes.
58 The regression test will now compile (and run) without REDEBUG. The
69 have been fixed (and the regression test now checks for them), as has a
75 in BREs), which should reduce script breakage. The regression test
/freebsd/contrib/googletest/docs/
H A Dadvanced.md8 messages, propagate fatal failures, reuse and speed up your test fixtures, and
241 a method of the test fixture class. The one constraint is that assertions that
263 call `abort` and crash the entire test executable, or put the fatal assertion in
269 called from a constructor or destructor does not terminate the current test, as
275 ## Skipping test execution
277 Related to the assertions `SUCCEED()` and `FAIL()`, you can prevent further test
279 to check for preconditions of the system under test during runtime and skip
282 `GTEST_SKIP()` can be used in individual test cases or in the `SetUp()` methods
288 GTEST_SKIP() << "Skipping single test";
309 When a test assertion such as `EXPECT_EQ` fails, GoogleTest prints the argument
[all …]
H A Dgmock_for_dummies.md5 When you write a prototype or test, often it's not feasible or wise to rely on
37 3. then you exercise code that uses the mock objects. gMock will catch any
69 * You want to test how your code handles a failure (e.g. a file checksum
94 API for drawing. How would you test that it does the right thing? Well, you can
133 maintain (the intent of a test is expressed in the code, not in some binary
190 `Foo` changes it, your test could break. (You can't really expect `Foo`'s
191 maintainer to fix every test that uses `Foo`, can you?)
243 As you might have guessed, this test checks that `PenDown()` is called at least
244 once. If the `painter` object didn't call this method, your test will fail with
256 **Tip 1:** If you run the test from an Emacs buffer, you can hit `<Enter>` on
[all …]
/freebsd/crypto/heimdal/
H A DChangeLog.200599 * lib/krb5/store-test.c: Free more of the allocated memory.
102 memory, this function is only used by the test program.
104 * lib/krb5/parse-name-test.c: Free more of the allocated memory.
106 * lib/krb5/derived-key-test.c: Free more of the allocated memory.
128 * lib/krb5/aes-test.c: Remove usage of krb5_enctype_to_keytype.
148 * lib/krb5/test_cc.c: test krb5_cc_get_prefix_ops
217 * appl/test/gssapi_client.c: Check return value from asprintf
602 * lib/hdb/db3.c (DB_open): catch errors from the d->open calls
710 * lib/krb5/test_crypto_wrapping.c: test encryption wrapping
877 * lib/krb5/krbhst-test.c: rename optind to optidx
[all …]
H A DChangeLog.200470 * kdc/main.c (main): catch sigpipe, we don't bother select()ing
403 * lib/krb5/test_cc.c: test variables in default_cc_name
504 * kdc/pkinit.c (pk_principal_from_X509): reverse test, makes
587 * admin/get.c (kt_get): catch errors from krb5_parse_name
660 * lib/hdb/hdb-ldap.c (LDAP_message2entry): fix [] test From:
850 * lib/krb5/aes-test.c: test random to key function
852 * lib/krb5/string-to-key-test.c: comment out the "@"/"" test for
962 * appl/test/http_client.c: support GSS_C_DELEG_FLAG and
965 * appl/test/http_client.c: verbose logging
1081 * lib/krb5/aes-test.c: remove #if 0'ed code
[all …]
H A DChangeLog.2006155 * lib/Makefile.am: Make the directories test automake conditional
464 * tools/heimdal-build.sh: Add --test-environment
485 * appl/test/Makefile.am: add nt_gss_common.h
684 * lib/krb5/aes-test.c: Make argument to PKCS5_PBKDF2_HMAC_SHA1
842 * appl/gssmask/gssmaestro.c: test self context building and all
869 * kdc/main.c (sigterm): don't _exit, let loop() catch the signal
915 * lib/krb5/pkinit.c (_krb5_pk_verify_sign): catch the error string
923 * lib/krb5/init_creds_pw.c (init_cred_loop): try to catch the
924 error when we actually have an error to catch.
960 * configure.in: Add special tests for <sys/ucred.h>, include test
[all …]
/freebsd/contrib/ntp/html/hints/
H A Dbsdi10 use another compiler you will need to add -D__bsdi__ to catch the various
15 but it's hard to test very many locally.
/freebsd/stand/forth/
H A Dsupport.4th227 ['] strdup catch if 2drop exit then
751 ['] evaluate catch if
865 ['] evaluate catch if EEXEC throw then
907 ['] process_assignment catch
908 ['] free_buffers catch
921 ['] process_assignment catch
922 ['] free_buffers catch
936 ['] process_conf catch
960 : test-file
961 ['] load_conf catch dup .
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A DREADME.txt13 in its own file. Each function has a corresponding unit test under
14 test/Unit.
16 A rudimentary script to test each file is in the file called
17 test/Unit/test.
222 // because there are no catch clauses or destructors to be run. But there
282 // SJLJ for exceptions, each function with a catch clause or destructors needs
/freebsd/contrib/libcbor/doc/source/
H A Ddevelopment.rst101 - `GCOV/LCOV <http://ltp.sourceforge.net/coverage/lcov.php>`_ (test coverage)
131 A catch-all git hook that runs clang-format and automatically refreshes the `GH
/freebsd/contrib/ntp/sntp/libevent/m4/
H A Dax_prog_doxygen.m453 # etc parameter are output directories. No checking is done to catch
149 if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
150 if test "x$2" = "xdoxygen"; then
162 AC_DEFUN([DX_TEST_FEATURE], [test "$DX_FLAG_$1" = 1])
169 test "$DX_FLAG_$1" = "$2" \
178 test "$DX_FLAG_$1" = "$2" || AC_SUBST(DX_FLAG_[]DX_CURRENT_FEATURE, 0)
385 AS_IF([[test $DX_FLAG_html -eq 1]],
396 AS_IF([[test $DX_FLAG_chi -eq 1]],
402 AS_IF([[test $DX_FLAG_chm -eq 1]],
414 AS_IF([[test $DX_FLAG_man -eq 1]],
[all …]
/freebsd/contrib/libevent/m4/
H A Dax_prog_doxygen.m453 # etc parameter are output directories. No checking is done to catch
149 if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
150 if test "x$2" = "xdoxygen"; then
162 AC_DEFUN([DX_TEST_FEATURE], [test "$DX_FLAG_$1" = 1])
169 test "$DX_FLAG_$1" = "$2" \
178 test "$DX_FLAG_$1" = "$2" || AC_SUBST(DX_FLAG_[]DX_CURRENT_FEATURE, 0)
385 AS_IF([[test $DX_FLAG_html -eq 1]],
396 AS_IF([[test $DX_FLAG_chi -eq 1]],
402 AS_IF([[test $DX_FLAG_chm -eq 1]],
414 AS_IF([[test $DX_FLAG_man -eq 1]],
[all …]
/freebsd/sys/contrib/openzfs/etc/zfs/
H A Dzfs-functions.in146 --exec "$DAEMON_BIN" --test > /dev/null || return 1
258 # Test if it works (will catch missing/broken libs etc)
266 # Test if it works (will catch missing/broken libs etc)
/freebsd/contrib/one-true-awk/
H A DFIXES.1e112 test for these values. Thanks to Arnold Robbins. Allows closing
230 the fix. New test T.concat added to the test suite.
256 From Arnold Robbins, apply some cleanups in the test suite.
366 Added test in maketab.c to prevent generating a proctab entry
423 test for correct behavior: T.latin1, T.gawk.
485 i can't test any of it.
519 fixed memory fault caused by out of order test in setsval.
532 it and providing a very compact test case.
579 call of SYNTAX(), test malloc return in lib.c, all with thanks to
585 to catch places where it might overrun. the RE code is still fragile.
[all …]
/freebsd/contrib/flex/
H A DChangeLog54 * tests/Makefile.am, tests/tableopts.am, tests/tableopts.sh: test:
168 * configure.ac, tests/Makefile.am, tests/pthread.l: test: skip
169 …pthread test when needed files missing. "Unlisting" the pthread test when libpthread is not avail…
171 returns the "skip" status. configure.ac and tests/Makefile.am are edited so that pthread test
189 …generated by exactly the flex version to be released. Here's one catch after this change: You may…
216 * tests/Makefile.am, tests/no_bison_stub.c: test: Skip bison tests
240 * tests/Makefile.am: test: Remake *_scanner.c if *_scanner.h is
249 * tests/Makefile.am: test: remove BUILT_SOURCES; add missing
250 dependencies. Without BUILT_SOURCES in Makefile, no test sources in tests/ will be
253 …and therefore, build any part of the test suite. Also fix missing sources dependencies: bison…
[all …]

1234