public class

TestHtmlAnnotationEscaper

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.velocity.htmlsafe.TestHtmlAnnotationEscaper

Class Overview

Tests for the HtmlAnnotationEscaper

Summary

Public Constructors
TestHtmlAnnotationEscaper()
Public Methods
void testBracedHtmlReferenceNamesAreNotEscaped()
void testHtmlReferenceNamesAreNotEscaped()
void testNonHtmlReferenceNamesAreEscaped()
void testNullValuesAreHandled()
void testObjectsWithAtlassianHtmlSafeAnnotationAreNotEscaped()
void testObjectsWithHtmlSafeAnnotationAreNotEscaped()
void testObjectsWithHtmlSafeToStringMethodAreNotEscaped()
void testObjectsWithoutHtmlSafeAnnotationsAreEscaped()
[Expand]
Inherited Methods
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestHtmlAnnotationEscaper ()

Public Methods

public void testBracedHtmlReferenceNamesAreNotEscaped ()

public void testHtmlReferenceNamesAreNotEscaped ()

public void testNonHtmlReferenceNamesAreEscaped ()

public void testNullValuesAreHandled ()

public void testObjectsWithAtlassianHtmlSafeAnnotationAreNotEscaped ()

public void testObjectsWithHtmlSafeAnnotationAreNotEscaped ()

public void testObjectsWithHtmlSafeToStringMethodAreNotEscaped ()

public void testObjectsWithoutHtmlSafeAnnotationsAreEscaped ()