OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MockObject
(Results
1 - 5
of
5
) sorted by null
/external/android-mock/src/com/google/android/testing/mocking/
MockObject.java
20
* delegating Android Mock calls to the EasyMock generated
MockObject
.
24
public interface
MockObject
{
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
ConstructorTest.java
197
Constructor constructor =
MockObject
.class.getConstructor(Class.class);
235
static class
MockObject
{
237
public
MockObject
(Class<?> clazz) throws Exception {
MethodTest.java
546
Method method =
MockObject
.class.getDeclaredMethod("mockMethod", Class.class);
547
MockObject
mockObject
= new
MockObject
();
550
method.invoke(
mockObject
, InvocationTargetException.class);
557
method.invoke(
mockObject
, IllegalAccessException.class);
564
method.invoke(
mockObject
, IllegalArgumentException.class);
571
method.invoke(
mockObject
, InvocationTargetException.class);
578
method.invoke(
mockObject
, Throwable.class);
585
static class
MockObject
{
[
all
...]
/libcore/luni/src/test/java/libcore/java/lang/
OldObjectTest.java
50
MockObject
mo = new
MockObject
();
65
class
MockObject
extends Object {
/external/protobuf/python/
mox.py
172
MockObject
that can be used as the class_to_mock would be.
175
new_mock =
MockObject
(class_to_mock)
211
This will replace a class or module with a
MockObject
, and everything else
359
class
MockObject
(MockAnything, object):
395
MockObject
's state (record or replay). The call will be recorded
407
UnknownMethodCallError if the
MockObject
does not mock the requested
422
return (isinstance(rhs,
MockObject
) and
[
all
...]
Completed in 2897 milliseconds