/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | LogRecordTest.java | 25 import java.util.logging.LogRecord; 37 private LogRecord lr; 43 lr = new LogRecord(Level.CONFIG, MSG); in setUp() 49 new LogRecord(null, null); in testLogRecordWithNullPointers() 54 new LogRecord(null, MSG); in testLogRecordWithNullPointers() 58 LogRecord r = new LogRecord(Level.WARNING, null); in testLogRecordWithNullPointers() 112 lr = new LogRecord(Level.ALL, null); in testGetSetSequenceNumber() 147 lr = new LogRecord(Level.SEVERE, MSG); in testGetSourceDefaultValue() 154 lr = new LogRecord(Level.SEVERE, MSG); in testGetSourceDefaultValue() 161 lr = new LogRecord(Level.SEVERE, MSG); in testGetSourceDefaultValue() [all …]
|
D | MemoryHandlerTest.java | 31 import java.util.logging.LogRecord; 113 assertFalse(handler.isLoggable(new LogRecord(Level.SEVERE, "test"))); in testClose() 128 assertTrue(handler.isLoggable(new LogRecord(Level.SEVERE, "test"))); in testFlush() 138 LogRecord record = new LogRecord(Level.FINER, "MSG1"); in testIsLoggable() 141 record = new LogRecord(Level.FINE, "MSG2"); in testIsLoggable() 144 record = new LogRecord(Level.CONFIG, "MSG3"); in testIsLoggable() 147 record = new LogRecord(Level.CONFIG, "false"); in testIsLoggable() 151 record = new LogRecord(Level.CONFIG, "false"); in testIsLoggable() 300 LogRecord lr = new LogRecord(Level.CONFIG, "lr"); in testSetPushLevel() 315 handler.publish(new LogRecord(Level.CONFIG, "MSG1")); in testPushPublic() [all …]
|
D | StreamHandlerTest.java | 37 import java.util.logging.LogRecord; 158 h.publish(new LogRecord(Level.SEVERE, "test")); in testConstructor_NoParameter_InvalidProperties() 302 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_NormalClose() 322 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_Exception() 380 LogRecord r = new LogRecord(Level.INFO, null); in testIsLoggable_NoOutputStream() 400 LogRecord r = new LogRecord(Level.INFO, null); in testIsLoggable_NoFilter() 420 LogRecord r = new LogRecord(Level.INFO, null); in testIsLoggable_WithFilter() 457 LogRecord r = new LogRecord(Level.INFO, "testPublish_NoOutputStream"); in testPublish_NoOutputStream() 478 LogRecord r = new LogRecord(Level.INFO, "testPublish_NoFilter"); in testPublish_NoFilter() 513 LogRecord r = new LogRecord(Level.INFO, "testPublish_WithFilter"); in testPublish_WithFilter() [all …]
|
D | ConsoleHandlerTest.java | 32 import java.util.logging.LogRecord; 142 h.publish(new LogRecord(Level.SEVERE, "test")); in testConstructor_InvalidProperties() 157 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_NormalClose() 178 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_Exception() 214 LogRecord r = new LogRecord(Level.INFO, "testPublish_NoFilter"); in testPublish_NoFilter() 255 LogRecord r = new LogRecord(Level.INFO, "testPublish_WithFilter"); in testPublish_AfterResetSystemErr() 275 LogRecord r = new LogRecord(Level.INFO, "testPublish_WithFilter"); in testPublish_WithFilter() 327 LogRecord r = new LogRecord(Level.INFO, ""); in testPublish_EmptyMsg() 343 LogRecord r = new LogRecord(Level.INFO, null); in testPublish_NullMsg() 363 LogRecord r1 = new LogRecord(Level.INFO, "testPublish_Record1"); in testPublish_AfterClose() [all …]
|
D | LoggerTest.java | 34 import java.util.logging.LogRecord; 963 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testThrowing_Normal() 992 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testThrowing_Null() 1011 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testEntering_StringString_Normal() 1040 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testEntering_StringString_Null() 1060 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testEntering_StringStringObject_Normal() 1090 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testEntering_StringStringObject_Null() 1113 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testEntering_StringStringObjects_Normal() 1145 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testEntering_StringStringObjects_NullEmpty() 1166 LogRecord r = (LogRecord) CallVerificationStack.getInstance().pop(); in testEntering_StringStringObjects_Null() [all …]
|
D | FileHandlerTest.java | 37 import java.util.logging.LogRecord; 60 LogRecord r; 74 r = new LogRecord(Level.CONFIG, "msg"); in setUp() 184 new LogRecord[] { r, null, r, null, r, null, r }, in testFileHandler() 214 assertFileContent(homepath, filename, new LogRecord[] { r }, formatter, encoding); in assertFileContent() 218 LogRecord[] lr, Formatter formatter, String encoding) throws Exception { in assertFileContent() 312 assertFileContent(tempPath, "testLimitCount0", new LogRecord[0], in testLimitAndCount() 318 LogRecord[] rs = new LogRecord[10]; in testLimitAndCount() 321 rs[i] = new LogRecord(Level.SEVERE, "msg" + i); in testLimitAndCount() 327 rs[i] = new LogRecord(Level.SEVERE, "msg" + i); in testLimitAndCount() [all …]
|
D | SocketHandlerTest.java | 34 import java.util.logging.LogRecord; 294 h.publish(new LogRecord(Level.SEVERE, "test")); in testConstructor_InvalidBasicProperties() 310 h.publish(new LogRecord(Level.SEVERE, "test")); in testConstructor_InvalidBasicProperties() 425 h.publish(new LogRecord(Level.SEVERE, in testClose_SufficientPrivilege_NormalClose() 480 LogRecord r = new LogRecord(Level.INFO, "testPublish_NoFilter"); in testPublish_NoFilter() 521 LogRecord r = new LogRecord(Level.INFO, "testPublish_WithFilter"); in testPublish_WithFilter() 574 LogRecord r = new LogRecord(Level.INFO, ""); in testPublish_EmptyMsg() 599 LogRecord r = new LogRecord(Level.INFO, null); in testPublish_NullMsg() 626 LogRecord r = new LogRecord(Level.INFO, "testPublish_NoFormatter"); in testPublish_AfterClose() 643 public boolean isLoggable(LogRecord record) { in isLoggable() [all …]
|
D | XMLFormatterTest.java | 30 import java.util.logging.LogRecord; 42 LogRecord lr = null; 48 lr = new LogRecord(Level.SEVERE, "pattern"); in setUp() 176 lr = new LogRecord(Level.SEVERE, null); 188 LogRecord logRecord = new LogRecord(Level.INFO, "message:<init>&"); 228 public void publish(LogRecord record) {
|
D | SimpleFormatterTest.java | 23 import java.util.logging.LogRecord; 35 LogRecord lr; 45 lr = new LogRecord(Level.FINE, MSG); in setUp() 54 sf.format(new LogRecord(Level.SEVERE, null)); in testFormatNull()
|
D | HandlerTest.java | 31 import java.util.logging.LogRecord; 285 LogRecord r = new LogRecord(Level.CONFIG, null); in testIsLoggable_NoFilter() 304 LogRecord r = new LogRecord(Level.CONFIG, null); in testIsLoggable_WithFilter() 342 public void publish(LogRecord record) { in publish() 355 public boolean isLoggable(LogRecord record) { in isLoggable()
|
D | FormatterTest.java | 25 import java.util.logging.LogRecord; 32 LogRecord r; 42 r = new LogRecord(Level.FINE, MSG); in setUp() 129 public String format(LogRecord arg0) { in format()
|
D | FilterTest.java | 21 import java.util.logging.LogRecord; 39 public boolean isLoggable(LogRecord record) { in isLoggable()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | TestLogHandler.java | 25 import java.util.logging.LogRecord; 59 private final List<LogRecord> list = 60 Collections.synchronizedList(new ArrayList<LogRecord>()); 66 public void publish(@Nullable LogRecord record) { in publish() 84 public List<LogRecord> getStoredLogRecords() { in getStoredLogRecords() 85 List<LogRecord> result = new ArrayList<LogRecord>(list); in getStoredLogRecords()
|
/external/slf4j/log4j-over-slf4j/src/test/java/org/dummy/ |
D | ListHandler.java | 30 import java.util.logging.LogRecord; 34 List<LogRecord> list = new ArrayList<LogRecord>(); 44 public void publish(LogRecord logRecord) { in publish()
|
D | Bug139.java | 28 import java.util.logging.LogRecord; 53 LogRecord logRecord = (LogRecord) listHandler.list.get(i); in test()
|
D | Bug131.java | 28 import java.util.logging.LogRecord; 64 LogRecord logRecord = (LogRecord) listHandler.list.get(i); in testBug131()
|
/external/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/ |
D | SLF4JBridgeHandler.java | 33 import java.util.logging.LogRecord; 197 protected Logger getSLF4JLogger(LogRecord record) { in getSLF4JLogger() 205 protected void callLocationAwareLogger(LocationAwareLogger lal, LogRecord record) { in callLocationAwareLogger() 224 protected void callPlainSLF4JLogger(Logger slf4jLogger, LogRecord record) { in callPlainSLF4JLogger() 246 private String getMessageI18N(LogRecord record) { in getMessageI18N() 281 public void publish(LogRecord record) { in publish()
|
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/ |
D | InvocationTest.java | 36 import java.util.logging.LogRecord; 167 LogRecord logRecord = listHandler.recordList.get(index); in assertLogMessage() 173 LogRecord logRecord = listHandler.recordList.get(index); in assertException() 188 List<LogRecord> recordList = new ArrayList<LogRecord>(); 191 public void publish(LogRecord record) { in publish()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | DefaultMessageLogFactory.java | 3 import gov.nist.javax.sip.LogRecord; 15 public LogRecord createLogRecord(String message, String source, in createLogRecord() 22 public LogRecord createLogRecord(String message, String source, in createLogRecord()
|
D | MessageLog.java | 32 import gov.nist.javax.sip.LogRecord; 45 class MessageLog implements LogRecord {
|
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/ |
D | JDK14AdapterLoggerNameTest.java | 28 import java.util.logging.LogRecord; 76 public LogRecord record; 84 public void publish(LogRecord record) { in publish()
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | TestLogHandlerTest.java | 22 import java.util.logging.LogRecord; 57 LogRecord record = handler.getStoredLogRecords().get(0); in test() 69 for (LogRecord unused : handler.getStoredLogRecords()) { in testConcurrentModification()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | TestLogHandler.java | 21 import java.util.logging.LogRecord; 30 @Override public synchronized void publish(LogRecord logRecord) { in publish()
|
/external/jmonkeyengine/engine/src/android/com/jme3/util/ |
D | AndroidLogHandler.java | 6 import java.util.logging.LogRecord; 24 public void publish(LogRecord record) { in publish()
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | JmeFormatter.java | 40 import java.util.logging.LogRecord; 61 public String format(LogRecord record) { in format()
|