HomeSort by relevance Sort by last modified time
    Searched refs:expected_method (Results 1 - 5 of 5) sorted by null

  /external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/
test_mox.py 471 self.expected_method = mox.MockMethod(
474 "testMethod", [self.expected_method], True)
488 self.expected_method.AndReturn(expected_return_value)
498 self.expected_method.AndRaise(expected_exception)
509 self.expected_method.WithSideEffects(modifier).AndReturn(1)
523 self.expected_method.WithSideEffects(modifier_with_return)
539 self.expected_method.WithSideEffects(modifier_with_return).AndReturn(
547 expected_method = mox.MockMethod("testMethod", [], False)
548 self.assertEqual(self.mock_method, expected_method)
552 expected_method = mox.MockMethod("otherMethod", [], False
    [all...]
  /external/chromium-trace/catapult/third_party/mox3/mox3/tests/
test_mox.py 471 self.expected_method = mox.MockMethod(
474 "testMethod", [self.expected_method], True)
488 self.expected_method.AndReturn(expected_return_value)
498 self.expected_method.AndRaise(expected_exception)
509 self.expected_method.WithSideEffects(modifier).AndReturn(1)
523 self.expected_method.WithSideEffects(modifier_with_return)
539 self.expected_method.WithSideEffects(modifier_with_return).AndReturn(
547 expected_method = mox.MockMethod("testMethod", [], False)
548 self.assertEqual(self.mock_method, expected_method)
552 expected_method = mox.MockMethod("otherMethod", [], False
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/
mox.py 123 # head of the expected_method queue.
    [all...]
  /external/chromium-trace/catapult/third_party/mox3/mox3/
mox.py 123 # head of the expected_method queue.
    [all...]
  /external/protobuf/python/
mox.py 114 # the expected_method queue.
565 expected_method = self._VerifyMethodCall()
567 if expected_method._side_effects:
568 expected_method._side_effects(*params, **named_params)
570 if expected_method._exception:
571 raise expected_method._exception
573 return expected_method._return_value
    [all...]

Completed in 490 milliseconds