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.geoserver.script.ScriptTestSupport.java

public abstract class ScriptTestSupport extends TestCase {

    protected ScriptManager scriptMgr;

    private File dir;

From source file org.sipfoundry.sipxconfig.cmcprov.CmcProvTest.java

public class CmcProvTest extends TestCase {
    private ContactSynchronizer m_handler;

    protected void setUp() {
        String src = getClass().getResource("phonebook.xml").getFile();

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

public class ResetPacketTest extends TestCase {

    public void testGetBytes() {
        byte[] bytes = new ResetPacketWithIdenticalTimeCode("passwd", "000000000000").getResetMessage();
        String actual = new String(Hex.encodeHex(bytes));
        String expected = "0001000000bc614e0ae4c46d9ab8a7b14d3ef6cefb4f9f88";

From source file org.sipfoundry.conference.ConfRecordingTest.java

public class ConfRecordingTest extends TestCase {

    protected void setUp() throws Exception {
        super.setUp();
    }

From source file org.sipfoundry.sipxconfig.vm.DistributionListsTest.java

public class DistributionListsTest extends TestCase {

    protected void setUp() {
    }

    public void testGetUniqueExtensions() throws Exception {

From source file com.pureinfo.force.util.TimerUtilTest.java

/**
 * <P>
 * Created on Dec 29, 2005 10:40:04 AM <BR>
 * Last modified on Dec 29, 2005
 * </P>
 * 

From source file MusicPlayerTest.MainTest.java

/**
 *
 * @author LENOVO
 */
public class MainTest extends TestCase {

From source file edu.northwestern.bioinformatics.studycalendar.security.plugin.cas.direct.LoginFormReaderTest.java

/**
 * @author Rhett Sutphin
 */
public class LoginFormReaderTest extends TestCase {
    public void testCanExtractLoginTicketFromRubyCASServerLoginPage() throws Exception {
        assertLoginTicketIn("rubycas-login.html", "LT-1250704450r475348D359F974A670");

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

public class VersionInfoTest extends TestCase {

    public void testGetLongVersionStringEmpty() {
        // no package information during tests
        VersionInfo info = new VersionInfo();
        assertEquals("", info.getVersion());

From source file org.geoserver.test.AbstractSpringContextTest.java

/**
 * Base class for tests with a spring context loaded from the classpath.
 * 
 * @author Nate Sammons
 */
public abstract class AbstractSpringContextTest extends TestCase {