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 com.amalto.core.storage.record.DataRecordDefaultWriterTest.java

public class DataRecordDefaultWriterTest extends TestCase {

    public void testWrite() throws IOException {
        String xml = "<referenceField>[111][222][444]</referenceField>"; //$NON-NLS-1$

        FieldMetadata fieldMetadata = new ReferenceFieldMetadata(null, true, false, true, "referenceField", null, //$NON-NLS-1$

From source file com.oakhole.core.uitls.ReflectionsTest.java

public class ReflectionsTest extends TestCase {

    public void testGetAccessibleFields() throws Exception {
        Assert.notEmpty(Reflections.getAccessibleFields(new String()));
    }
}

From source file edu.wisc.my.stats.web.command.validation.QueryCommandValidatorTest.java

/**
 * Tests QueryParametersValidator
 * 
 * @author Eric Dalquist <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
 * @version $Revision: 1.1 $
 */

From source file org.sipfoundry.sipxconfig.phone.cisco.CiscoIpPhoneTest.java

public class CiscoIpPhoneTest extends TestCase {

    private CiscoIpPhone m_phone;

    protected void setUp() {
        CiscoModel model = new CiscoModel("ciscoIp");

From source file org.sipfoundry.sipxconfig.acd.stats.AcdHistoricalStatsTestDb.java

public class AcdHistoricalStatsTestDb extends TestCase {

    private AcdHistoricalStats m_history;

    protected void setUp() throws Exception {
        ApplicationContext app = TestHelper.getApplicationContext();

From source file com.google.jstestdriver.server.gateway.GatewayMethodTest.java

/**
 * @author rdionne@google.com (Robert Dionne)
 */
public class GatewayMethodTest extends TestCase {

    public void testGetNameAndGetUri() throws Exception {

From source file org.sipfoundry.sipxconfig.phone.hitachi.HitachiPhoneTest.java

public class HitachiPhoneTest extends TestCase {
    public void testFactoryRegistered() {
        // FIXME: TestHelper is not accesible here - need to find a way of loading application
        // context
        // PhoneContext pc = (PhoneContext) TestHelper.getApplicationContext().getBean(
        // PhoneContext.CONTEXT_BEAN_NAME);

From source file test.capeline.transaction.DbTest.java

/**
 * 
 * <a href="https://github.com/Joe23/capelin-opac/">Capelin-opac</a>
 * License: GNU AGPL v3 | http://www.gnu.org/licenses/agpl.html 
 * 
 * A unit test to make sure hibernate, hibernate search and lucene are work well together.

From source file net.sf.morph2.integration.commons.lang.LanguageStrLookupTestCase.java

public class LanguageStrLookupTestCase extends TestCase {
    public void testMe() {
        HashMap map = new HashMap();
        map.put("string", "\"string\"");
        map.put("one", new Integer(1));
        map.put("array", new String[] { "foo", "bar", "baz" });

From source file org.jboss.ejb3.test.locator.client.jndihostconfigparsing.JndiHostParsingTestCase.java

public class JndiHostParsingTestCase extends TestCase {
    // Class Members

    private static final Log logger = LogFactory.getLog(JndiHostParsingTestCase.class);

    private static final String FILE_NAME_CONFIGURATION_DEFAULT = "jboss-ejb3-servicelocator-default.xml";