Package at.ipsquare.commons.core.util

Examples of at.ipsquare.commons.core.util.DefaultPerformanceLogFormatter.format()


    }

    private static void testFormat(StackTraceElement from, StackTraceElement to, long ms, String msg, String... lookFor)
    {
        PerformanceLogFormatter formatter = new DefaultPerformanceLogFormatter();
        String res = formatter.format(from, to, ms, msg);
        for(String s : lookFor)
            assertThat(res, containsString(s));
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.