Lines Matching refs:value
427 def __setitem__(self, key, value):
431 key: Key to set the value for.
432 value: Value to set.
435 Expected return value in replay mode. A MockMethod object for the
453 self._replay_mode)(key, value)
457 return self._CreateMockMethod('__setitem__')(key, value)
463 key: Key to return the value for.
466 Expected return value in replay mode. A MockMethod object for the
514 and returning a value, or throwing an exception (as specified). When this
546 """Log parameters and return the specified return value.
719 """Set the value to return when this method is called.
755 value is not known. For example, the code you are testing might build up a
830 to a given value. Generally useful for floating point numbers.
839 float_value: The value for making the comparison.
850 rhs: the value to compare to float_value
972 """Checks whether a key/value pair is in a dict parameter.
978 def __init__(self, key, value):
983 # value: the corresponding value
987 self._value = value
990 """Check whether the given key/value pair is in the rhs dict.