Package bdjunit.examples

Source Code of bdjunit.examples.TestCase1

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package bdjunit.examples;

import bdjunit.framework.Test;
import bdjunit.framework.TestCase;
import bdjunit.framework.TestSuite;

/**
*
*/
public class TestCase1 extends TestCase {
   
    public TestCase1() {
        // Do nothing
    }
   
    public TestCase1(String testName) {
        super(testName);
    }
   
    public void setUp() {
        // Do nothing
    }
   
    public void tearDown() {
        // Do nothing
    }
   
    /**
     * To create the test suite.
     */
    public static Test suite() {
        return new TestSuite(TestCase1.class);
    }
   
    public void testMethod1() {
        assertTrue("Pass!", true);
    }
   
    public void testMethod2() {
        assertTrue("Should be error!", false);
    }  
   
    public void testMethod3() {
        assertTrue("Should be error!", false);
    }  
}
TOP

Related Classes of bdjunit.examples.TestCase1

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.