OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:class_to_mock
(Results
1 - 3
of
3
) sorted by null
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/
mox.py
244
def CreateMock(self,
class_to_mock
, attrs=None, bounded_to=None):
248
#
class_to_mock
: the class to be mocked
249
class_to_mock
: class
252
bounded_to: optionally, when
class_to_mock
is not a class,
257
MockObject that can be used as the
class_to_mock
would be.
261
new_mock = MockObject(
class_to_mock
, attrs=attrs,
558
def __init__(self,
class_to_mock
, attrs=None, class_to_bind=None):
564
#
class_to_mock
: class to be mocked
565
class_to_mock
: class
568
class_to_bind: optionally, when
class_to_mock
is not a class a
[
all
...]
/external/chromium-trace/catapult/third_party/mox3/mox3/
mox.py
244
def CreateMock(self,
class_to_mock
, attrs=None, bounded_to=None):
248
#
class_to_mock
: the class to be mocked
249
class_to_mock
: class
252
bounded_to: optionally, when
class_to_mock
is not a class,
257
MockObject that can be used as the
class_to_mock
would be.
261
new_mock = MockObject(
class_to_mock
, attrs=attrs,
558
def __init__(self,
class_to_mock
, attrs=None, class_to_bind=None):
564
#
class_to_mock
: class to be mocked
565
class_to_mock
: class
568
class_to_bind: optionally, when
class_to_mock
is not a class a
[
all
...]
/external/protobuf/python/
mox.py
164
def CreateMock(self,
class_to_mock
):
168
#
class_to_mock
: the class to be mocked
169
class_to_mock
: class
172
MockObject that can be used as the
class_to_mock
would be.
175
new_mock = MockObject(
class_to_mock
)
362
def __init__(self,
class_to_mock
):
368
#
class_to_mock
: class to be mocked
369
class_to_mock
: class
379
self._class_to_mock =
class_to_mock
380
for method in dir(
class_to_mock
)
[
all
...]
Completed in 142 milliseconds