|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
gate.xml.TestRepositioningInfo
public class TestRepositioningInfo
This class tests if Repositinioning Information works. It creates a document using an inline xml file with preserveOriginalContent and collectRepositioningInfo options keeping true, which has all sorts of special entities like &, " etc. + it contains both kind of unix and dos types new line characters. It then saves the document to the temporary location on the disk using "save preserving document format" option and then compares the contents of both the original and the temporary document to see if they are equal.
Constructor Summary | |
---|---|
TestRepositioningInfo(String dummy)
Constructor |
Method Summary | |
---|---|
protected void |
setUp()
This method sets up the parameters for the files to be tested |
static junit.framework.Test |
suite()
Test suite routine for the test runner |
void |
tearDown()
Fixture tear down - removes the document resource |
void |
testRepositioningInfo()
This method tests if Repositinioning Information works. |
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 TestRepositioningInfo(String dummy)
Method Detail |
---|
protected void setUp()
setUp
in class junit.framework.TestCase
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testRepositioningInfo() throws Exception
Exception
public static junit.framework.Test suite()
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |