Home
last modified time | relevance | path

Searched refs:death (Results 1 – 25 of 64) sorted by relevance

123

/third_party/googletest/googletest/test/
DBUILD.bazel55 "gtest-death-test_ex_test.cc",
73 "googletest-death-test_ex_test.cc",
104 # Tests death tests.
106 name = "googletest-death-test-test",
108 srcs = ["googletest-death-test-test.cc"],
544 # Verifies interaction of death tests and exceptions.
546 name = "googletest-death-test_ex_catch_test",
548 srcs = ["googletest-death-test_ex_test.cc"],
/third_party/googletest/docs/
Dfaq.md152 ## My death test modifies some state, but the change seems lost after the death test finishes. Why?
160 In particular, if you use mocking and the death test statement invokes some mock
279 ## My death test hangs (or seg-faults). How do I fix it?
281 In googletest, death tests are run in a child process and the way they work is
282 delicate. To write death tests you really need to understand how they work—see
283 the details at [Death Assertions](reference/assertions.md#death) in the
286 In particular, death tests don't like having multiple threads in the parent
295 leaving as few things as possible in it. Also, you can try to set the death test
298 If you go with thread-safe death tests, remember that they rerun the test
475 `ASSERT_DEATH(statement, matcher)` (or any death assertion macro) can be used
[all …]
Dadvanced.md395 (except by throwing an exception) in an expected fashion is also a death test.
397 Note that if a piece of code throws an exception, we don't consider it "death"
398 for the purpose of death tests, as the caller of the code could catch the
407 GoogleTest provides assertion macros to support death tests. See
408 [Death Assertions](reference/assertions.md#death) in the Assertions Reference
411 To write a death test, simply use one of the macros inside your test function.
416 // This death test uses a compound statement.
443 Note that a death test only cares about three things:
452 will **not** cause the death test to fail, as googletest assertions don't abort
459 **test suite** (not test) `*DeathTest` when it contains a death test, as
[all …]
Dprimer.md377 > [death tests](advanced.md#death-tests)) and thus is not supported.
/third_party/googletest/googletest/
DCMakeLists.txt193 cxx_test(googletest-death-test-test gtest_main)
235 cxx_test_with_flags(gtest-death-test_ex_nocatch_test
237 gtest test/googletest-death-test_ex_test.cc)
238 cxx_test_with_flags(gtest-death-test_ex_catch_test
240 gtest test/googletest-death-test_ex_test.cc)
/third_party/googletest/
DBUILD.gn27 "googletest/include/gtest/gtest-death-test.h",
43 "googletest/include/gtest/internal/gtest-death-test-internal.h",
52 "googletest/src/gtest-death-test.cc",
/third_party/flutter/skia/src/core/
DSkVM.cpp28 inst.death = id; in done()
31 if (inst.death != 0) { in done()
33 if (inst.x != NA && fProgram[inst.x].death == 0) { fProgram[inst.x].death = id; } in done()
34 if (inst.y != NA && fProgram[inst.y].death == 0) { fProgram[inst.y].death = id; } in done()
35 if (inst.z != NA && fProgram[inst.z].death == 0) { fProgram[inst.z].death = id; } in done()
58 if (fProgram[arg].death != 0) { in done()
59 fProgram[arg].death = (Val)fProgram.size(); in done()
77 && a.death == b.death in operator ==()
1137 if (input != NA && instructions[input].death == id) { in setupInterpreter()
1159 if (inst.death != 0 && inst.hoist) { in setupInterpreter()
[all …]
DSkVM.h289 int death; // Index of last live instruction taking this input; live if != 0. member
439 ^ Hash(inst.death) in operator()
/third_party/googletest/docs/reference/
Dassertions.md522 ## Death Assertions {#death}
525 terminate. For context, see [Death Tests](../advanced.md#death-tests).
534 * If the variable's value is `"fast"`, the death test statement is
538 extra flags to cause just the single death test under consideration to
541 re-executes the binary to cause just the single death test under
544 Other values for the variable are illegal and will cause the death test to fail.
548 If the death test statement runs to completion without dying, the child process
587 If death tests are supported, behaves the same as
/third_party/libxml2/result/schemas/
Dannot-err_0_0.err1 …ror : Element '{http://www.w3.org/2001/XMLSchema}annotation': The attribute 'death' is not allowed.
/third_party/flutter/skia/tests/
DMathTest.cpp137 int death = 0; in test_blend31() local
159 death += 1; in test_blend31()
166 SkDebugf("---- failed %d death %d\n", failed, death); in test_blend31()
DSkVMTest.cpp85 write(o, inst.death == 0 ? "☠️ " : in dump_builder()
338 REPORTER_ASSERT(r, insts[0].hoist && insts[0].death == 2); in DEF_TEST()
339 REPORTER_ASSERT(r, insts[1].hoist && insts[1].death == 2); in DEF_TEST()
340 REPORTER_ASSERT(r, insts[2].hoist && insts[2].death == 6); in DEF_TEST()
473 REPORTER_ASSERT(r, inst.death == 0 && inst.hoist == true); in DEF_TEST()
/third_party/grpc/test/cpp/
DREADME-iOS.md14 - [Death tests](https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-…
/third_party/flutter/skia/third_party/externals/wuffs/test/data/
Dmidsummer.txt61 Or to her death, according to our law
90 Either to die the death or to abjure
153 To death, or to a vow of single life.
186 War, death, or sickness did lay siege to it,
Dmidsummer.txt.gz
/third_party/skia/tests/
DMathTest.cpp135 int death = 0; in test_blend31() local
157 death += 1; in test_blend31()
164 SkDebugf("---- failed %d death %d\n", failed, death); in test_blend31()
/third_party/libphonenumber/cpp/test/
DBUILD.gn51 "//third_party/googletest/googletest/src/gtest-death-test.cc",
/third_party/grpc/test/cpp/util/
DBUILD196 "nomsan", # death tests seem to be incompatible with msan
/third_party/skia/third_party/externals/brotli/tests/testdata/
Dplrabn12.txt73 Brought death into the World, and all our woe,
625 With dread of death to flight or foul retreat;
1495 Rocks, caves, lakes, fens, bogs, dens, and shades of death--
1496 A universe of death, which God by curse
1498 Where all life dies, death lives, and Nature breeds,
2148 The rigid satisfaction, death for death.
2188 Death his death's wound shall then receive, and stoop
2237 Giving to death, and dying to redeem,
2883 Thereby regained, but sat devising death
2907 Our death, the tree of knowledge, grew fast by,
[all …]
/third_party/skia/third_party/externals/angle2/doc/
DOrientation.md13 - Take the time to register a Microsoft account, otherwise you'll get nagged to death.
/third_party/flutter/skia/third_party/externals/angle2/doc/
DOrientation.md13 - Take the time to register a Microsoft account, otherwise you'll get nagged to death.
/third_party/icu/icu4j/perf-tests/data/collation/
D2drvb10.txt587 the end of the law, and the great conqueror of death and hell, and to
699 6:6. For there is no one in death, that is mindful of thee: and who
765 7:14. And in it he hath prepared to instruments of death, he hath made
876 9:15. Thou that liftest me up from the gates of death, that I may
1047 never sleep in death:
1126 Christ's future victory and triumph over the world and death.
1260 17:5. The sorrows of death surrounded me: and the torrents of iniquity
1263 17:6. The sorrows of hell encompassed me: and the snares of death
1613 death.
1685 22:4. For though I should walk in the midst of the shadow of death, I
[all …]
/third_party/ltp/tools/sparse/sparse-src/Documentation/
DIR.rst442 Annotation telling the pseudo will be death after the next
/third_party/ffmpeg/doc/
Dplatform.texi54 configure may raise an exception leading to the death of configure itself
/third_party/node/deps/npm/node_modules/json-schema/
DLICENSE130 apply to liability for death or personal injury resulting from Licensor's

123