Home | History | Annotate | Download | only in test

Lines Matching defs:bool

41   bool dummy = testing::GTEST_FLAG(also_run_disabled_tests)
84 bool ShouldUseColor(bool stdout_is_tty);
86 bool ParseInt32Flag(const char* str, const char* flag, Int32* value);
105 static bool EventForwardingEnabled(const TestEventListeners& listeners) {
896 static bool VectorIsCorrupt(const TestingVector& vector) {
901 bool found_in_vector[kVectorSize] = { false };
915 static bool VectorIsNotCorrupt(const TestingVector& vector) {
919 static bool RangeIsShuffled(const TestingVector& vector, int begin, int end) {
928 static bool RangeIsUnshuffled(
933 static bool VectorIsShuffled(const TestingVector& vector) {
937 static bool VectorIsUnshuffled(const TestingVector& vector) {
1616 void DoesNotAbortHelper(bool* aborted) {
1629 bool aborted = true;
2400 bool IsEven(int n) {
2406 bool operator()(int n) { return IsEven(n); }
2430 bool SumIsEven2(int n1, int n2) {
2437 bool operator()(int n1, int n2, int n3) {
2618 bool IsPositive(int n) {
2622 bool IsPositive(double x) {
2627 bool IsNegative(T x) {
2632 bool GreaterThan(T1 x1, T2 x2) {
2640 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT
2641 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT
3589 }, bool), "throws a different type");
3593 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing");
3908 ASSERT_THROW(ThrowAnInteger(), bool),
3909 "Expected: ThrowAnInteger() throws an exception of type bool.\n"
3913 ASSERT_THROW(ThrowNothing(), bool),
3914 "Expected: ThrowNothing() throws an exception of type bool.\n"
3961 bool operator==(const Uncopyable& rhs) const {
3977 bool IsPositiveUncopyable(const Uncopyable& x) {
4199 EXPECT_THROW(ThrowNothing(), bool);
4476 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool),
4478 "type bool.\n Actual: it throws a different type.");
4480 EXPECT_THROW(ThrowNothing(), bool),
4481 "Expected: ThrowNothing() throws an exception of type bool.\n"
4602 void AddFailureHelper(bool* aborted) {
4610 bool aborted = true;
4638 // Tests using bool values in {EXPECT|ASSERT}_EQ.
4639 TEST(EqAssertionTest, Bool) {
5063 bool* p5 = NULL;
5224 static Flags AlsoRunDisabledTests(bool also_run_disabled_tests) {
5232 static Flags BreakOnFailure(bool break_on_failure) {
5240 static Flags CatchExceptions(bool catch_exceptions) {
5248 static Flags DeathTestUseFork(bool death_test_use_fork) {
5264 static Flags ListTests(bool list_tests) {
5280 static Flags PrintTime(bool print_time) {
5304 static Flags Shuffle(bool shuffle) {
5312 static Flags ThrowOnFailure(bool throw_on_failure) {
5319 bool also_run_disabled_tests;
5320 bool break_on_failure;
5321 bool catch_exceptions;
5322 bool death_test_use_fork;
5324 bool list_tests;
5326 bool print_time;
5329 bool shuffle;
5330 bool throw_on_failure;
6270 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool) <<
6272 EXPECT_FATAL_FAILURE(ASSERT_THROW(ThrowAnInteger(), bool) <<
6399 static bool dummy1 = StaticAssertTypeEq<bool, bool>();
6400 static bool dummy2 = StaticAssertTypeEq<const int, const int>();
6407 StaticAssertTypeEqTestHelper() { StaticAssertTypeEq<bool, T>(); }
6411 StaticAssertTypeEqTestHelper<bool>();
6456 const bool has_nonfatal_failure = HasNonfatalFailure();
6463 const bool has_nonfatal_failure = HasNonfatalFailure();
6471 const bool has_nonfatal_failure = HasNonfatalFailure();
6477 static bool HasNonfatalFailureHelper() {
6487 const bool has_nonfatal_failure = HasNonfatalFailureHelper();
6498 const bool has_failure = HasFailure();
6505 const bool has_failure = HasFailure();
6513 const bool has_failure = HasFailure();
6519 static bool HasFailureHelper() { return testing::Test::HasFailure(); }
6527 const bool has_failure = HasFailureHelper();
6535 TestListener(int* on_start_counter, bool* is_destroyed)
6552 bool* is_destroyed_;
6567 bool default_result_printer_is_destroyed = false;
6568 bool default_xml_printer_is_destroyed = false;
6569 bool extra_listener_is_destroyed = false;
6594 bool is_destroyed = false;
6689 bool is_destroyed = false;
6736 bool is_destroyed = false;
6767 bool is_destroyed = false;
6795 bool is_destroyed = false;
6826 bool is_destroyed = false;