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 TestDB.java

public class TestDB extends TestCase {
    private Connection dbConn;

    protected void setUp() {
        // connect to database
    }

From source file TestLargest.java

public class TestLargest extends TestCase {
    public TestLargest(String name) {
        super(name);
    }

    public void testEmpty() {

From source file TestLargest.java

public class TestLargest extends TestCase {

    public TestLargest(String name) {
        super(name);
    }

From source file TestMyStack.java

public class TestMyStack extends TestCase {

    public void testEmpty() throws Exception {
        MyStack stack = new MyStack();

        stack.checkInvariant();

From source file models.ErrorInfoTest.java

/**
 * Copyright (C) 2014 Kenny Bastani
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 * <p>

From source file TestClassTwo.java

public class TestClassTwo extends TestCase {

    public TestClassTwo(String method) {
        super(method);
    }

From source file TestClassComposite.java

public class TestClassComposite extends TestCase {

    public TestClassComposite(String method) {
        super(method);
    }

From source file TestClassOne.java

public class TestClassOne extends TestCase {

    public TestClassOne(String method) {
        super(method);
    }

From source file TestSample.java

public class TestSample extends TestCase {

    public TestSample(String name) {
        super(name);
    }

From source file TestLargest.java

public class TestLargest extends TestCase {
  public TestLargest(String name) {
    super(name);
  }

  public void testOrder2() {