Example usage for junit.framework TestCase subclass-usage

List of usage examples for junit.framework TestCase subclass-usage

Introduction

In this page you can find the example usage for junit.framework TestCase subclass-usage.

Usage

From source file org.apache.solr.kelvin.testcases.SimpleConditionTest.java

public class SimpleConditionTest extends TestCase {

    public static JsonNode readJsonResource(Class<?> c, String resourceName) throws IOException {
        String raw = IOUtils.toString(c.getResourceAsStream(resourceName), "utf8");
        ObjectMapper mapper = new ObjectMapper();
        return mapper.readValue(raw, JsonNode.class);

From source file gov.nih.nci.ncicb.tcga.dcc.dam.util.ThreadedBufferedWriterSlowTest.java

/**
 * @author David Nassau
 */
public class ThreadedBufferedWriterSlowTest extends TestCase {

    static final int BUFFER_SIZE = 16384;

From source file org.esigate.esi.BaseElementTest.java

public class BaseElementTest extends TestCase {

    public void testOnTagStart() throws Exception {
        final Tag[] parsed = new Tag[1];
        BaseElement tested = new MockBaseElement() {
            @Override

From source file com.aqnote.shared.cryptology.digetst.SMTest.java

/**
 * SMTest.java descTODO
 * 
 * @author "Peng Li"<aqnote@qq.com> Dec 24, 2015 6:19:59 PM
 */
@FixMethodOrder(MethodSorters.NAME_ASCENDING)

From source file org.eclipse.mylyn.tasks.tests.web.WebRepositoryConnectorTest.java

/**
 * @author Eugene Kuleshov
 */
public class WebRepositoryConnectorTest extends TestCase {

    // bug 213075

From source file org.globus.ftp.test.FeatureListTest.java

/**
   Test FeatureList
 **/
public class FeatureListTest extends TestCase {

    private static Log logger = LogFactory.getLog(FeatureListTest.class.getName());

From source file org.openejb.persistence.OpenJpaProviderTest.java

public class OpenJpaProviderTest extends TestCase {

    public void testOpenJpaProvider() throws Exception {
        System.setProperty(javax.naming.Context.URL_PKG_PREFIXES, "org.openejb.persistence");

        PersistenceDeployer deployer = new PersistenceDeployer(new TestDataSourceResolver());

From source file com.networknt.light.server.DbServiceTest.java

/**
 * Created by steve on 21/12/14.
 */
public class DbServiceTest extends TestCase {
    ObjectMapper mapper = new ObjectMapper();

From source file com.aqnote.shared.encrypt.digetst.SMTest.java

/**
 * SMTest.java descTODO
 * 
 * @author madding.lip Dec 24, 2015 6:19:59 PM
 */
@FixMethodOrder(MethodSorters.NAME_ASCENDING)

From source file org.eclipse.mylyn.reviews.r4e.core.utils.filePermission.OSPermissionTest.java

/**
 * The class <code>WindowPermissionTest</code> contains tests for the class {@link <code>WindowPermission</code>}
 * 
 * @pattern JUnit Test Case
 * @generatedBy CodePro at 18/11/10 8:22 AM
 * @author Alvaro Sanchez-Leon