|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.eclipse.birt.report.tests.model.BaseTestCase
org.eclipse.birt.report.tests.model.api.MasterPageHandleTest
Test case for MasterPageHandle.
Field Summary |
Fields inherited from class org.eclipse.birt.report.tests.model.BaseTestCase |
design, designHandle, GOLDEN_FOLDER, INPUT_FOLDER, OUTPUT_FOLDER, PLUGIN_NAME, PLUGIN_PATH, PLUGINLOC, ROM_DEF_NAME, sessionHandle, TEST_FOLDER, TEST_LOCALE |
Constructor Summary | |
MasterPageHandleTest(java.lang.String name)
|
Method Summary | |
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testGetPageSize()
Tests getPageHeight and getPageWidth. |
void |
testGetSize()
Test getSize(). |
void |
testOtherMethods()
tests other methods on master pages. |
void |
testSetProperty()
Test the overridden setProperty(). |
Methods inherited from class org.eclipse.birt.report.tests.model.BaseTestCase |
compareErrors, compareTextFile, compareTextFileAsResource, createDesign, createDesign, dumpErrors, getClassFolder, getFullQualifiedClassName, openDesign, openDesign, openDesign, openDesign, openDesignAsResource, openDesignAsResource, printSemanticError, printSemanticErrors, printSyntaxError, saveAs, saveAsInTempDir, tearDown |
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 MasterPageHandleTest(java.lang.String name)
name
- Method Detail |
public static junit.framework.Test suite()
protected void setUp() throws java.lang.Exception
setUp
in class BaseTestCase
java.lang.Exception
public void testGetSize()
1. type is not provided. Default value of "USLetter" should be returned, in session unit.
2. type is "Custom", width="8.3cm", height="13.3cm" , application unit is in. Return value should be the converted value in inch unit.
public void testOtherMethods()
public void testGetPageSize() throws java.lang.Exception
java.lang.Exception
public void testSetProperty() throws org.eclipse.birt.report.model.api.activity.SemanticException
org.eclipse.birt.report.model.api.activity.SemanticException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |