|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.de.uni_paderborn.fujaba.uml.UMLTestBase
Base Clazz for Fujaba JUnit tests
contains many useful utilities .
| Constructor Summary | |
UMLTestBase(java.lang.String arg0)
|
|
| Method Summary | |
protected void |
clearDir(java.io.File generatedDir)
remove all files in generatedDir |
protected boolean |
codeEquals(java.lang.StringBuffer buff,
java.lang.StringBuffer expected)
compare buff and expected line-by-line.
|
protected void |
computeDifferenceBetweenDirectories(java.io.File expDir,
java.io.File genDir)
|
protected java.io.File |
createEmptyGeneratedDir(UMLProject elevatorProject)
|
protected void |
defaultFprTest()
|
protected void |
ensureEmptyGeneratedDir(java.io.File generatedDir)
|
protected void |
formatFile(java.lang.String filename)
No comment provided by developer, please add a comment to improve documentation. |
protected java.io.File |
getDirForExpectedSources()
get the directory for expected sources testcase this . |
protected java.io.File |
getDirForGeneratedSources()
get the directory for generated sources testcase this . |
protected java.io.File |
getFprFile()
get fujaba project file for testcase this . |
protected java.lang.String |
getFullNameAsDirName()
Get the fullNameAsDirName attribute of the UMLTestBase object |
protected java.io.File |
getTmpDir()
get the directory for temporary sources . |
protected void |
setOutputDirectory(UMLProject elevatorProject,
java.io.File genDir)
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testNothing()
to avoid JUnit warning |
protected java.lang.String |
unixToPlatformDir(java.lang.String unixdir)
convert unix dir to platform dependent dir. |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UMLTestBase(java.lang.String arg0)
arg0 - | Method Detail |
public void testNothing()
protected void setUp()
throws java.lang.Exception
java.lang.Exception - Exception description not providedTestCase.setUp()
protected void tearDown()
throws java.lang.Exception
java.lang.Exception - Exception description not providedTestCase.tearDown()protected java.io.File createEmptyGeneratedDir(UMLProject elevatorProject)
elevatorProject -
protected void clearDir(java.io.File generatedDir)
generatedDir
generatedDir - No description provided
protected boolean codeEquals(java.lang.StringBuffer buff,
java.lang.StringBuffer expected)
buff and expected line-by-line.
ignore empty lines and leading and trailing spaces.
buff - expected -
protected void formatFile(java.lang.String filename)
filename - No description providedprotected java.lang.String unixToPlatformDir(java.lang.String unixdir)
unixdir - No description provided
protected java.lang.String getFullNameAsDirName()
protected java.io.File getFprFile()
this .
protected java.io.File getDirForGeneratedSources()
this .
protected void ensureEmptyGeneratedDir(java.io.File generatedDir)
generatedDir - No description provided
protected void setOutputDirectory(UMLProject elevatorProject,
java.io.File genDir)
elevatorProject - genDir - protected java.io.File getDirForExpectedSources()
this .
protected java.io.File getTmpDir()
protected void computeDifferenceBetweenDirectories(java.io.File expDir,
java.io.File genDir)
expDir - genDir - protected void defaultFprTest()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||