This is the default global test part result reporter used in UnitTestImpl. This class should only be used by UnitTestImpl.
| 866 | // This is the default global test part result reporter used in UnitTestImpl. |
| 867 | // This class should only be used by UnitTestImpl. |
| 868 | class DefaultGlobalTestPartResultReporter |
| 869 | : public TestPartResultReporterInterface { |
| 870 | public: |
| 871 | explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test); |
| 872 | // Implements the TestPartResultReporterInterface. Reports the test part |
| 873 | // result in the current test. |
| 874 | void ReportTestPartResult(const TestPartResult& result) override; |
| 875 | |
| 876 | private: |
| 877 | UnitTestImpl* const unit_test_; |
| 878 | |
| 879 | GTEST_DISALLOW_COPY_AND_ASSIGN_(DefaultGlobalTestPartResultReporter); |
| 880 | }; |
| 881 | |
| 882 | // This is the default per thread test part result reporter used in |
| 883 | // UnitTestImpl. This class should only be used by UnitTestImpl. |
nothing calls this directly
no outgoing calls
no test coverage detected