OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mockManager
(Results
1 - 5
of
5
) sorted by null
/libcore/luni/src/test/java/libcore/java/util/logging/
OldLogManagerTest.java
35
LogManager
mockManager
;
47
mockManager
= new MockLogManager();
96
Logger foo =
mockManager
.getLogger(FOO);
98
assertTrue("logger wasn't registered successfully",
mockManager
.addLogger(log));
99
foo =
mockManager
.getLogger(FOO);
105
mockManager
.getLogger(null);
111
assertNull("LogManager should not have logger with unforeseen name",
mockManager
115
Enumeration<String> enumar =
mockManager
.getLoggerNames();
131
mockManager
.reset();
134
mockManager
.addLogger(foo2)
[
all
...]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
LogManagerTest.java
51
LogManager
mockManager
;
77
mockManager
= new MockLogManager();
111
Logger foo =
mockManager
.getLogger(FOO);
113
assertTrue(
mockManager
.addLogger(log));
114
foo =
mockManager
.getLogger(FOO);
119
mockManager
.addLogger(null);
125
mockManager
.getLogger(null);
130
assertNull(
mockManager
.getLogger("bad name"));
132
Enumeration<String> enumar =
mockManager
.getLoggerNames();
146
assertTrue(
mockManager
.addLogger(foo))
[
all
...]
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
ContactDeletionInteractionTest.java
103
final MockAccountTypeManager
mockManager
= new MockAccountTypeManager(
105
AccountTypeManager.setInstanceForTest(
mockManager
);
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
PeopleActivityTest.java
108
final MockAccountTypeManager
mockManager
= new MockAccountTypeManager(
110
AccountTypeManager.setInstanceForTest(
mockManager
);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
AccountTypeManager.java
102
* @param
mockManager
The mock AccountTypeManager.
105
public static void setInstanceForTest(AccountTypeManager
mockManager
) {
107
mAccountTypeManager =
mockManager
;
[
all
...]
Completed in 156 milliseconds