Package test.perf

Source Code of test.perf.AbstractTest

package test.perf;

import alt.jiapi.util.Configuration;

/**
* Class PerformanceTest.
*
* @author Mika Riekkinen
*/
public abstract class AbstractTest {
    private Configuration config;
    private long startTime;
    private long endTime;

    public AbstractTest() {
        config = new Configuration("/perf-test.properties");
    }


    int getLoopCount() {
        return config.getInt("loop-count", 10000);
    }

    public abstract void init();
    public abstract void test(int lCount) throws Exception;
}
TOP

Related Classes of test.perf.AbstractTest

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.