Package

Source Code of TestTemplate

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

public class TestTemplate extends TestCase {
  
  // Variables, inner classes used by tests
  
  public TestTemplate(String name) {
    super(name);
  }
  
  public static Test suite() {
    return new TestSuite(TestTemplate.class);
  }
  
  protected void setUp() {
    /* Code to set up a fresh scaffold for each test */
  }
  
  protected void tearDown() {
    /* Code to destroy the scaffold after each test */
  }
  
  public void testSomething() {
    /* do something and assert success */
  }
  
  // other test methods

}
TOP

Related Classes of TestTemplate

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.