com.atlassian.renderer.embedded
Class EmbeddedImageTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.renderer.embedded.EmbeddedImageTest
All Implemented Interfaces:
junit.framework.Test

public class EmbeddedImageTest
extends junit.framework.TestCase


Constructor Summary
EmbeddedImageTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAltProperty()
           
 void testBorderProperty()
           
 void testExternal()
           
 void testJavascriptPropertiesNotDisplayed()
           
 void testMultipleProperties()
           
 void testOtherRandomPropertiesNotDisplayed()
           
 void testParametersAreNotEscaped()
          The parameters should not be escaped by the EmbeddedImage bean, but rather when they are inserted into some HTML output.
 void testThumbnail()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

EmbeddedImageTest

public EmbeddedImageTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testThumbnail

public void testThumbnail()

testExternal

public void testExternal()

testBorderProperty

public void testBorderProperty()

testAltProperty

public void testAltProperty()

testMultipleProperties

public void testMultipleProperties()

testJavascriptPropertiesNotDisplayed

public void testJavascriptPropertiesNotDisplayed()

testOtherRandomPropertiesNotDisplayed

public void testOtherRandomPropertiesNotDisplayed()

testParametersAreNotEscaped

public void testParametersAreNotEscaped()
The parameters should not be escaped by the EmbeddedImage bean, but rather when they are inserted into some HTML output.



Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.