Class VelocityTemplateRendererTest

java.lang.Object
de.hybris.platform.commons.renderer.impl.VelocityTemplateRendererTest

@UnitTest public class VelocityTemplateRendererTest extends Object
Tests VelocityTemplateRenderer functionality
  • Constructor Details

    • VelocityTemplateRendererTest

      public VelocityTemplateRendererTest()
  • Method Details

    • setUp

      public void setUp()
    • testRenderingTemplateCorrect

      public void testRenderingTemplateCorrect() throws IOException
      Throws:
      IOException
    • testRenderingWhenContextClassCannotBeFound

      public void testRenderingWhenContextClassCannotBeFound() throws IOException
      Throws:
      IOException
    • testRenderingWhenContextClassDoesNotMatch

      public void testRenderingWhenContextClassDoesNotMatch() throws IOException
      Throws:
      IOException
    • testRenderingWhenContextNotPassed

      public void testRenderingWhenContextNotPassed() throws IOException
      Throws:
      IOException
    • testRenderingWhenProblem

      public void testRenderingWhenProblem() throws IOException
      Throws:
      IOException
    • testRenderingWhenContentNotSpecified

      public void testRenderingWhenContentNotSpecified() throws IOException
      Throws:
      IOException
    • testWhenVelocityEvaluationThrowsException

      public void testWhenVelocityEvaluationThrowsException() throws Exception
      Throws:
      Exception
    • shouldNotAllowJavaReflectionAPICalls

      public void shouldNotAllowJavaReflectionAPICalls() throws IOException
      Throws:
      IOException