java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.xpmtl.mock.SimpleMockGenTest
- All Implemented Interfaces:
- junit.framework.Test
- public class SimpleMockGenTest
- extends junit.framework.TestCase
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
m_SimpleMockGen
SimpleMockGen m_SimpleMockGen
SimpleMockGenTest
public SimpleMockGenTest(java.lang.String s)
setUp
public void setUp()
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
tearDown
public void tearDown()
- Description copied from class:
junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
testGetSourceCode
public void testGetSourceCode()
throws java.lang.Exception
testGetSourceTestXSL
public void testGetSourceTestXSL()
throws java.lang.Exception
testGetSourceCodeXSL
public void testGetSourceCodeXSL()
throws java.lang.Exception
testGetSourceCodeTest
public void testGetSourceCodeTest()
throws java.lang.Exception
testGetSourceFileName
public void testGetSourceFileName()
throws java.lang.Exception
testGetSourceTestFileName
public void testGetSourceTestFileName()
throws java.lang.Exception
testGetSourceCodeArray
public void testGetSourceCodeArray()
throws java.lang.Exception
testGetSourceCodeTestArray
public void testGetSourceCodeTestArray()
throws java.lang.Exception
testGetSourceCodeTestDoublons
public void testGetSourceCodeTestDoublons()
throws java.lang.Exception
getXSLFileForCode
private java.io.File getXSLFileForCode()
throws java.lang.Exception
- Private helper methods
getXSLFileForTest
private java.io.File getXSLFileForTest()
throws java.lang.Exception
getXMLAsString
private java.lang.String getXMLAsString(org.jdom.Element elem)
createSimpleClass
private org.jdom.Element createSimpleClass(java.lang.String clsName,
java.lang.String packageName)
createSimpleMethod
private org.jdom.Element createSimpleMethod(java.lang.String methodName,
java.lang.String resultType,
java.lang.String[] params)