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.esigate.url.StickySessionBaseUrlRetrieveStrategyTest.java

public class StickySessionBaseUrlRetrieveStrategyTest extends TestCase {

    public void testGetBaseURL() {
        final String[] baseUrls = new String[] { "http://example.com/test/", "http://example1.com/test/",
                "http://example2.com/test/" };
        BaseUrlRetrieveStrategy strategy = new StickySessionBaseUrlRetrieveStrategy(baseUrls);

From source file org.osaf.cosmo.calendar.ICalValueParserTest.java

public class ICalValueParserTest extends TestCase {
    private static final Log log = LogFactory.getLog(ICalValueParserTest.class);

    public void testParseWithParams() throws Exception {
        String str = ";VALUE=DATE-TIME;TZID=America/Los_Angeles:20021010T120000";

From source file org.vafer.jdeb.ar.ArInputStreamTestCase.java

public final class ArInputStreamTestCase extends TestCase {

    public void testRead() throws Exception {
        final File archive = new File(getClass().getResource("data.ar").toURI());

        final ArArchiveInputStream ar = new ArArchiveInputStream(new FileInputStream(archive));

From source file at.bitfire.davdroid.webdav.DavRedirectStrategyTest.java

public class DavRedirectStrategyTest extends TestCase {

    CloseableHttpClient httpClient;
    DavRedirectStrategy strategy = DavRedirectStrategy.INSTANCE;

    @Override

From source file org.mapfish.geo.MfFeatureTest.java

/**
 * Unit test for MfFeature.
 */
public class MfFeatureTest extends TestCase {
    /**
     * Create the test case

From source file com.skymobi.monitor.model.LogQueryTest.java

/**
 * @author Hill.Hu
 */
public class LogQueryTest extends TestCase {
    LogQuery query;

From source file org.sipfoundry.sipxconfig.rest.SpecialAttendantResourceTest.java

public class SpecialAttendantResourceTest extends TestCase {
    private AutoAttendantManager m_autoAttendantManager;

    @Override
    protected void setUp() throws Exception {
        AutoAttendant operator = new AutoAttendant();

From source file m.c.m.proxyma.resource.ProxymaResponseDataBeanTest.java

/**
 * <p>
 * Test the functionality of the ProxymaResponseDataBean
 *
 * </p><p>
 * NOTE: this software is released under GPL License.

From source file ar.com.zauber.commons.spring.beans.factory.SwitchConditionalFactoryBeanTest.java

/**
 * Testeos de unidad para {@link SwitchConditionalFactoryBean}.
 * 
 * @author Juan F. Codagnone
 * @since Aug 5, 2006
 */

From source file org.osaf.cosmo.atom.provider.BaseCollectionAdapterTestCase.java

/**
 * Base class for for provider tests.
 */
public abstract class BaseCollectionAdapterTestCase extends TestCase {
    private static final Log log = LogFactory.getLog(BaseCollectionAdapterTestCase.class);