This is the default per thread test part result reporter used in UnitTestImpl. This class should only be used by UnitTestImpl.
| 882 | // This is the default per thread test part result reporter used in |
| 883 | // UnitTestImpl. This class should only be used by UnitTestImpl. |
| 884 | class DefaultPerThreadTestPartResultReporter |
| 885 | : public TestPartResultReporterInterface { |
| 886 | public: |
| 887 | explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test); |
| 888 | // Implements the TestPartResultReporterInterface. The implementation just |
| 889 | // delegates to the current global test part result reporter of *unit_test_. |
| 890 | void ReportTestPartResult(const TestPartResult& result) override; |
| 891 | |
| 892 | private: |
| 893 | UnitTestImpl* const unit_test_; |
| 894 | |
| 895 | GTEST_DISALLOW_COPY_AND_ASSIGN_(DefaultPerThreadTestPartResultReporter); |
| 896 | }; |
| 897 | |
| 898 | // The private implementation of the UnitTest class. We don't protect |
| 899 | // the methods under a mutex, as this class is not accessible by a |
nothing calls this directly
no outgoing calls
no test coverage detected