Searched refs:DummyError (Results 1 – 3 of 3) sorted by relevance
50 class DummyError : public ErrorInfo<DummyError> { class55 DummyError(uint32_t Val) : Val(Val) {} in DummyError() function in DummyError74 char DummyError::ID = 0;81 template registerErrorType<DummyError>( in registerDummyErrorSerialization()83 [](ChannelT &C, const DummyError &DE) { in registerDummyErrorSerialization()91 Err = make_error<DummyError>(Val); in registerDummyErrorSerialization()645 return make_error<DummyError>(42); in TEST()655 EXPECT_TRUE(Err.isA<DummyError>()) in TEST()659 [](const DummyError &DE) { in TEST()712 return make_error<DummyError>(7); in TEST()[all …]
56 class DummyError(Exception): class61 raise DummyError()62 except DummyError:
44 Diagnostics DummyError; in constructMatcher() local45 if (!Error) Error = &DummyError; in constructMatcher()50 EXPECT_EQ("", DummyError.toStringFull()); in constructMatcher()57 Diagnostics DummyError; in constructMatcher() local58 if (!Error) Error = &DummyError; in constructMatcher()63 EXPECT_EQ("", DummyError.toStringFull()) << MatcherName; in constructMatcher()71 Diagnostics DummyError; in constructMatcher() local72 if (!Error) Error = &DummyError; in constructMatcher()78 EXPECT_EQ("", DummyError.toStringFull()); in constructMatcher()