Lines Matching refs:RTCError
64 RTCError e; in TEST()
71 RTCError a(RTCErrorType::INVALID_PARAMETER); in TEST()
76 RTCError b(RTCErrorType::UNSUPPORTED_PARAMETER, "foobar"); in TEST()
81 RTCError c(RTCErrorType::INVALID_RANGE, std::string("new")); in TEST()
88 RTCError a(RTCErrorType::INVALID_PARAMETER, "foo"); in TEST()
89 RTCError b(std::move(a)); in TEST()
94 RTCError c(RTCErrorType::UNSUPPORTED_PARAMETER, std::string("bar")); in TEST()
95 RTCError d(std::move(c)); in TEST()
102 RTCError e(RTCErrorType::INVALID_PARAMETER, "foo"); in TEST()
104 e = RTCError(RTCErrorType::UNSUPPORTED_PARAMETER, "bar"); in TEST()
108 e = RTCError(RTCErrorType::SYNTAX_ERROR, std::string("baz")); in TEST()
111 e = RTCError(RTCErrorType::SYNTAX_ERROR, std::string("another")); in TEST()
114 e = RTCError(RTCErrorType::SYNTAX_ERROR, "last"); in TEST()
120 RTCError ok = RTCError::OK(); in TEST()
128 RTCError success; in TEST()
129 RTCError failure(RTCErrorType::INTERNAL_ERROR); in TEST()
137 RTCError e; in TEST()
170 return RTCError(RTCErrorType::SYNTAX_ERROR); in TEST()
202 RTCErrorOr<int> error = RTCError(RTCErrorType::INTERNAL_ERROR); in TEST()
209 RTCError err = e.MoveError(); in TEST()
227 EXPECT_DEATH(err = RTCError::OK(), ""); in TEST()
231 RTCErrorOr<int> error = RTCError(RTCErrorType::INTERNAL_ERROR); in TEST()
236 RTCErrorOr<int> error = RTCError(RTCErrorType::INTERNAL_ERROR); in TEST()