// Path: confucius-commons-lang/src/test/java/org/confucius/commons/lang/AbstractTestCase.java
// @Ignore
// public abstract class AbstractTestCase {
// 
//     protected final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
// 
//     public void echo(Object object, Object... others) {
//         echo(object);
//         echo(others);
//     }
// 
//     public void echo(Object object) {
//         System.out.println(object);
//     }
// 
//     public void echo(Iterable<?> iterable) {
//         Iterator<?> iterator = iterable.iterator();
//         while (iterator.hasNext()) {
//             echo(iterator.next());
//         }
//     }
// }


import org.confucius.commons.lang.AbstractTestCase;
import org.junit.Ignore;
package org.confucius.commons.performance;


/**
 * {@link AbstractPerformanceTest}
 *
 * @author <a href="mercyblitz@gmail.com">Mercy<a/>
 * @version 1.0.0
 * @see AbstractPerformanceTest
 * @since 1.0.0
 */
@Ignore
public abstract class AbstractPerformanceTest extends AbstractTestCase {


    protected <T> void execute(PerformanceAction<T> action) {
        long startTime = System.currentTimeMillis();
        T returnValue = action.execute();
        long costTime = System.currentTimeMillis() - startTime;
// Path: confucius-commons-lang/src/test/java/org/confucius/commons/lang/AbstractTestCase.java
// @Ignore
// public abstract class AbstractTestCase {
// 
//     protected final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
// 
//     public void echo(Object object, Object... others) {
//         echo(object);
//         echo(others);
//     }
// 
//     public void echo(Object object) {
//         System.out.println(object);
//     }
// 
//     public void echo(Iterable<?> iterable) {
//         Iterator<?> iterator = iterable.iterator();
//         while (iterator.hasNext()) {
//             echo(iterator.next());
//         }
//     }
// }


// Path: confucius-commons-lang/src/test/java/org/confucius/commons/performance/AbstractPerformanceTest.java
import org.confucius.commons.lang.AbstractTestCase;
import org.junit.Ignore;

package org.confucius.commons.performance;


/**
 * {@link AbstractPerformanceTest}
 *
 * @author <a href="mercyblitz@gmail.com">Mercy<a/>
 * @version 1.0.0
 * @see AbstractPerformanceTest
 * @since 1.0.0
 */
@Ignore
public abstract class AbstractPerformanceTest extends AbstractTestCase {


    protected <T> void execute(PerformanceAction<T> action) {
        long startTime = System.currentTimeMillis();
        T returnValue = action.execute();
        long costTime = System.currentTimeMillis() - startTime;
        String message = String.format("execution %s return %s costs %s ms", action, returnValue, costTime);