Home
last modified time | relevance | path

Searched refs:MockLogger (Results 1 – 5 of 5) sorted by relevance

/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogManagerTest.java108 Logger log = new MockLogger(FOO, null); in testAddGetLogger()
142 Logger foo = new MockLogger(FOO, null); in testAddGetLogger_duplicateName()
143 Logger foo2 = new MockLogger(FOO, null); in testAddGetLogger_duplicateName()
158 Logger foo = new MockLogger("testAddGetLogger_Hierachy.foo", null); in testAddGetLogger_Hierachy()
159 Logger child = new MockLogger("testAddGetLogger_Hierachy.foo.child", in testAddGetLogger_Hierachy()
161 Logger fakeChild = new MockLogger( in testAddGetLogger_Hierachy()
163 Logger grandson = new MockLogger( in testAddGetLogger_Hierachy()
165 Logger otherChild = new MockLogger( in testAddGetLogger_Hierachy()
201 Logger root = new MockLogger("testAddLoggerReverseOrder", null); in testAddLoggerReverseOrder()
202 Logger foo = new MockLogger("testAddLoggerReverseOrder.foo", null); in testAddLoggerReverseOrder()
[all …]
DLoggerTest.java76 sharedLogger = new MockLogger("SharedLogger", VALID_RESOURCE_BUNDLE); in setUp()
121 MockLogger mlog = new MockLogger("myname", VALID_RESOURCE_BUNDLE); in testConstructor_Normal()
137 MockLogger mlog = new MockLogger(null, null); in testConstructor_Null()
152 MockLogger mlog = new MockLogger("...#$%%^&&()-_+=!@~./,[]{};:'\\\"?|", in testConstructor_InvalidName()
161 MockLogger mlog = new MockLogger("", null); in testConstructor_EmptyName()
170 new MockLogger(null, INVALID_RESOURCE_BUNDLE); in testConstructor_InvalidResourceBundle()
176 new MockLogger(null, ""); in testConstructor_InvalidResourceBundle()
828 Logger log = new MockLogger(null, null); in testSetParent_Normal()
829 Logger parent = new MockLogger(null, null); in testSetParent_Normal()
840 (new MockLogger(null, null)).setParent(null); in testSetParent_Null()
[all …]
DLogRecordTest.java191 MockLogger ml = new MockLogger("foo", null); in testGetSourceDefaultValue()
198 ml = new MockLogger("foo", null); in testGetSourceDefaultValue()
404 public static class MockLogger extends Logger { class in LogRecordTest
410 public MockLogger(String name, String resourceBundleName) { in MockLogger() method in LogRecordTest.MockLogger
/external/toolchain-utils/cros_utils/
Dlogger.py202 class MockLogger(object): class
351 main_logger = MockLogger(log_dir, basefilename, print_console)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py160 class MockLogger(mock.Mock): class
162 super(MockLogger, self).__init__(*args, **kwargs)
172 'devil.android.device_utils.logger', new_callable=MockLogger)