Class FailedTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jvnet.hudson.test.junit.FailedTest
All Implemented Interfaces:
junit.framework.Test

public class FailedTest extends junit.framework.TestCase
TestCase implementation that has already failed. Used to represent a problem happened during a test suite construction.
Author:
Kohsuke Kawaguchi
  • Constructor Summary

    Constructors
    Constructor
    Description
    FailedTest(Class<?> name, Throwable problem)
     
    FailedTest(String name, Throwable problem)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class junit.framework.TestCase

    assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, setUp, tearDown, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • runTest

      protected void runTest() throws Throwable
      Overrides:
      runTest in class junit.framework.TestCase
      Throws:
      Throwable