Home
last modified time | relevance | path

Searched refs:CATCH_ENFORCE (Results 1 – 12 of 12) sorted by relevance

/external/catch2/projects/SelfTest/IntrospectiveTests/
DDetails.tests.cpp17 REQUIRE_THROWS_AS([](){CATCH_ENFORCE(false, "");}(), std::domain_error); in __anonb59af5d70102()
18 REQUIRE_NOTHROW([](){CATCH_ENFORCE(true, "");}()); in __anonb59af5d70202()
/external/catch2/include/internal/
Dcatch_matchers_floating.cpp112 CATCH_ENFORCE(margin >= 0, "Invalid margin: " << margin << '.'
129 CATCH_ENFORCE(m_type == FloatingPointKind::Double
186CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher()
187CATCH_ENFORCE(m_epsilon < 1., "Relative comparison with epsilon >= 1 does not make sense."); in WithinRelMatcher()
Dcatch_tag_alias_registry.cpp43 CATCH_ENFORCE( startsWith(alias, "[@") && endsWith(alias, ']'), in add()
46 CATCH_ENFORCE( m_registry.insert(std::make_pair(alias, TagAlias(tag, lineInfo))).second, in add()
Dcatch_approx.cpp60 CATCH_ENFORCE(newMargin >= 0, in setMargin()
67 CATCH_ENFORCE(newEpsilon >= 0 && newEpsilon <= 1.0, in setEpsilon()
Dcatch_enforce.h49 #define CATCH_ENFORCE( condition, ... ) \ macro
Dcatch_stringref.cpp22CATCH_ENFORCE(isNullTerminated(), "Called StringRef::c_str() on a non-null-terminated instance"); in c_str()
Dcatch_test_case_registry_impl.cpp53 CATCH_ENFORCE( prev.second, in enforceNoDuplicateTestCases()
Dcatch_stream.cpp81 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" ); in FileStream()
Dcatch_test_case_info.cpp44 CATCH_ENFORCE( !isReservedTag(tag), in enforceNotReservedTag()
Dcatch_session.cpp38 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'"); in createReporter()
/external/catch2/single_include/catch2/
Dcatch.hpp3878 #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
11519CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher()
11520CATCH_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()
13709CATCH_ENFORCE(isNullTerminated(), "Called StringRef::c_str() on a non-null-terminated instance"); in c_str()
[all …]
/external/libabigail/tests/lib/
Dcatch.hpp3902 #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
11581CATCH_ENFORCE(m_epsilon >= 0., "Relative comparison with epsilon < 0 does not make sense."); in WithinRelMatcher()
11582CATCH_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()
13854CATCH_ENFORCE(isNullTerminated(), "Called StringRef::c_str() on a non-null-terminated instance"); in c_str()
[all …]