Package org.apache.hadoop.gateway.i18n.messages.loggers.test

Examples of org.apache.hadoop.gateway.i18n.messages.loggers.test.TestMessageRecord


    log.withFullAnnotationAndParameter( 7 );

    TestMessageLogger logger = (TestMessageLogger)TestMessageLoggerFactory.getFactory().getLogger( "some.logger.name" );
    assertThat( logger.records.size(), equalTo( 1 ) );

    TestMessageRecord record = logger.records.get( 0 );

    assertThat( record.caller.getClassName(), is( this.getClass().getName() ) );
    assertThat( record.caller.getMethodName(), is( "testFirst" ) );

  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.gateway.i18n.messages.loggers.test.TestMessageRecord

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.