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 com.pureinfo.ark.interaction.util.ActionFormUtilTest.java

/**
 * <P>
 * Created on Dec 9, 2005 11:34:51 PM <BR>
 * Last modified on Dec 9, 2005
 * </P>
 * ActionFormUtilTest: test for ActionFormUtil.

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

/**
 *  Copyright 2014 Giovanni Bricconi
    
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

From source file org.sipfoundry.sipxconfig.device.MemoryProfileLocationTest.java

public class MemoryProfileLocationTest extends TestCase {
    public void testGetOutput() throws Exception {
        MemoryProfileLocation location = new MemoryProfileLocation();

        OutputStream output = location.getOutput("abc.txt");
        for (char c = 'a'; c < 'e'; c++) {

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

public class MailboxTest extends TestCase {

    public void testFilePreferencesFile() {
        Mailbox mbox = new Mailbox(new File(TestUtil.getTestSourceDirectory(this.getClass())), "200");
        assertTrue(mbox.getVoicemailPreferencesFile().isFile());
    }

From source file org.sipfoundry.voicemail.DistributionsTest.java

public class DistributionsTest extends TestCase {
    File m_testdir;

    protected void setUp() throws Exception {
        super.setUp();
        m_testdir = new File("/tmp/DistributionsTest/");

From source file com.searchcode.app.util.FileClassifierResultTest.java

public class FileClassifierResultTest extends TestCase {
    public void testDatabaseControl() {
        FileClassifier fileClassifier = new FileClassifier(new ArrayList<>());

        assertThat(fileClassifier.getDatabase()).isEmpty();
        List<FileClassifierResult> database = new ArrayList<>();

From source file org.sipfoundry.sipxconfig.admin.X509CertificateUtilsTest.java

public class X509CertificateUtilsTest extends TestCase {

    public void testGetX509Certificate() {
        File sipxCert = new File(TestUtil.getTestSourceDirectory(this.getClass()), "sipx.crt");
        X509Certificate cert = X509CertificateUtils.getX509Certificate(sipxCert.getAbsolutePath());
        assertEquals(

From source file omero.util.test.TempFileManagerTest.java

@Test(groups = "unit")
public class TempFileManagerTest extends TestCase {

    @Test
    public void testBasicUsage() throws IOException {
        File p = TempFileManager.create_path("foo", ".bar");

From source file org.sipfoundry.sipxconfig.admin.RestoreTest.java

public class RestoreTest extends TestCase {

    public void testGetCmdLine() {
        Restore restore = new Restore();
        restore.setBinDirectory("");

From source file se.chalmers.watchmetest.util.MovieHelperTest.java

public class MovieHelperTest extends TestCase {

    public void testStringArrayToTagList() {

        String[] tagStrings = { "tag1", "tag2", "tag3", "tag4", "tag5" };