Lines Matching refs:TEST_F
50 TEST_F(AssertFail, CrashMessageNoArguments) { in TEST_F() function
54 TEST_F(AssertFail, CrashMessageWithArguments) { in TEST_F() function
60 TEST_F(AssertPass, CheckNoMessage) { PW_CHECK(true); } in TEST_F() function
61 TEST_F(AssertFail, CheckNoMessage) { in TEST_F() function
65 TEST_F(AssertPass, CheckNoMessageComplexExpression) { PW_CHECK(2 == 2); } in TEST_F() function
66 TEST_F(AssertFail, CheckNoMessageComplexExpression) { in TEST_F() function
72 TEST_F(AssertPass, CheckMessageNoArguments) { PW_CHECK(true, "Hello"); } in TEST_F() function
73 TEST_F(AssertFail, CheckMessageNoArguments) { in TEST_F() function
77 TEST_F(AssertPass, CheckMessageWithArguments) { PW_CHECK(true, "Hello %d", 5); } in TEST_F() function
78 TEST_F(AssertFail, CheckMessageWithArguments) { in TEST_F() function
88 TEST_F(AssertFail, IntLessThanNoMessageNoArguments) { in TEST_F() function
92 TEST_F(AssertFail, IntLessThanMessageNoArguments) { in TEST_F() function
96 TEST_F(AssertFail, IntLessThanMessageArguments) { in TEST_F() function
104 TEST_F(AssertPass, IntLt1) { PW_CHECK_INT_LT(-1, 2); } in TEST_F() function
105 TEST_F(AssertPass, IntLt2) { PW_CHECK_INT_LT(1, 2); } in TEST_F() function
106 TEST_F(AssertFail, IntLt3) { PW_CHECK_INT_LT(-1, -2); } in TEST_F() function
107 TEST_F(AssertFail, IntLt4) { PW_CHECK_INT_LT(1, 1); } in TEST_F() function
110 TEST_F(AssertPass, IntLe1) { PW_CHECK_INT_LE(-1, 2); } in TEST_F() function
111 TEST_F(AssertPass, IntLe2) { PW_CHECK_INT_LE(1, 2); } in TEST_F() function
112 TEST_F(AssertFail, IntLe3) { PW_CHECK_INT_LE(-1, -2); } in TEST_F() function
113 TEST_F(AssertPass, IntLe4) { PW_CHECK_INT_LE(1, 1); } in TEST_F() function
116 TEST_F(AssertFail, IntEq1) { PW_CHECK_INT_EQ(-1, 2); } in TEST_F() function
117 TEST_F(AssertFail, IntEq2) { PW_CHECK_INT_EQ(1, 2); } in TEST_F() function
118 TEST_F(AssertFail, IntEq3) { PW_CHECK_INT_EQ(-1, -2); } in TEST_F() function
119 TEST_F(AssertPass, IntEq4) { PW_CHECK_INT_EQ(1, 1); } in TEST_F() function
122 TEST_F(AssertPass, IntNe1) { PW_CHECK_INT_NE(-1, 2); } in TEST_F() function
123 TEST_F(AssertPass, IntNe2) { PW_CHECK_INT_NE(1, 2); } in TEST_F() function
124 TEST_F(AssertPass, IntNe3) { PW_CHECK_INT_NE(-1, -2); } in TEST_F() function
125 TEST_F(AssertFail, IntNe4) { PW_CHECK_INT_NE(1, 1); } in TEST_F() function
128 TEST_F(AssertFail, IntGt1) { PW_CHECK_INT_GT(-1, 2); } in TEST_F() function
129 TEST_F(AssertFail, IntGt2) { PW_CHECK_INT_GT(1, 2); } in TEST_F() function
130 TEST_F(AssertPass, IntGt3) { PW_CHECK_INT_GT(-1, -2); } in TEST_F() function
131 TEST_F(AssertFail, IntGt4) { PW_CHECK_INT_GT(1, 1); } in TEST_F() function
134 TEST_F(AssertFail, IntGe1) { PW_CHECK_INT_GE(-1, 2); } in TEST_F() function
135 TEST_F(AssertFail, IntGe2) { PW_CHECK_INT_GE(1, 2); } in TEST_F() function
136 TEST_F(AssertPass, IntGe3) { PW_CHECK_INT_GE(-1, -2); } in TEST_F() function
137 TEST_F(AssertPass, IntGe4) { PW_CHECK_INT_GE(1, 1); } in TEST_F() function
144 TEST_F(AssertFail, UintLessThanNoMessageNoArguments) { in TEST_F() function
148 TEST_F(AssertFail, UintLessThanMessageNoArguments) { in TEST_F() function
152 TEST_F(AssertFail, UintLessThanMessageArguments) { in TEST_F() function
160 TEST_F(AssertPass, UintLt1) { PW_CHECK_UINT_LT(1, 2); } in TEST_F() function
161 TEST_F(AssertFail, UintLt2) { PW_CHECK_UINT_LT(2, 2); } in TEST_F() function
162 TEST_F(AssertFail, UintLt3) { PW_CHECK_UINT_LT(2, 1); } in TEST_F() function
165 TEST_F(AssertPass, UintLe1) { PW_CHECK_UINT_LE(1, 2); } in TEST_F() function
166 TEST_F(AssertPass, UintLe2) { PW_CHECK_UINT_LE(2, 2); } in TEST_F() function
167 TEST_F(AssertFail, UintLe3) { PW_CHECK_UINT_LE(2, 1); } in TEST_F() function
170 TEST_F(AssertFail, UintEq1) { PW_CHECK_UINT_EQ(1, 2); } in TEST_F() function
171 TEST_F(AssertPass, UintEq2) { PW_CHECK_UINT_EQ(2, 2); } in TEST_F() function
172 TEST_F(AssertFail, UintEq3) { PW_CHECK_UINT_EQ(2, 1); } in TEST_F() function
175 TEST_F(AssertPass, UintNe1) { PW_CHECK_UINT_NE(1, 2); } in TEST_F() function
176 TEST_F(AssertFail, UintNe2) { PW_CHECK_UINT_NE(2, 2); } in TEST_F() function
177 TEST_F(AssertPass, UintNe3) { PW_CHECK_UINT_NE(2, 1); } in TEST_F() function
180 TEST_F(AssertFail, UintGt1) { PW_CHECK_UINT_GT(1, 2); } in TEST_F() function
181 TEST_F(AssertFail, UintGt2) { PW_CHECK_UINT_GT(2, 2); } in TEST_F() function
182 TEST_F(AssertPass, UintGt3) { PW_CHECK_UINT_GT(2, 1); } in TEST_F() function
185 TEST_F(AssertFail, UintGe1) { PW_CHECK_UINT_GE(1, 2); } in TEST_F() function
186 TEST_F(AssertPass, UintGe2) { PW_CHECK_UINT_GE(2, 2); } in TEST_F() function
187 TEST_F(AssertPass, UintGe3) { PW_CHECK_UINT_GE(2, 1); } in TEST_F() function
196 TEST_F(AssertPass, PtrLt1) { PW_CHECK_PTR_LT(0xa, 0xb); } in TEST_F() function
197 TEST_F(AssertFail, PtrLt2) { PW_CHECK_PTR_LT(0xb, 0xb); } in TEST_F() function
198 TEST_F(AssertFail, PtrLt3) { PW_CHECK_PTR_LT(0xb, 0xa); } in TEST_F() function
201 TEST_F(AssertPass, PtrLe1) { PW_CHECK_PTR_LE(0xa, 0xb); } in TEST_F() function
202 TEST_F(AssertPass, PtrLe2) { PW_CHECK_PTR_LE(0xb, 0xb); } in TEST_F() function
203 TEST_F(AssertFail, PtrLe3) { PW_CHECK_PTR_LE(0xb, 0xa); } in TEST_F() function
206 TEST_F(AssertFail, PtrEq1) { PW_CHECK_PTR_EQ(0xa, 0xb); } in TEST_F() function
207 TEST_F(AssertPass, PtrEq2) { PW_CHECK_PTR_EQ(0xb, 0xb); } in TEST_F() function
208 TEST_F(AssertFail, PtrEq3) { PW_CHECK_PTR_EQ(0xb, 0xa); } in TEST_F() function
211 TEST_F(AssertPass, PtrNe1) { PW_CHECK_PTR_NE(0xa, 0xb); } in TEST_F() function
212 TEST_F(AssertFail, PtrNe2) { PW_CHECK_PTR_NE(0xb, 0xb); } in TEST_F() function
213 TEST_F(AssertPass, PtrNe3) { PW_CHECK_PTR_NE(0xb, 0xa); } in TEST_F() function
216 TEST_F(AssertFail, PtrGt1) { PW_CHECK_PTR_GT(0xa, 0xb); } in TEST_F() function
217 TEST_F(AssertFail, PtrGt2) { PW_CHECK_PTR_GT(0xb, 0xb); } in TEST_F() function
218 TEST_F(AssertPass, PtrGt3) { PW_CHECK_PTR_GT(0xb, 0xa); } in TEST_F() function
221 TEST_F(AssertFail, PtrGe1) { PW_CHECK_PTR_GE(0xa, 0xb); } in TEST_F() function
222 TEST_F(AssertPass, PtrGe2) { PW_CHECK_PTR_GE(0xb, 0xb); } in TEST_F() function
223 TEST_F(AssertPass, PtrGe3) { PW_CHECK_PTR_GE(0xb, 0xa); } in TEST_F() function
226 TEST_F(AssertPass, PtrNotNull) { PW_CHECK_NOTNULL(0xa); } in TEST_F() function
227 TEST_F(AssertFail, PtrNotNull) { PW_CHECK_NOTNULL(0x0); } in TEST_F() function
245 TEST_F(AssertFail, FloatLessThanNoMessageNoArguments) { in TEST_F() function
249 TEST_F(AssertFail, FloatLessThanMessageNoArguments) { in TEST_F() function
253 TEST_F(AssertFail, FloatLessThanMessageArguments) { in TEST_F() function
258 TEST_F(AssertFail, FloatNearAboveNoMessageNoArguments) { in TEST_F() function
263 TEST_F(AssertFail, FloatNearAboveMessageNoArguments) { in TEST_F() function
268 TEST_F(AssertFail, FloatNearAboveMessageArguments) { in TEST_F() function
274 TEST_F(AssertFail, FloatNearBelowNoMessageNoArguments) { in TEST_F() function
279 TEST_F(AssertFail, FloatNearBelowMessageNoArguments) { in TEST_F() function
284 TEST_F(AssertFail, FloatNearBelowMessageArguments) { in TEST_F() function
295 TEST_F(AssertPass, FloatLt1) { PW_CHECK_FLOAT_EXACT_LT(1.1, 1.2); } in TEST_F() function
296 TEST_F(AssertFail, FloatLt2) { PW_CHECK_FLOAT_EXACT_LT(1.2, 1.2); } in TEST_F() function
297 TEST_F(AssertFail, FloatLt3) { PW_CHECK_FLOAT_EXACT_LT(1.2, 1.1); } in TEST_F() function
300 TEST_F(AssertPass, FloatLe1) { PW_CHECK_FLOAT_EXACT_LE(1.1, 1.2); } in TEST_F() function
301 TEST_F(AssertPass, FloatLe2) { PW_CHECK_FLOAT_EXACT_LE(1.2, 1.2); } in TEST_F() function
302 TEST_F(AssertFail, FloatLe3) { PW_CHECK_FLOAT_EXACT_LE(1.2, 1.1); } in TEST_F() function
305 TEST_F(AssertFail, FloatNearAbs1) { PW_CHECK_FLOAT_NEAR(1.09, 1.2, 0.1); } in TEST_F() function
306 TEST_F(AssertPass, FloatNearAbs2) { PW_CHECK_FLOAT_NEAR(1.1, 1.2, 0.1); } in TEST_F() function
307 TEST_F(AssertPass, FloatNearAbs3) { PW_CHECK_FLOAT_NEAR(1.2, 1.2, 0.1); } in TEST_F() function
308 TEST_F(AssertPass, FloatNearAbs4) { PW_CHECK_FLOAT_NEAR(1.2, 1.1, 0.1); } in TEST_F() function
309 TEST_F(AssertFail, FloatNearAbs5) { PW_CHECK_FLOAT_NEAR(1.21, 1.1, 0.1); } in TEST_F() function
311 TEST_F(AssertFail, FloatNearAbs6) { PW_CHECK_FLOAT_NEAR(1.2, 1.2, -0.1); } in TEST_F() function
312 TEST_F(AssertPass, FloatNearAbs7) { PW_CHECK_FLOAT_NEAR(1.2, 1.2, 0.0); } in TEST_F() function
315 TEST_F(AssertFail, FloatEq1) { PW_CHECK_FLOAT_EXACT_EQ(1.1, 1.2); } in TEST_F() function
316 TEST_F(AssertPass, FloatEq2) { PW_CHECK_FLOAT_EXACT_EQ(1.2, 1.2); } in TEST_F() function
317 TEST_F(AssertFail, FloatEq3) { PW_CHECK_FLOAT_EXACT_EQ(1.2, 1.1); } in TEST_F() function
320 TEST_F(AssertPass, FloatNe1) { PW_CHECK_FLOAT_EXACT_NE(1.1, 1.2); } in TEST_F() function
321 TEST_F(AssertFail, FloatNe2) { PW_CHECK_FLOAT_EXACT_NE(1.2, 1.2); } in TEST_F() function
322 TEST_F(AssertPass, FloatNe3) { PW_CHECK_FLOAT_EXACT_NE(1.2, 1.1); } in TEST_F() function
325 TEST_F(AssertFail, FloatGt1) { PW_CHECK_FLOAT_EXACT_GT(1.1, 1.2); } in TEST_F() function
326 TEST_F(AssertFail, FloatGt2) { PW_CHECK_FLOAT_EXACT_GT(1.2, 1.2); } in TEST_F() function
327 TEST_F(AssertPass, FloatGt3) { PW_CHECK_FLOAT_EXACT_GT(1.2, 1.1); } in TEST_F() function
330 TEST_F(AssertFail, FloatGe1) { PW_CHECK_FLOAT_EXACT_GE(1.1, 1.2); } in TEST_F() function
331 TEST_F(AssertPass, FloatGe2) { PW_CHECK_FLOAT_EXACT_GE(1.2, 1.2); } in TEST_F() function
332 TEST_F(AssertPass, FloatGe3) { PW_CHECK_FLOAT_EXACT_GE(1.2, 1.1); } in TEST_F() function
337 TEST_F(AssertFail, CommaHandlingLeftSide) { in TEST_F() function
341 TEST_F(AssertFail, CommaHandlingRightSide) { in TEST_F() function
456 TEST_F(AssertFail, StatusNotOK) { in TEST_F() function
462 TEST_F(AssertFail, StatusNotOKMessageNoArguments) { in TEST_F() function
468 TEST_F(AssertFail, StatusNotOKMessageArguments) { in TEST_F() function
477 TEST_F(AssertFail, NonTrivialExpression) { in TEST_F() function
486 TEST_F(AssertPass, Function) { PW_CHECK_OK(pw::OkStatus()); } in TEST_F() function
487 TEST_F(AssertPass, Enum) { PW_CHECK_OK(PW_STATUS_OK); } in TEST_F() function
488 TEST_F(AssertFail, Function) { PW_CHECK_OK(pw::Status::Unknown()); } in TEST_F() function
489 TEST_F(AssertFail, Enum) { PW_CHECK_OK(PW_STATUS_UNKNOWN); } in TEST_F() function
494 TEST_F(AssertPass, DCheckFunction) { PW_DCHECK_OK(pw::OkStatus()); } in TEST_F() function
495 TEST_F(AssertPass, DCheckEnum) { PW_DCHECK_OK(PW_STATUS_OK); } in TEST_F() function
496 TEST_F(AssertFail, DCheckFunction) { PW_DCHECK_OK(pw::Status::Unknown()); } in TEST_F() function
497 TEST_F(AssertFail, DCheckEnum) { PW_DCHECK_OK(PW_STATUS_UNKNOWN); } in TEST_F() function
501 TEST_F(AssertPass, DCheckFunction_Ok) { PW_DCHECK_OK(pw::OkStatus()); } in TEST_F() function
502 TEST_F(AssertPass, DCheckEnum_Ok) { PW_DCHECK_OK(PW_STATUS_OK); } in TEST_F() function
503 TEST_F(AssertPass, DCheckFunction_Err) { PW_DCHECK_OK(pw::Status::Unknown()); } in TEST_F() function
504 TEST_F(AssertPass, DCheckEnum_Err) { PW_DCHECK_OK(PW_STATUS_UNKNOWN); } in TEST_F() function