net.sf.jooreports.templates
Class TemplateTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.jooreports.templates.AbstractTemplateTest
              extended by net.sf.jooreports.templates.TemplateTest
All Implemented Interfaces:
junit.framework.Test

public class TemplateTest
extends AbstractTemplateTest


Constructor Summary
TemplateTest()
           
 
Method Summary
 void testCustomContentWrapper()
           
 void testCustomFreemarkerConfiguration()
           
 void testLineBreaks()
           
 void testStylesDotXml()
          Header/footer are in styles.xml
 void testUnzipped()
           
 void testUtf8()
           
 void testXmlSpecialChars()
           
 void testZipped()
           
 
Methods inherited from class net.sf.jooreports.templates.AbstractTemplateTest
assertFileCreated, createTempFile, extractTextContent, getTestFile, processTemplate, setUp
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateTest

public TemplateTest()
Method Detail

testZipped

public void testZipped()
                throws java.io.IOException,
                       DocumentTemplateException
Throws:
java.io.IOException
DocumentTemplateException

testUnzipped

public void testUnzipped()
                  throws java.io.IOException,
                         DocumentTemplateException
Throws:
java.io.IOException
DocumentTemplateException

testXmlSpecialChars

public void testXmlSpecialChars()
                         throws java.io.IOException,
                                DocumentTemplateException
Throws:
java.io.IOException
DocumentTemplateException

testStylesDotXml

public void testStylesDotXml()
                      throws java.io.IOException,
                             DocumentTemplateException
Header/footer are in styles.xml

Throws:
java.io.IOException
freemarker.template.TemplateException
DocumentTemplateException

testUtf8

public void testUtf8()
              throws java.lang.Exception
Throws:
java.lang.Exception

testCustomFreemarkerConfiguration

public void testCustomFreemarkerConfiguration()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testLineBreaks

public void testLineBreaks()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testCustomContentWrapper

public void testCustomContentWrapper()
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009. All Rights Reserved.