List of usage examples for junit.framework TestCase subclass-usage
From source file org.sofun.platform.opta.TestOptaFTP.java
/**
* FTP file filters.
*
* @author <a href="mailto:julien@anguenot.org">Julien Anguenot</a>
*
*/
From source file v7db.files.spi.OffsetAndLengthTest.java
public class OffsetAndLengthTest extends TestCase { public void testContentRepetition() throws IOException { Content doubled = new OffsetAndLength(new InlineContent("abcde".getBytes()), 0, 10);
From source file com.appleframework.monitor.model.MetricDogTest.java
/** * @author Hill.Hu */ public class MetricDogTest extends TestCase { MetricDog dog;
From source file org.vafer.jdeb.ar.ArOutputStreamTestCase.java
public final class ArOutputStreamTestCase extends TestCase { public void testWrite() throws Exception { final File out1 = File.createTempFile("jdeb", ".ar"); final ArArchiveOutputStream os = new ArArchiveOutputStream(new FileOutputStream(out1));
From source file test.functional.TestMessageSample.java
/** Test the message sample code. */ public class TestMessageSample extends TestCase { static Log log = LogFactory.getLog(TestMessageSample.class.getName()); public TestMessageSample(String name) {
From source file org.sipfoundry.sipxconfig.admin.FtpBackupPlanTest.java
public class FtpBackupPlanTest extends TestCase { public void testGetBackups() { final FtpContext ftpContext = createMock(FtpContext.class); String[] directoryNames = new String[] { "200804221100", "200804221101", "200804221102" };
From source file org.sipfoundry.sipxconfig.bulk.vcard.VcardParserImplTest.java
public class VcardParserImplTest extends TestCase { private List<String[]> parseVcardFile(String fileName) { InputStream testPhonebookFile = getClass().getResourceAsStream(fileName); Reader reader = new InputStreamReader(testPhonebookFile); VcardParserImpl parser = new VcardParserImpl();
From source file org.sipfoundry.sipxconfig.conference.ConferenceConfigurationTest.java
public class ConferenceConfigurationTest extends TestCase { private DomainManager m_domainManager; private final Location m_location = new Location(); private final Domain m_domain = new Domain("example.com"); private final ConferenceConfiguration m_config = new ConferenceConfiguration();
From source file org.springmodules.commons.lang.CommonsEnumPropertyEditorTests.java
/** * */ public class CommonsEnumPropertyEditorTests extends TestCase { private CommonsEnumPropertyEditor editor;
From source file com.networknt.config.ConfigDefaultTest.java
/** * Created by steve on 01/09/16. */ public class ConfigDefaultTest extends TestCase { Config config = null;