Searched refs:CATCH_ENFORCE (Results 1 – 12 of 12) sorted by relevance
/external/catch2/projects/SelfTest/IntrospectiveTests/ |
D | Details.tests.cpp | 17 REQUIRE_THROWS_AS([](){CATCH_ENFORCE(false, "");}(), std::domain_error); in __anonb59af5d70102() 18 REQUIRE_NOTHROW([](){CATCH_ENFORCE(true, "");}()); in __anonb59af5d70202()
|
/external/catch2/include/internal/ |
D | catch_matchers_floating.cpp | 112 CATCH_ENFORCE(margin >= 0, "Invalid margin: " << margin << '.' 129 CATCH_ENFORCE(m_type == FloatingPointKind::Double 186 … CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher() 187 … CATCH_ENFORCE(m_epsilon < 1., "Relative comparison with epsilon >= 1 does not make sense."); in WithinRelMatcher()
|
D | catch_tag_alias_registry.cpp | 43 CATCH_ENFORCE( startsWith(alias, "[@") && endsWith(alias, ']'), in add() 46 CATCH_ENFORCE( m_registry.insert(std::make_pair(alias, TagAlias(tag, lineInfo))).second, in add()
|
D | catch_approx.cpp | 60 CATCH_ENFORCE(newMargin >= 0, in setMargin() 67 CATCH_ENFORCE(newEpsilon >= 0 && newEpsilon <= 1.0, in setEpsilon()
|
D | catch_enforce.h | 49 #define CATCH_ENFORCE( condition, ... ) \ macro
|
D | catch_stringref.cpp | 22 … CATCH_ENFORCE(isNullTerminated(), "Called StringRef::c_str() on a non-null-terminated instance"); in c_str()
|
D | catch_test_case_registry_impl.cpp | 53 CATCH_ENFORCE( prev.second, in enforceNoDuplicateTestCases()
|
D | catch_stream.cpp | 81 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" ); in FileStream()
|
D | catch_test_case_info.cpp | 44 CATCH_ENFORCE( !isReservedTag(tag), in enforceNotReservedTag()
|
D | catch_session.cpp | 38 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'"); in createReporter()
|
/external/catch2/single_include/catch2/ |
D | catch.hpp | 3878 #define CATCH_ENFORCE( condition, ... ) \ macro 7843 CATCH_ENFORCE(newMargin >= 0, in setMargin() 7850 CATCH_ENFORCE(newEpsilon >= 0 && newEpsilon <= 1.0, in setEpsilon() 11446 CATCH_ENFORCE(margin >= 0, "Invalid margin: " << margin << '.' 11462 CATCH_ENFORCE(m_type == FloatingPointKind::Double 11519 … CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher() 11520 … CATCH_ENFORCE(m_epsilon < 1., "Relative comparison with epsilon >= 1 does not make sense."); in WithinRelMatcher() 13098 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'"); in createReporter() 13489 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" ); in FileStream() 13709 … CATCH_ENFORCE(isNullTerminated(), "Called StringRef::c_str() on a non-null-terminated instance"); in c_str() [all …]
|
/external/libabigail/tests/lib/ |
D | catch.hpp | 3902 #define CATCH_ENFORCE( condition, ... ) \ macro 7894 CATCH_ENFORCE(newMargin >= 0, in setMargin() 7901 CATCH_ENFORCE(newEpsilon >= 0 && newEpsilon <= 1.0, in setEpsilon() 11508 CATCH_ENFORCE(margin >= 0, "Invalid margin: " << margin << '.' 11524 CATCH_ENFORCE(m_type == FloatingPointKind::Double 11581 … CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher() 11582 … CATCH_ENFORCE(m_epsilon < 1., "Relative comparison with epsilon >= 1 does not make sense."); in WithinRelMatcher() 13241 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'"); in createReporter() 13634 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" ); in FileStream() 13854 … CATCH_ENFORCE(isNullTerminated(), "Called StringRef::c_str() on a non-null-terminated instance"); in c_str() [all …]
|