| 115 | |
| 116 | void OnTestEnd(const testing::TestInfo & /*testInfo*/) override { updateProgressLabel(); } |
| 117 | void OnTestProgramEnd(const testing::UnitTest &unit_test) override |
| 118 | { |
| 119 | testing::UnitTest::GetInstance()->listeners().Release(this); |
| 120 | |
| 121 | bdn::App()->dispatchQueue()->dispatchAsync([]() { |
| 122 | ((TestApplicationController *)bdn::App()->applicationController().get()) |
| 123 | ->exit(testing::UnitTest::GetInstance()->failed_test_count() > 0 ? 1 : 0); |
| 124 | }); |
| 125 | } |
| 126 | |
| 127 | private: |
| 128 | std::shared_ptr<bdn::ui::Window> _window; |
nothing calls this directly
no test coverage detected