Lines Matching defs:bool

41   bool dummy = testing::GTEST_FLAG(also_run_disabled_tests)
175 static bool EventForwardingEnabled(const TestEventListeners& listeners) {
757 static bool IsPositive(int n) { return n > 0; }
840 static bool VectorIsCorrupt(const TestingVector& vector) {
845 bool found_in_vector[kVectorSize] = { false };
859 static bool VectorIsNotCorrupt(const TestingVector& vector) {
863 static bool RangeIsShuffled(const TestingVector& vector, int begin, int end) {
872 static bool RangeIsUnshuffled(
877 static bool VectorIsShuffled(const TestingVector& vector) {
881 static bool VectorIsUnshuffled(const TestingVector& vector) {
1215 void DoesNotAbortHelper(bool* aborted) {
1228 bool aborted = true;
2111 bool IsEven(int n) {
2117 bool operator()(int n) { return IsEven(n); }
2160 bool SumIsEven2(int n1, int n2) {
2167 bool operator()(int n1, int n2, int n3) {
2348 bool IsPositive(double x) {
2353 bool IsNegative(T x) {
2358 bool GreaterThan(T1 x1, T2 x2) {
2366 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT
2367 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT
3326 }, bool), "throws a different type");
3330 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing");
3770 ASSERT_THROW(ThrowAnInteger(), bool),
3771 "Expected: ThrowAnInteger() throws an exception of type bool.\n"
3776 ASSERT_THROW(ThrowNothing(), bool),
3777 "Expected: ThrowNothing() throws an exception of type bool.\n"
3804 bool false_value = false;
3825 bool operator==(const Uncopyable& rhs) const {
3841 bool IsPositiveUncopyable(const Uncopyable& x) {
4099 EXPECT_THROW(ThrowNothing(), bool);
4510 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool),
4512 "type bool.\n Actual: it throws a different type.");
4514 EXPECT_THROW(ThrowNothing(), bool),
4515 "Expected: ThrowNothing() throws an exception of type bool.\n"
4633 void AddFailureHelper(bool* aborted) {
4641 bool aborted = true;
4683 // Tests using bool values in {EXPECT|ASSERT}_EQ.
4687 bool false_value = false;
4931 bool operator==(const UnprintableChar& rhs) const {
4934 bool operator!=(const UnprintableChar& rhs) const {
4937 bool operator<(const UnprintableChar& rhs) const {
4940 bool operator<=(const UnprintableChar& rhs) const {
4943 bool operator>(const UnprintableChar& rhs) const {
4946 bool operator>=(const UnprintableChar& rhs) const {
5077 EXPECT_EQ(static_cast<bool>(r3), static_cast<bool>(r1));
5133 explicit operator bool() const { return value; }
5134 bool value;
5261 bool* p5 = NULL;
5477 static Flags AlsoRunDisabledTests(bool also_run_disabled_tests) {
5485 static Flags BreakOnFailure(bool break_on_failure) {
5493 static Flags CatchExceptions(bool catch_exceptions) {
5501 static Flags DeathTestUseFork(bool death_test_use_fork) {
5517 static Flags ListTests(bool list_tests) {
5533 static Flags PrintTime(bool print_time) {
5557 static Flags Shuffle(bool shuffle) {
5581 static Flags ThrowOnFailure(bool throw_on_failure) {
5588 bool also_run_disabled_tests;
5589 bool break_on_failure;
5590 bool catch_exceptions;
5591 bool death_test_use_fork;
5593 bool list_tests;
5595 bool print_time;
5598 bool shuffle;
5601 bool throw_on_failure;
5662 const Flags& expected, bool should_print_help) {
5663 const bool saved_help_flag = ::testing::internal::g_help_flag;
6713 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool) <<
6715 EXPECT_FATAL_FAILURE(ASSERT_THROW(ThrowAnInteger(), bool) <<
6866 static bool dummy1 GTEST_ATTRIBUTE_UNUSED_ = StaticAssertTypeEq<bool, bool>();
6867 static bool dummy2 GTEST_ATTRIBUTE_UNUSED_ =
6875 StaticAssertTypeEqTestHelper() { StaticAssertTypeEq<bool, T>(); }
6879 StaticAssertTypeEqTestHelper<bool>();
6907 const bool has_nonfatal_failure = HasNonfatalFailure();
6914 const bool has_nonfatal_failure = HasNonfatalFailure();
6922 const bool has_nonfatal_failure = HasNonfatalFailure();
6928 static bool HasNonfatalFailureHelper() {
6938 const bool has_nonfatal_failure = HasNonfatalFailureHelper();
6949 const bool has_failure = HasFailure();
6956 const bool has_failure = HasFailure();
6964 const bool has_failure = HasFailure();
6970 static bool HasFailureHelper() { return testing::Test::HasFailure(); }
6978 const bool has_failure = HasFailureHelper();
6986 TestListener(int* on_start_counter, bool* is_destroyed)
7003 bool* is_destroyed_;
7018 bool default_result_printer_is_destroyed = false;
7019 bool default_xml_printer_is_destroyed = false;
7020 bool extra_listener_is_destroyed = false;
7045 bool is_destroyed = false;
7140 bool is_destroyed = false;
7187 bool is_destroyed = false;
7218 bool is_destroyed = false;
7246 bool is_destroyed = false;
7277 bool is_destroyed = false;
7529 sizeof(IsContainerTest<std::vector<bool> >(0)));
7645 StaticAssertTypeEq<const bool(*)[2], NativeArray<bool[2]>::const_iterator>();