org.ujac.print.test
Class StyleParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.print.test.BasePrintTest
              extended by org.ujac.print.test.StyleParserTest
All Implemented Interfaces:
junit.framework.Test

public class StyleParserTest
extends BasePrintTest

Name: StyleParserTest
Description: Tests for the style parser.

Author:
lauerc

Field Summary
 
Fields inherited from class org.ujac.print.test.BasePrintTest
docPrinter, docProperties, formatHelper, resourceLoader, templateInterpreter
 
Constructor Summary
StyleParserTest()
           
 
Method Summary
protected  void setUp()
          Sets up the test data.
 void testAlignmentAttributes()
          Testing float style attribute parsing.
 void testFloatStyleAttributes()
          Testing float style attribute parsing.
 void testGlobalAttributeAliases()
          Testing global attribute alias support.
 void testTextStyleAttributes()
          Testing text style attribute parsing.
 
Methods inherited from class org.ujac.print.test.BasePrintTest
addTagTest, clearTagTests, isAllTagTestsPassed, loadProperties, printDocument, printDocument, setTemplateSource
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

StyleParserTest

public StyleParserTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Description copied from class: BasePrintTest
Sets up the test data.

Overrides:
setUp in class BasePrintTest
Throws:
Exception - In case a problem occured during the set up.
See Also:
TestCase.setUp()

testTextStyleAttributes

public void testTextStyleAttributes()
                             throws Exception
Testing text style attribute parsing.

Throws:
Exception - In case something went wrong.

testFloatStyleAttributes

public void testFloatStyleAttributes()
                              throws Exception
Testing float style attribute parsing.

Throws:
Exception - In case something went wrong.

testAlignmentAttributes

public void testAlignmentAttributes()
                             throws Exception
Testing float style attribute parsing.

Throws:
Exception - In case something went wrong.

testGlobalAttributeAliases

public void testGlobalAttributeAliases()
                                throws Exception
Testing global attribute alias support.

Throws:
Exception - In case something went wrong.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.