List of usage examples for junit.framework TestCase subclass-usage
From source file nz.ac.aut.ense701.gamequiz.QuizTest.java
/** * * @author aashi */ public class QuizTest extends junit.framework.TestCase { private static final String TEST_MESSAGE = "Test Message 1";
From source file org.quartz.impl.jdbcjobstore.StdJDBCDelegateTest.java
public class StdJDBCDelegateTest extends TestCase { public void testSerializeJobData() throws IOException { StdJDBCDelegate delegate = new StdJDBCDelegate(LogFactory.getLog(getClass()), "QRTZ_", "INSTANCE"); JobDataMap jdm = new JobDataMap();
From source file test.functional.TestProxySample.java
/** Test the proxy sample code. */ public class TestProxySample extends TestCase { static Log log = LogFactory.getLog(TestProxySample.class.getName()); public TestProxySample(String name) {
From source file ar.com.zauber.commons.spring.test.impl.TamperdataHttpServletRequestFactoryTest.java
/**
* Test for {@link TamperdataHttpServletRequestFactory}.
*
*
* @author Juan F. Codagnone
* @since Apr 22, 2008
From source file com.alibaba.druid.pool.DBCPTest.java
public class DBCPTest extends TestCase { public void test_dbcp() throws Exception { BasicDataSource dataSource = new BasicDataSource(); dataSource.setDriverClassName(MockDriver.class.getName()); dataSource.setUrl("jdbc:mock:xxx");
From source file com.surveypanel.form.config.LoadConfigTest.java
public class LoadConfigTest extends TestCase { public void testLoadConfig() { InMemoryFormFactory inMemoryFormFactory = new InMemoryFormFactory("/form/"); Form form = inMemoryFormFactory.create(0, false); JSManager jsManager = new JSManager(inMemoryFormFactory);
From source file org.esigate.url.IpHashBaseUrlRetrieveStrategyTest.java
public class IpHashBaseUrlRetrieveStrategyTest extends TestCase { public void testGetBaseURLRandom() { String[] baseUrls = new String[] { "http://example.com/test/", "http://example1.com/test/", "http://example2.com/test/" }; BaseUrlRetrieveStrategy strategy = new IpHashBaseUrlRetrieveStrategy(baseUrls);
From source file org.sipfoundry.commons.util.RFC2396UrlDecoderTest.java
public class RFC2396UrlDecoderTest extends TestCase { public RFC2396UrlDecoderTest(String testName) { super(testName); }
From source file net.sf.j2ep.test.AllowHeaderTest.java
public class AllowHeaderTest extends TestCase { protected void setUp() throws Exception { super.setUp(); }
From source file com.alibaba.druid.pool.dbcp.Test0.java
public class Test0 extends TestCase { public void test_idle() throws Exception { MockDriver driver = MockDriver.instance; BasicDataSource dataSource = new BasicDataSource();