Home
last modified time | relevance | path

Searched refs:CHECK_THROWS_AS (Results 1 – 25 of 31) sorted by relevance

12

/external/Microsoft-GSL/tests/
Dat_tests.cpp51 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 …]
Dstrided_span_tests.cpp353 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 …]
Dmulti_span_tests.cpp155 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 …]
Dnotnull_tests.cpp167 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 …]
Dspan_tests.cpp137 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 …]
Dutils_tests.cpp115 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);
Dstrict_notnull_tests.cpp164 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);
Dassertion_tests.cpp38 CHECK_THROWS_AS(f(10), fail_fast);
51 CHECK_THROWS_AS(g(9), fail_fast);
Dalgorithm_tests.cpp214 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);
Dbounds_tests.cpp105 CHECK_THROWS_AS(b6 = b5, fail_fast);
Dstring_span_tests.cpp941 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/
DInteger.cpp98 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);
DEnumParameter.cpp65 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);
DFixedPoint.cpp68 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);
DBitParameter.cpp69 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);
DBasic.cpp119 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);
DFloatingPoint.cpp69 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);
DLinear.cpp74 CHECK_THROWS_AS(mPf->start(), Exception);
95 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
137 CHECK_THROWS_AS(handle.setAsDouble(vec.payload), Exception);
DBoolean.cpp69 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);
DLogarithmic.cpp76 CHECK_THROWS_AS(mPf->start(), Exception);
95 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
/external/catch2/projects/SelfTest/UsageTests/
DException.tests.cpp84 CHECK_THROWS_AS( thisThrows(), std::string );
85 CHECK_THROWS_AS( thisDoesntThrow(), std::domain_error );
DCompilation.tests.cpp85 CHECK_THROWS_AS(throws_int(true), int); in templated_tests()
/external/catch2/projects/ExtraTests/
DCMakeLists.txt30 …; CHECK_FALSE; CHECKED_IF; CHECKED_ELSE; CHECK_NOFAIL; CHECK_THROWS; CHECK_THROWS_AS; CHECK_THROWS…
/external/catch2/include/
Dcatch.hpp203 #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/
Dconsole.swa4.approved.txt227 CHECK_THROWS_AS( throws_int(true), int )

12