org.jboss.byteman.contrib.bmunit
Class BMTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.byteman.contrib.bmunit.BMTestCase
All Implemented Interfaces:
junit.framework.Test

public class BMTestCase
extends junit.framework.TestCase

A subclass of the JUnit test case class which looks for a byteman rule file with the same name as the test case and loads it during setup then removes it during teardown


Constructor Summary
BMTestCase()
           
BMTestCase(java.lang.String name)
           
BMTestCase(java.lang.String name, java.lang.String loadDirectory)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BMTestCase

public BMTestCase(java.lang.String name,
                  java.lang.String loadDirectory)

BMTestCase

public BMTestCase(java.lang.String name)

BMTestCase

public BMTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.