Home
last modified time | relevance | path

Searched refs:Bool (Results 1 – 7 of 7) sorted by relevance

/ndk/sources/third_party/googletest/googletest/test/
Dgtest_pred_impl_unittest.cc56 struct Bool { struct
57 explicit Bool(int val) : value(val != 0) {} in Bool() function
59 bool operator>(int n) const { return value > Bool(n).value; } in operator >() argument
61 Bool operator+(const Bool& rhs) const { return Bool(value + rhs.value); } in operator +() argument
63 bool operator==(const Bool& rhs) const { return value == rhs.value; } in operator ==() argument
69 std::ostream& operator<<(std::ostream& os, const Bool& x) { in operator <<()
87 bool PredFunction1Bool(Bool v1) { in PredFunction1Bool()
177 Bool(++n1_)); in TEST_F()
193 Bool(++n1_)); in TEST_F()
212 Bool(n1_++)); in TEST_F()
[all …]
Dgtest-param-test_test.cc58 using ::testing::Bool;
454 const ParamGenerator<bool> gen = Bool(); in TEST()
Dgtest-printers_test.cc318 TEST(PrintBuiltInTypeTest, Bool) { in TEST() argument
493 TEST(PrintPointerToBuiltInTypeTest, Bool) { in TEST() argument
Dgtest_unittest.cc4594 TEST(EqAssertionTest, Bool) { in TEST() argument
/ndk/sources/third_party/googletest/googletest/samples/
Dsample8_unittest.cc84 using ::testing::Bool;
161 Combine(Bool(), Values(1, 10)));
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-param-test.h.pump91 // Bool() - Yields sequence {false, true}.
357 // Bool() allows generating tests with parameters in a set of (false, true).
360 // Bool()
364 // of multiple flags can be tested when several Bool()'s are combined using
375 // INSTANTIATE_TEST_CASE_P(BoolSequence, FlagDependentTest, Bool());
377 inline internal::ParamGenerator<bool> Bool() {
428 // Combine(Bool(), Bool()));
Dgtest-param-test.h1220 inline internal::ParamGenerator<bool> Bool() { in Bool() function