Lines Matching refs:Error
52 MOCK_METHOD1(ReportResult, void(const Error&));
88 void GenerateResult(const Error::Type error_type) { in GenerateResult()
89 aggregator_->ReportResult(Error(error_type)); in GenerateResult()
98 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kSuccess))).Times(0); in TEST_F()
102 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kSuccess))); in TEST_F()
105 first_generator.GenerateResult(Error::kSuccess); in TEST_F()
106 second_generator.GenerateResult(Error::kSuccess); in TEST_F()
110 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kOperationTimeout))); in TEST_F()
113 first_generator.GenerateResult(Error::kOperationTimeout); in TEST_F()
114 second_generator.GenerateResult(Error::kSuccess); in TEST_F()
118 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kOperationTimeout))); in TEST_F()
121 first_generator.GenerateResult(Error::kSuccess); in TEST_F()
122 second_generator.GenerateResult(Error::kOperationTimeout); in TEST_F()
126 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kOperationTimeout))); in TEST_F()
129 first_generator.GenerateResult(Error::kOperationTimeout); in TEST_F()
130 second_generator.GenerateResult(Error::kPermissionDenied); in TEST_F()
144 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kOperationTimeout))); in TEST_F()
152 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kOperationTimeout))); in TEST_F()
155 first_generator.GenerateResult(Error::kSuccess); in TEST_F()
157 second_generator.GenerateResult(Error::kPermissionDenied); in TEST_F()
170 generator.GenerateResult(Error::kPermissionDenied); in TEST_F()
171 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kPermissionDenied))); in TEST_F()
175 EXPECT_CALL(*this, ReportResult(ErrorTypeIs(Error::kOperationTimeout))) in TEST_F()