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 se.cambio.cds.gdl.parser.GDLOutputTest.java

public class GDLOutputTest extends TestCase {

    public void setUp() {
        parser = new GDLParser();
        serializer = new DADLSerializer();
    }

From source file org.jasig.cas.web.support.ThrottledSubmissionByIpAddressHandlerInterceptorAdapterTests.java

public class ThrottledSubmissionByIpAddressHandlerInterceptorAdapterTests extends TestCase {

    private InMemoryThrottledSubmissionByIpAddressHandlerInterceptorAdapter adapter;

    private static final int CONST_FAILURE_THRESHHOLD = 3;

From source file org.jasig.cas.event.EventListenerTests.java

/**
 * @author Scott Battaglia
 * @version $Revision: 39690 $ $Date: 2007-04-07 14:35:03 -0400 (Sat, 07 Apr 2007) $
 * @since 3.0
 */
public class EventListenerTests extends TestCase {

From source file com.bstek.dorado.core.ContextTestCase.java

public abstract class ContextTestCase extends TestCase {
    private String locations = "";

    public ContextTestCase() {
        addExtensionContextConfigLocation("com/bstek/dorado/core/context.xml");
        addExtensionContextConfigLocation("com/bstek/dorado/core/test-context.xml");

From source file org.jasig.cas.util.annotation.AnnotationBeanPostProcessorTests.java

/**
 * 
 * @author Scott Battaglia
 * @version $Revision: 1.1 $ $Date: 2005/08/19 18:27:17 $
 * @since 3.1
 *

From source file org.carrot2.workbench.core.ui.SaveOptionsSerializationTest.java

public class SaveOptionsSerializationTest extends TestCase {
    public void testSerializeAndBack() throws Exception {
        SaveOptions opts = new SaveOptions();
        saveLoad(opts);
        opts.directory = "abc";
        saveLoad(opts);

From source file org.sipfoundry.sipxconfig.phone.acme.AcmePhoneTest.java

public class AcmePhoneTest extends TestCase {

    public void testGenerateTypicalProfile() throws Exception {
        AcmePhone phone = new AcmePhone();
        PhoneModel model = new PhoneModel("acmePhone");
        model.setProfileTemplate("acmePhone/config.vm");

From source file com.ivanzhangwb.core.service.TestMain.java

/**
 * TestMain.java??
 * 
 * @author zhangwenbo Jan 9, 2013 12:03:28 AM
 */
public class TestMain extends TestCase {

From source file org.sipfoundry.sipxconfig.phone.grandstream.GrandstreamProfileTest.java

public class GrandstreamProfileTest extends TestCase {

    GrandstreamPhone phone;

    PhoneTestDriver tester;

From source file gov.nih.nci.cabig.caaers.validation.fields.validators.AlphanumericValidatorTest.java

/**
 * Validating whether the value is an alphanumeric one or not
 * @author Ion C. Olaru
 *
 */
public class AlphanumericValidatorTest extends TestCase {