All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.hiber.testcase.statements.AnswerUtils Maven / Gradle / Ivy

There is a newer version: 0.12
Show newest version
package pl.hiber.testcase.statements;

import org.junit.runners.model.FrameworkMethod;

/**
 * Created by AdrianS on 2014-07-03.
 */
class AnswerUtils {

    /* Exclude finalize, toString, hash, getClass methods in test case. */
    protected static boolean igonreMethod(FrameworkMethod method) {
        return "finalize".equals(method.getName()) ||
                "toString".equals(method.getName()) ||
                "hash".equals(method.getName()) ||
                "getClass".equals(method.getName());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy