MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / DefaultPerThreadTestPartResultReporter

Class DefaultPerThreadTestPartResultReporter

tests/gtest/gtest-all.cc:884–896  ·  view source on GitHub ↗

This is the default per thread test part result reporter used in UnitTestImpl. This class should only be used by UnitTestImpl.

Source from the content-addressed store, hash-verified

882// This is the default per thread test part result reporter used in
883// UnitTestImpl. This class should only be used by UnitTestImpl.
884class 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected