Home
last modified time | relevance | path

Searched refs:assertions (Results 1 – 25 of 248) sorted by relevance

12345678910

/external/catch2/include/internal/
Dcatch_run_context.cpp120 deltaTotals.assertions.failed++; in runTest()
147 m_totals.assertions.passed++; in assertionEnded()
152 m_totals.assertions.failedButOk++; in assertionEnded()
154 m_totals.assertions.failed++; in assertionEnded()
176 bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) { in sectionStarted() argument
186 assertions = m_totals.assertions; in sectionStarted()
198 bool RunContext::testForMissingAssertions(Counts& assertions) { in testForMissingAssertions() argument
199 if (assertions.total() != 0) in testForMissingAssertions()
205 m_totals.assertions.failed++; in testForMissingAssertions()
206 assertions.failed++; in testForMissingAssertions()
[all …]
Dcatch_totals.cpp39 diff.assertions = assertions - other.assertions; in operator -()
45 assertions += other.assertions; in operator +=()
52 if( diff.assertions.failed > 0 ) in delta()
54 else if( diff.assertions.failedButOk > 0 ) in delta()
/external/eigen/doc/
DTopicAssertions.dox11 \subsection RedefineAssert Redefining assertions
22 \subsection DisableAssert Disabling assertions
26 \section StaticAssert Static assertions
28assertions are not standardized until C++11. However, in the Eigen library, there are many conditi…
35 Static assertions are defined in StaticAssert.h. If there is native static_assert, we use it. Other…
37 One can easily come up with static assertions without messages, such as:
67 \subsection DerivedStaticAssert Derived static assertions
77 …arly determined at compile time. We classify them into strict assertions and permissive assertions.
79 \subsubsection StrictAssertions Strict assertions
81 These assertions fail if the condition <b>may not</b> be met. For example, MatrixXd may not be a ve…
[all …]
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dreshape.py148 assertions = []
149 assertions.extend(self._maybe_check_valid_shape(
151 assertions.extend(self._maybe_check_valid_shape(
154 self._assertions = assertions
170 assertions = []
178 assertions.append(check_ops.assert_less_equal(
194 assertions.extend([
206 return assertions
215 assertions = []
258 assertions.append(check_ops.assert_equal(
[all …]
/external/catch2/include/reporters/
Dcatch_reporter_xml.cpp174 e.writeAttribute( "successes", sectionStats.assertions.passed ); in sectionEnded()
175 e.writeAttribute( "failures", sectionStats.assertions.failed ); in sectionEnded()
176 e.writeAttribute( "expectedFailures", sectionStats.assertions.failedButOk ); in sectionEnded()
188 e.writeAttribute( "success", testCaseStats.totals.assertions.allOk() ); in testCaseEnded()
205 .writeAttribute( "successes", testGroupStats.totals.assertions.passed ) in testGroupEnded()
206 .writeAttribute( "failures", testGroupStats.totals.assertions.failed ) in testGroupEnded()
207 .writeAttribute( "expectedFailures", testGroupStats.totals.assertions.failedButOk ); in testGroupEnded()
214 .writeAttribute( "successes", testRunStats.totals.assertions.passed ) in testRunEnded()
215 .writeAttribute( "failures", testRunStats.totals.assertions.failed ) in testRunEnded()
216 .writeAttribute( "expectedFailures", testRunStats.totals.assertions.failedButOk ); in testRunEnded()
Dcatch_reporter_compact.cpp48 totals.assertions.failed == totals.assertions.total() ? in printTotals()
49 bothOrAll(totals.assertions.failed) : std::string(); in printTotals()
54 pluralise(totals.assertions.failed, "assertion") << '.'; in printTotals()
55 } else if (totals.assertions.total() == 0) { in printTotals()
60 } else if (totals.assertions.failed) { in printTotals()
64 "failed " << pluralise(totals.assertions.failed, "assertion") << '.'; in printTotals()
70 " with " << pluralise(totals.assertions.passed, "assertion") << '.'; in printTotals()
Dcatch_reporter_automake.hpp37 if (_testCaseStats.totals.assertions.allPassed()) { in testCaseEnded()
39 } else if (_testCaseStats.totals.assertions.allOk()) { in testCaseEnded()
Dcatch_reporter_junit.cpp127 xml.writeAttribute( "failures", stats.totals.assertions.failed-unexpectedExceptions ); in writeGroup()
128 xml.writeAttribute( "tests", stats.totals.assertions.total() ); in writeGroup()
173 if( !sectionNode.assertions.empty() || in writeSection()
202 for( auto const& assertion : sectionNode.assertions ) in writeAssertions()
Dcatch_reporter_console.cpp113 if (stats.totals.assertions.total() > 0) { in print()
556 } else if (totals.assertions.total() > 0 && totals.testCases.allPassed()) { in printTotals()
559 << pluralise(totals.assertions.passed, "assertion") << " in " in printTotals()
567 .addRow(totals.assertions.total())); in printTotals()
570 .addRow(totals.assertions.passed)); in printTotals()
573 .addRow(totals.assertions.failed)); in printTotals()
576 .addRow(totals.assertions.failedButOk)); in printTotals()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
Dcoverage.txt1 This document explains why certain assertions were not tested.
5 6 through 12 - Did not test RTS assertions.
10 The assertions:
/external/libcxx/docs/DesignDocs/
DDebugMode.rst13 Libc++ provides a debug mode that enables assertions meant to detect incorrect
14 usage of the standard library. By default these assertions are disabled but
21 This macro is used to enable assertions and iterator debugging checks within
27 assertions. Defining ``_LIBCPP_DEBUG`` to ``1`` enables "iterator debugging"
28 which provides additional assertions about the validity of iterators used by
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
Dcoverage.txt7 4 IMPLICITLY tested by assertions 6 and 7.
8 5 IMPLICITLY tested by assertions 6 and 7.
/external/catch2/single_include/catch2/
Dcatch_reporter_automake.hpp37 if (_testCaseStats.totals.assertions.allPassed()) { in testCaseEnded()
39 } else if (_testCaseStats.totals.assertions.allOk()) { in testCaseEnded()
/external/tensorflow/tensorflow/python/ops/distributions/
Dutil.py87 assertions = [
92 assertions += [
97 return control_flow_ops.with_dependencies(assertions, x)
433 assertions = []
435 assertions += [
443 assertions += [
453 assertions += [
462 assertions += [
469 if not assertions:
471 return control_flow_ops.with_dependencies(assertions, x)
[all …]
/external/ltp/testcases/open_posix_testsuite/Documentation/
DHOWTO_ConformanceTest57 behavior), an assertions.xml file is used to describe the tests, and tests
70 assertions.xml
72 This file contains a list of assertions to be tested, an ID for each
74 assertions. For more information on creating and using these files,
DHOWTO_FunctionalStressTest46 - assertions.xml - This file maps test descriptions to test cases as in
49 <!DOCTYPE assertions [
64 test cases for assertions as in the conformance tests.
/external/libaom/libaom/third_party/googletest/
DREADME.libaom10 assertions, user-defined assertions, death tests, fatal and non-fatal
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
Dcoverage.txt5 2 IMPLICITLY tested by assertions 1-18
6 3 IMPLICITLY tested by assertions 4-6
/external/catch2/docs/
Dassertions.md20 …n fails. This is useful if you have a series of essentially orthogonal assertions and it is useful…
45 …n template machinery to minimum) and partly for philosophical reasons (assertions should be simple…
49 …osition from working, or you need to decompose the expression into two assertions: `CHECK( a == 1 …
142 _Please note that the `THROW` family of assertions expects to be passed a single expression, not a …
168 Currently assertions in Catch are not thread safe.
169 …with workarounds, see the section on [the limitations page](limitations.md#thread-safe-assertions).
174 compiler, multiple-argument assertions (e.g. `REQUIRE_THROWS_AS`) have
/external/libvpx/libvpx/third_party/googletest/
DREADME.libvpx10 assertions, user-defined assertions, death tests, fatal and non-fatal
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
Dcoverage.txt8 1 IMPLICITLY tested by assertions 1-18
10 3 IMPLICITLY tested by assertions 4-6
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DPackaging.rst23 LLVM runs much more quickly when it's optimized and assertions are removed.
25 defining ``NDEBUG``, and the lack of assertions makes it hard to debug problems
29 ``--disable-assertions``
/external/llvm/docs/
DPackaging.rst23 LLVM runs much more quickly when it's optimized and assertions are removed.
25 defining ``NDEBUG``, and the lack of assertions makes it hard to debug problems
29 ``--disable-assertions``
/external/mesa3d/src/intel/compiler/
Dbrw_inst.h56 #define FC(name, high, low, assertions) \ argument
61 assert(assertions); \
69 assert(assertions); \
437 #define FJ(name, high, low, assertions) \ argument
441 assert(assertions); \
448 assert(assertions); \
965 #define FC(name, high, low, assertions) \ argument
970 assert(assertions); \
978 assert(assertions); \
/external/bcc/tests/cc/
Dcatch.hpp1971 Counts& assertions ) = 0;
2221 diff.assertions = assertions - other.assertions; in operator -()
2228 if( diff.assertions.failed > 0 ) in delta()
2230 else if( diff.assertions.failedButOk > 0 ) in delta()
2238 assertions += other.assertions; in operator +=()
2243 Counts assertions; member
5138 assertions( _assertions ), in SectionStats()
5151 Counts assertions; member
5914 deltaTotals.assertions.failed++; in runTest()
5939 m_totals.assertions.passed++; in assertionEnded()
[all …]

12345678910