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

  /external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/
mox.py 317 attr_to_replace = getattr(obj, attr_name)
318 attr_type = type(attr_to_replace)
326 inspect.isclass(attr_to_replace) or
327 isinstance(attr_to_replace, object))
329 stub = self.CreateMock(attr_to_replace, bounded_to=class_to_bind)
332 description='Stub for %s' % attr_to_replace)
375 attr_to_replace = getattr(obj, attr_name)
376 attr_type = type(attr_to_replace)
382 if not inspect.isclass(attr_to_replace):
385 factory = _MockObjectFactory(attr_to_replace, self
    [all...]
  /external/chromium-trace/catapult/third_party/mox3/mox3/
mox.py 317 attr_to_replace = getattr(obj, attr_name)
318 attr_type = type(attr_to_replace)
326 inspect.isclass(attr_to_replace) or
327 isinstance(attr_to_replace, object))
329 stub = self.CreateMock(attr_to_replace, bounded_to=class_to_bind)
332 description='Stub for %s' % attr_to_replace)
375 attr_to_replace = getattr(obj, attr_name)
376 attr_type = type(attr_to_replace)
382 if not inspect.isclass(attr_to_replace):
385 factory = _MockObjectFactory(attr_to_replace, self
    [all...]
  /external/protobuf/python/
mox.py 222 attr_to_replace = getattr(obj, attr_name)
223 if type(attr_to_replace) in self._USE_MOCK_OBJECT and not use_mock_anything:
224 stub = self.CreateMock(attr_to_replace)
    [all...]

Completed in 718 milliseconds