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 gov.nih.nci.cabig.caaers.domain.workflow.ReviewCommentTest.java

public class ReviewCommentTest extends TestCase {
    ReviewComment comment;

    protected void setUp() throws Exception {
        super.setUp();
        comment = new ReportingPeriodReviewComment();

From source file com.taurus.compratae.test.dbservice.ArchivoDbServiceTestCase.java

/**
 *
 * @author Desarrollador java
 */
public class ArchivoDbServiceTestCase extends TestCase {

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

public class BinaryFormatConverterTest extends TestCase {

    public void testConvert() throws IOException {
        byte[] expectedBytes = IOUtils.toByteArray(getClass().getResourceAsStream("config.bin"));
        ByteArrayOutputStream actualStream = new ByteArrayOutputStream();
        InputStream in = getClass().getResourceAsStream("config.txt");

From source file com.joptimizer.util.BitwiseMathTest.java

public class BitwiseMathTest extends TestCase {

    private Log log = LogFactory.getLog(this.getClass().getName());

    public void testAdd() {
        log.debug("testAdd");

From source file org.glenans.extractor.model.StageTest.java

/**
 *
 * @author mfaure
 */
public class StageTest extends TestCase {

From source file gov.nih.nci.cabig.ctms.collections.LazyListHelperTest.java

/**
 * @author Rhett Sutphin
 */
public class LazyListHelperTest extends TestCase {
    private LazyListHelper helper;

From source file bits.ewallet.repository.TransactionRecordRepositoryTest.java

/**
 *
 * @author amit
 */
public class TransactionRecordRepositoryTest extends TestCase {

From source file org.mule.ibeans.spring.IBeansContextFactoryBeanTestCase.java

public class IBeansContextFactoryBeanTestCase extends TestCase {
    public void testContext() throws Exception {
        ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(
                new String[] { "test-applicationContext.xml" });

        IBeansContext ctx = (IBeansContext) appContext.getBean("ibeansContext");

From source file org.sipfoundry.sipxconfig.components.EnumFormatTest.java

public class EnumFormatTest extends TestCase {

    public void testFormat() throws Exception {
        EnumFormat format = new EnumFormat();
        assertEquals("bongo", format.format(FakeEnum.BONGO));
        assertEquals("kuku", format.format(FakeEnum.KUKU));

From source file it.imtech.bookimporter.BookImporterTest.java

/**
 *
 * @author mede318
 */
public class BookImporterTest extends TestCase {