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 edu.uci.ics.jung.graph.AbstractHypergraphTest.java

public abstract class AbstractHypergraphTest extends TestCase {
    protected Factory<? extends Hypergraph<Integer, Character>> factory;
    protected Hypergraph<Integer, Character> h;

    public AbstractHypergraphTest(Factory<? extends Hypergraph<Integer, Character>> factory) {
        this.factory = factory;

From source file org.sipfoundry.sipxconfig.bulk.ldap.SchemaTest.java

public class SchemaTest extends TestCase {

    public void testAddClassDefinitionFull() {
        String definition = "( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top "
                + "STRUCTURAL MUST ( sn $ cn ) MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )";

From source file com.joanju.proparse.unittest.TestIncludeRef.java

/**
 * Test all tree parsers against new syntax. These tests just run the tree
 * parsers against the data/newsyntax directory. If no exceptions are thrown,
 * then the tests pass. The files in the "newsyntax" directories are subject to
 * change, so no other tests should be added other than the expectation that
 * they parse clean.

From source file org.sipfoundry.sipxconfig.common.DataCollectionUtilTest.java

public class DataCollectionUtilTest extends TestCase {

    private List<PrimaryKeySource> m_items;

    private Object[] m_primaryKeys;

From source file org.sipfoundry.sipxconfig.components.OptionalElementTest.java

public class OptionalElementTest extends TestCase {
    private Creator m_maker = new Creator();
    private OptionalElement m_oe;

    protected void setUp() throws Exception {
        m_oe = (OptionalElement) m_maker.newInstance(OptionalElement.class);

From source file com.almende.eve.algorithms.test.TestGraph.java

/**
 * @author ludo
 *         The Class TestNetwork.
 */
public class TestGraph extends TestCase {
    private static final Logger LOG = Logger.getLogger(TestGraph.class.getName());

From source file eshore.cn.it.phrase.TestPhrase.java

/**
 * ????
 * @author hankcs
 */
public class TestPhrase extends TestCase {
    static final String FOLDER = "F:\\??\\\\";

From source file com.android.loganalysis.item.TopItemTest.java

/**
 * Unit test for {@link TopItem}.
 */
public class TopItemTest extends TestCase {

    /**

From source file org.hbird.business.validation.ValidatorTest.java

/**
 * Upper class for the validator integration test. Both tests (LimitUpdate and UpperLowerLimit) use
 * the same context. 
 * They can not be put into the same test-class because the UpperLowerLimit is a parameterized test.
 * 
 * This class sets up the Camel context with all additional routes used for testing and provides access

From source file org.geoserver.importer.format.KMLFileFormatTest.java

public class KMLFileFormatTest extends TestCase {

    private KMLFileFormat kmlFileFormat;
    static final String DOC_EL = "<kml xmlns=\"http://www.opengis.net/kml/2.2\">";

    @Override