public class InclassMethodTest
extends java.lang.Object
TestMethod) in a
JUnit test.| Constructor and Description |
|---|
InclassMethodTest(java.lang.reflect.Method method,
java.lang.String testFileRoot)
Encapsulate the given method (annotated with
TestMethod) in a
JUnit test. |
public InclassMethodTest(java.lang.reflect.Method method,
java.lang.String testFileRoot)
TestMethod) in a
JUnit test. When executed, the test may access files stored at
testFileRoot.method - testFileRoot - public void test()
throws java.lang.Throwable
TestMethod and compares the
result with an expected value. Comparison is done using
Assert.assertEquals(String, String, String)java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Object