java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.enableit.db.darrt.visualise.SchemaVisualiserTest
- All Implemented Interfaces:
- junit.framework.Test
- public class SchemaVisualiserTest
- extends junit.framework.TestCase
Tests SchemaVisualiser
| 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 |
SVG_NAMESPACE_URI
public static final java.lang.String SVG_NAMESPACE_URI
- The SVG namespace for generated documents.
- See Also:
- Constant Field Values
table
private static org.enableit.db.darrt.schema.Table table
- A table bean to use in tests.
logger
private static org.apache.log4j.Logger logger
- Define a static Logger variable for logging.
SchemaVisualiserTest
public SchemaVisualiserTest(java.lang.String name)
- Default Constructor
suite
public static junit.framework.Test suite()
- Defines all the tests for the Web Service application including
tests in this class.
setUp
protected void setUp()
throws java.lang.Exception
- Define the test environment.
test10TableToSVG
public void test10TableToSVG()
throws java.lang.Exception
- Run test to convert table to SVG image.
test20TableToSVGFragment
public void test20TableToSVGFragment()
throws java.lang.Exception
- Run test to convert table to SVG image.
Note that the viewbox is hardcoded in this test, which leads to
truncation in some cases.