Package ch.qos.logback.classic.net.mock

Examples of ch.qos.logback.classic.net.mock.MockTopicPublisher


    appender.start();

    ILoggingEvent le = createLoggingEvent();
    appender.append(le);
   
    MockTopicPublisher tp = (MockTopicPublisher)appender.topicPublisher;
    assertEquals(1, tp.getMessageList().size());
    ObjectMessage message = (ObjectMessage) tp.getMessageList().get(0);
    try {
      Serializable witness = pst.transform(le);
      assertEquals(witness, message.getObject());
    } catch (Exception e) {
      fail();
View Full Code Here

TOP

Related Classes of ch.qos.logback.classic.net.mock.MockTopicPublisher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.