/external/Microsoft-GSL/tests/ |
D | at_tests.cpp | 51 CHECK_THROWS_AS(gsl::at(a, -1), fail_fast); 52 CHECK_THROWS_AS(gsl::at(a, 4), fail_fast); 53 CHECK_THROWS_AS(gsl::at(c_a, -1), fail_fast); 54 CHECK_THROWS_AS(gsl::at(c_a, 4), fail_fast); 69 CHECK_THROWS_AS(gsl::at(a, -1), fail_fast); 70 CHECK_THROWS_AS(gsl::at(a, 4), fail_fast); 71 CHECK_THROWS_AS(gsl::at(c_a, -1), fail_fast); 72 CHECK_THROWS_AS(gsl::at(c_a, 4), fail_fast); 87 CHECK_THROWS_AS(gsl::at(a, -1), fail_fast); 88 CHECK_THROWS_AS(gsl::at(a, 4), fail_fast); [all …]
|
D | strided_span_tests.cpp | 353 CHECK_THROWS_AS(av.section(0, 0)[0], fail_fast); 354 CHECK_THROWS_AS(av.section(1, 0)[0], fail_fast); 355 CHECK_THROWS_AS(av.section(1, 1)[1], fail_fast); 357 CHECK_THROWS_AS(av.section(2, 5), fail_fast); 358 CHECK_THROWS_AS(av.section(5, 2), fail_fast); 359 CHECK_THROWS_AS(av.section(5, 0), fail_fast); 360 CHECK_THROWS_AS(av.section(0, 5), fail_fast); 361 CHECK_THROWS_AS(av.section(5, 5), fail_fast); 369 CHECK_THROWS_AS(sav[4], fail_fast); 375 CHECK_THROWS_AS(sav[0], fail_fast); [all …]
|
D | multi_span_tests.cpp | 155 CHECK_THROWS_AS(workaround_macro(), fail_fast); 158 CHECK_THROWS_AS(const_workaround_macro(), fail_fast); 163 CHECK_THROWS_AS(workaround_macro(), fail_fast); 166 CHECK_THROWS_AS(const_workaround_macro(), fail_fast); 262 CHECK_THROWS_AS(workaround_macro(), fail_fast); 295 CHECK_THROWS_AS(workaround_macro(), fail_fast); 301 CHECK_THROWS_AS(workaround_macro(), fail_fast); 307 CHECK_THROWS_AS(workaround_macro(), fail_fast); 313 CHECK_THROWS_AS(workaround_macro(), fail_fast); 455 CHECK_THROWS_AS(s[10][3][4], fail_fast); [all …]
|
D | notnull_tests.cpp | 167 CHECK_THROWS_AS(not_null<decltype(pi)>(pi), fail_fast); 224 CHECK_THROWS_AS(helper(return_pointer()), fail_fast); 225 CHECK_THROWS_AS(helper_const(return_pointer()), fail_fast); 293 CHECK_THROWS_AS(p = not_null<int*>(q), fail_fast); 450 CHECK_THROWS_AS(workaround_macro(), fail_fast); 458 CHECK_THROWS_AS(workaround_macro(), fail_fast); 464 CHECK_THROWS_AS(helper(not_null{p}), fail_fast); 465 CHECK_THROWS_AS(helper_const(not_null{p}), fail_fast); 507 CHECK_THROWS_AS(workaround_macro(), fail_fast); 516 CHECK_THROWS_AS(workaround_macro(), fail_fast); [all …]
|
D | span_tests.cpp | 137 CHECK_THROWS_AS(workaround_macro(), fail_fast); 142 CHECK_THROWS_AS(workaround_macro(), fail_fast); 145 CHECK_THROWS_AS(const_workaround_macro(), fail_fast); 150 CHECK_THROWS_AS(workaround_macro(), fail_fast); 153 CHECK_THROWS_AS(const_workaround_macro(), fail_fast); 217 CHECK_THROWS_AS(workaround_macro(), fail_fast); 235 CHECK_THROWS_AS(workaround_macro(), fail_fast); 806 CHECK_THROWS_AS(av.first(6).size(), fail_fast); 844 CHECK_THROWS_AS(av.last(6).size(), fail_fast); 880 CHECK_THROWS_AS(av.subspan(0, 6).size(), fail_fast); [all …]
|
D | utils_tests.cpp | 115 CHECK_THROWS_AS(narrow<char>(n), narrowing_error); 124 CHECK_THROWS_AS(narrow<uint32_t>(int32_t(-1)), narrowing_error); 125 CHECK_THROWS_AS(narrow<uint32_t>(int32_min), narrowing_error); 128 CHECK_THROWS_AS(narrow<unsigned>(n), narrowing_error);
|
D | strict_notnull_tests.cpp | 164 CHECK_THROWS_AS(workaround_macro(), fail_fast); 172 CHECK_THROWS_AS(workaround_macro(), fail_fast); 178 CHECK_THROWS_AS(helper(strict_not_null{p}), fail_fast); 179 CHECK_THROWS_AS(helper_const(strict_not_null{p}), fail_fast);
|
D | assertion_tests.cpp | 38 CHECK_THROWS_AS(f(10), fail_fast); 51 CHECK_THROWS_AS(g(9), fail_fast);
|
D | algorithm_tests.cpp | 214 CHECK_THROWS_AS(copy(src_span_dyn, dst_span_dyn), fail_fast); 215 CHECK_THROWS_AS(copy(src_span_dyn, dst_span_static), fail_fast); 216 CHECK_THROWS_AS(copy(src_span_static, dst_span_dyn), fail_fast);
|
D | bounds_tests.cpp | 105 CHECK_THROWS_AS(b6 = b5, fail_fast);
|
D | string_span_tests.cpp | 941 CHECK_THROWS_AS(workaround_macro(), fail_fast); 997 CHECK_THROWS_AS(workaround_macro(), fail_fast); 1053 CHECK_THROWS_AS(workaround_macro(), fail_fast); 1109 CHECK_THROWS_AS(workaround_macro(), fail_fast);
|
/external/parameter-framework/upstream/test/functional-tests/ |
D | Integer.cpp | 98 CHECK_THROWS_AS(mPf->start(), Exception); 118 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 141 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 178 CHECK_THROWS_AS(handle.setAsSignedInteger(vec.payload), Exception); 195 CHECK_THROWS_AS(handle.setAsDouble(vec.payload), Exception); 202 CHECK_THROWS_AS(handle.setAsDouble(vec.payload), Exception);
|
D | EnumParameter.cpp | 65 CHECK_THROWS_AS(mPf->start(), Exception); 85 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 106 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 124 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 159 CHECK_THROWS_AS(handle.setAsSignedInteger(vec.payload), Exception);
|
D | FixedPoint.cpp | 68 CHECK_THROWS_AS(mPf->start(), Exception); 89 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 124 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 131 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
|
D | BitParameter.cpp | 69 CHECK_THROWS_AS(mPf->start(), Exception); 89 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 113 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 138 CHECK_THROWS_AS(handle.setAsBoolean(vec.payload), Exception);
|
D | Basic.cpp | 119 CHECK_THROWS_AS(mPf->start(), Exception); 136 CHECK_THROWS_AS(mPf->start(), Exception); 142 CHECK_THROWS_AS(mPf->start(), Exception); 160 CHECK_THROWS_AS(mPf->start(), Exception);
|
D | FloatingPoint.cpp | 69 CHECK_THROWS_AS(mPf->start(), Exception); 91 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 124 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 172 CHECK_THROWS_AS(handle.setAsDouble(vec.payload), Exception);
|
D | Linear.cpp | 74 CHECK_THROWS_AS(mPf->start(), Exception); 95 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 137 CHECK_THROWS_AS(handle.setAsDouble(vec.payload), Exception);
|
D | Boolean.cpp | 69 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception); 122 CHECK_THROWS_AS(handle.setAsInteger(vec.payload), Exception); 138 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
|
D | Logarithmic.cpp | 76 CHECK_THROWS_AS(mPf->start(), Exception); 95 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
|
/external/catch2/projects/SelfTest/UsageTests/ |
D | Exception.tests.cpp | 84 CHECK_THROWS_AS( thisThrows(), std::string ); 85 CHECK_THROWS_AS( thisDoesntThrow(), std::domain_error );
|
D | Compilation.tests.cpp | 85 CHECK_THROWS_AS(throws_int(true), int); in templated_tests()
|
/external/catch2/projects/ExtraTests/ |
D | CMakeLists.txt | 30 …; CHECK_FALSE; CHECKED_IF; CHECKED_ELSE; CHECK_NOFAIL; CHECK_THROWS; CHECK_THROWS_AS; CHECK_THROWS…
|
/external/catch2/include/ |
D | catch.hpp | 203 #define CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CHECK_THROWS_AS", excepti… macro 370 #define CHECK_THROWS_AS( expr, exceptionType ) (void)(0) macro
|
/external/catch2/projects/SelfTest/Baselines/ |
D | console.swa4.approved.txt | 227 CHECK_THROWS_AS( throws_int(true), int )
|