Lines Matching defs:expected

202 // the expected string and the actual one.  To achieve that, you can
298 // to write "v" instead of "Eq(v)" where a Matcher is expected, which
1590 // The expected path here is that the matcher should match (i.e. that most
1647 // The matcher's input will be compared with expected. The matcher treats two
1652 FloatingEqMatcher(FloatType expected, bool nan_eq_nan)
1653 : expected_(expected), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {}
1658 FloatingEqMatcher(FloatType expected, bool nan_eq_nan,
1660 : expected_(expected),
1671 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
1672 : expected_(expected),
1678 const FloatingPoint<FloatType> actual(value), expected(expected_);
1681 if (actual.is_nan() || expected.is_nan()) {
1682 if (actual.is_nan() && expected.is_nan()) {
1707 return actual.AlmostEquals(expected);
1761 // The following 3 type conversion operators allow FloatEq(expected) and
1762 // NanSensitiveFloatEq(expected) to be used as a Matcher<float>, a
2418 // We make a copy of expected in case the elements in it are modified
2420 explicit ContainerEqMatcher(const Container& expected)
2421 : expected_(View::Copy(expected)) {}
2469 << " doesn't have these expected elements: ";
5004 // EXPECT_THAT(result, Conditional(condition, Eq(expected), Ne(expected)));
5313 // catch (const Err&) { /* an expected exception */ }
5320 // catch (const std::exception&) { /* an expected exception */ }
5327 // catch (const std::exception&) { /* an expected exception */ }
5425 "expected an std::exception-derived type");