org.eclipse.emf.test.tools.merger.facade
Class FacadeTest_Example1
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.eclipse.emf.test.tools.merger.facade.FacadeTest_Example1
- All Implemented Interfaces:
- junit.framework.Test
public class FacadeTest_Example1
- extends junit.framework.TestCase
- Since:
- 2.2.0
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 |
testHeader
protected boolean testHeader
testComment
protected boolean testComment
testBody
protected boolean testBody
testContent
protected boolean testContent
testContentWithComments
protected boolean testContentWithComments
- Determines if contents with surrounding comments must be tested.
trimContents
protected boolean trimContents
- Determines if contents must be trimmed (leading and trailing whitespace removed)
when comparing contents.
compilationUnit
protected JCompilationUnit compilationUnit
mainType
protected JType mainType
FacadeTest_Example1
public FacadeTest_Example1(java.lang.String name)
suite
public static junit.framework.Test suite()
setTestActualText
protected void setTestActualText(boolean test)
getJavaFile
protected java.io.File getJavaFile()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
testJDOM
public void testJDOM()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAST
public void testAST()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
readTest
protected void readTest(FacadeHelper facadeHelper,
java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
readTest
protected void readTest(JCompilationUnit compilationUnit)
throws java.lang.Exception
- Throws:
java.lang.Exception
readTest
protected void readTest(JPackage jPackage)
throws java.lang.Exception
- Throws:
java.lang.Exception
readTestImports
protected void readTestImports(java.util.List<?> imports)
throws java.lang.Exception
- Throws:
java.lang.Exception
readTestTypes
protected void readTestTypes(java.util.List<?> types)
throws java.lang.Exception
- Throws:
java.lang.Exception
readTestMainType
protected void readTestMainType()
throws java.lang.Exception
- Throws:
java.lang.Exception
readTestNestedTypes
protected void readTestNestedTypes(java.util.List<?> types)
throws java.lang.Exception
- Throws:
java.lang.Exception
readTestFields
protected void readTestFields(java.util.List<?> fields)
throws java.lang.Exception
- Throws:
java.lang.Exception
readTestMethods
protected void readTestMethods(java.util.List<?> methods)
throws java.lang.Exception
- Throws:
java.lang.Exception
readTestInitializers
protected void readTestInitializers(java.util.List<?> initializers)
throws java.lang.Exception
- Throws:
java.lang.Exception
testInstanceOf
protected void testInstanceOf(java.lang.Object object,
java.lang.Class<?> cls)
assertContentEquals
public void assertContentEquals(java.lang.String string1,
java.lang.String string2)