Lines Matching refs:expected
283 virtual void NotMultipleOf(int64_t actual, const SValue& expected) = 0;
284 virtual void NotMultipleOf(uint64_t actual, const SValue& expected) = 0;
285 virtual void NotMultipleOf(double actual, const SValue& expected) = 0;
286 virtual void AboveMaximum(int64_t actual, const SValue& expected, bool exclusive) = 0;
287 virtual void AboveMaximum(uint64_t actual, const SValue& expected, bool exclusive) = 0;
288 virtual void AboveMaximum(double actual, const SValue& expected, bool exclusive) = 0;
289 virtual void BelowMinimum(int64_t actual, const SValue& expected, bool exclusive) = 0;
290 virtual void BelowMinimum(uint64_t actual, const SValue& expected, bool exclusive) = 0;
291 virtual void BelowMinimum(double actual, const SValue& expected, bool exclusive) = 0;
293 virtual void TooLong(const Ch* str, SizeType length, SizeType expected) = 0;
294 virtual void TooShort(const Ch* str, SizeType length, SizeType expected) = 0;
2586 void NotMultipleOf(int64_t actual, const SValue& expected) {
2587 AddNumberError(kValidateErrorMultipleOf, ValueType(actual).Move(), expected);
2589 void NotMultipleOf(uint64_t actual, const SValue& expected) {
2590 AddNumberError(kValidateErrorMultipleOf, ValueType(actual).Move(), expected);
2592 void NotMultipleOf(double actual, const SValue& expected) {
2593 AddNumberError(kValidateErrorMultipleOf, ValueType(actual).Move(), expected);
2595 void AboveMaximum(int64_t actual, const SValue& expected, bool exclusive) {
2596 …usive ? kValidateErrorExclusiveMaximum : kValidateErrorMaximum, ValueType(actual).Move(), expected,
2599 void AboveMaximum(uint64_t actual, const SValue& expected, bool exclusive) {
2600 …usive ? kValidateErrorExclusiveMaximum : kValidateErrorMaximum, ValueType(actual).Move(), expected,
2603 void AboveMaximum(double actual, const SValue& expected, bool exclusive) {
2604 …usive ? kValidateErrorExclusiveMaximum : kValidateErrorMaximum, ValueType(actual).Move(), expected,
2607 void BelowMinimum(int64_t actual, const SValue& expected, bool exclusive) {
2608 …usive ? kValidateErrorExclusiveMinimum : kValidateErrorMinimum, ValueType(actual).Move(), expected,
2611 void BelowMinimum(uint64_t actual, const SValue& expected, bool exclusive) {
2612 …usive ? kValidateErrorExclusiveMinimum : kValidateErrorMinimum, ValueType(actual).Move(), expected,
2615 void BelowMinimum(double actual, const SValue& expected, bool exclusive) {
2616 …usive ? kValidateErrorExclusiveMinimum : kValidateErrorMinimum, ValueType(actual).Move(), expected,
2620 void TooLong(const Ch* str, SizeType length, SizeType expected) {
2622 ValueType(str, length, GetStateAllocator()).Move(), SValue(expected).Move());
2624 void TooShort(const Ch* str, SizeType length, SizeType expected) {
2626 ValueType(str, length, GetStateAllocator()).Move(), SValue(expected).Move());
3138 void AddNumberError(const ValidateErrorCode code, ValueType& actual, const SValue& expected,
3142 …currentError_.AddMember(GetExpectedString(), ValueType(expected, GetStateAllocator()).Move(), GetS…