Home
last modified time | relevance | path

Searched refs:logRecord (Results 1 – 13 of 13) sorted by relevance

/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/
DInvocationTest.java167 LogRecord logRecord = listHandler.recordList.get(index); in assertLogMessage() local
168 Assert.assertNotNull(logRecord); in assertLogMessage()
169 assertEquals(expected, logRecord.getMessage()); in assertLogMessage()
173 LogRecord logRecord = listHandler.recordList.get(index); in assertException() local
174 Assert.assertNotNull(logRecord); in assertException()
175 assertEquals(exceptionType, logRecord.getThrown().getClass()); in assertException()
/external/slf4j/log4j-over-slf4j/src/test/java/org/dummy/
DListHandler.java44 public void publish(LogRecord logRecord) { in publish() argument
45 logRecord.getSourceClassName(); in publish()
46 list.add(logRecord); in publish()
DBug139.java53 LogRecord logRecord = (LogRecord) listHandler.list.get(i); in test() local
54 assertEquals("test", logRecord.getSourceMethodName()); in test()
DBug131.java64 LogRecord logRecord = (LogRecord) listHandler.list.get(i); in testBug131() local
65 assertEquals("testBug131", logRecord.getSourceMethodName()); in testBug131()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DTestLogHandler.java30 @Override public synchronized void publish(LogRecord logRecord) { in publish() argument
31 logs.add(logRecord.getLevel() + ": " + logRecord.getMessage()); in publish()
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DXMLFormatterTest.java188 LogRecord logRecord = new LogRecord(Level.INFO, "message:<init>&");
189 logRecord.setLoggerName("<init>&");
190 logRecord.setThrown(new Exception("<init>&"));
191 logRecord.setParameters(new String[] { "<init>&" });
192 logger.log(logRecord);
/external/grpc-grpc-java/gae-interop-testing/gae-jdk8/src/main/java/io/grpc/testing/integration/
DNettyClientInteropServlet.java58 public void publish(LogRecord logRecord) { in publish() argument
59 loggedMessages.add(logRecord); in publish()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/
DOkHttpClientInteropServlet.java63 public void publish(LogRecord logRecord) { in publish() argument
64 loggedMessages.add(logRecord); in publish()
/external/guice/core/test/com/google/inject/
DBinderTest.java50 public void publish(LogRecord logRecord) {
51 logRecords.add(logRecord);
531 LogRecord logRecord = Iterables.getOnlyElement(this.logRecords); in testUserReportedErrorsAreAlsoLogged() local
533 logRecord.getMessage(), in testUserReportedErrorsAreAlsoLogged()
/external/javapoet/
DREADME.md745 MethodSpec logRecord = MethodSpec.methodBuilder("recordEvent")
751 .addParameter(LogRecord.class, "logRecord")
763 LogReceipt recordEvent(LogRecord logRecord);
770 MethodSpec logRecord = MethodSpec.methodBuilder("recordEvent")
782 .addParameter(LogRecord.class, "logRecord")
794 LogReceipt recordEvent(LogRecord logRecord);
/external/guice/core/test/com/google/inject/spi/
DProviderMethodsTest.java1091 public void publish(LogRecord logRecord) {
1092 logRecords.add(logRecord);
/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoadingTest.java85 LogRecord logRecord = logRecords.get(0); in popLoggedThrowable() local
87 return logRecord.getThrown(); in popLoggedThrowable()
DLocalCacheTest.java127 LogRecord logRecord = logRecords.get(0); in popLoggedThrowable() local
129 return logRecord.getThrown(); in popLoggedThrowable()