Class VelocityTemplateRendererTest


  • @UnitTest
    public class VelocityTemplateRendererTest
    extends java.lang.Object
    Tests VelocityTemplateRenderer functionality
    • Constructor Detail

      • VelocityTemplateRendererTest

        public VelocityTemplateRendererTest()
    • Method Detail

      • setUp

        public void setUp()
      • testRenderingTemplateCorrect

        public void testRenderingTemplateCorrect()
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • testRenderingWhenContextClassCannotBeFound

        public void testRenderingWhenContextClassCannotBeFound()
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • testRenderingWhenContextClassDoesNotMatch

        public void testRenderingWhenContextClassDoesNotMatch()
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testRenderingWhenContextNotPassed

        public void testRenderingWhenContextNotPassed()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • testRenderingWhenProblem

        public void testRenderingWhenProblem()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • testRenderingWhenContentNotSpecified

        public void testRenderingWhenContentNotSpecified()
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • testWhenVelocityEvaluationThrowsException

        public void testWhenVelocityEvaluationThrowsException()
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldNotAllowJavaReflectionAPICalls

        public void shouldNotAllowJavaReflectionAPICalls()
                                                  throws java.io.IOException
        Throws:
        java.io.IOException