Tests for
HtmlPage .
version: $Revision: 2132 $ author: Mike Bowler author: Noboru Sinohara author: David K. Taylor author: Andreas Hangler author: Christian Sell author: Marc Guillemot author: Ahmed Ashour
testRefresh_ImmediateRefresh_AvoidOOME() Ensures that if a page is supposed to refresh itself every certain amount of
time, and the ImmediateRefreshHandler is being used, an OOME is avoided by
not performing the refresh.
public void testGetElementById_AfterAppendRemoveAppendChild() throws Exception(Code)
Tests getElementById() of child element after appendChild(), removeChild(), then appendChild()
of the parent element.
throws: Exception - if the test fails
public void testRefresh_HttpResponseHeader() throws Exception(Code)
Test auto-refresh from a response header.
throws: Exception - if the test fails
testRefresh_ImmediateRefresh_AvoidOOME
public void testRefresh_ImmediateRefresh_AvoidOOME() throws Exception(Code)
Ensures that if a page is supposed to refresh itself every certain amount of
time, and the ImmediateRefreshHandler is being used, an OOME is avoided by
not performing the refresh.
throws: Exception - if the test fails
testRefresh_MetaTagNoScript
public void testRefresh_MetaTagNoScript() throws Exception(Code)
Test auto-refresh from a meta tag inside noscript.
throws: Exception - if the test fails
testRefresh_MetaTagPartlyQuoted
public void testRefresh_MetaTagPartlyQuoted() throws Exception(Code)
Test auto-refresh from a meta tag with url partly quoted.
throws: Exception - if the test fails
testRefresh_MetaTagQuoted
public void testRefresh_MetaTagQuoted() throws Exception(Code)
Test auto-refresh from a meta tag with url quoted.
throws: Exception - if the test fails
testRefresh_MetaTag_CustomRefreshHandler
public void testRefresh_MetaTag_CustomRefreshHandler() throws Exception(Code)
Test auto-refresh from a meta tag with a refresh handler that doesn't refresh.
throws: Exception - if the test fails
testRefresh_MetaTag_DefaultRefreshHandler
public void testRefresh_MetaTag_DefaultRefreshHandler() throws Exception(Code)
Test auto-refresh from a meta tag.
throws: Exception - if the test fails
testRefresh_MetaTag_NoUrl
public void testRefresh_MetaTag_NoUrl() throws Exception(Code)
Test auto-refresh from a meta tag with no URL.
throws: Exception - if the test fails
testRefresh_MetaTag_Whitespace
public void testRefresh_MetaTag_Whitespace() throws Exception(Code)
Test that whitespace before and after ';' is permitted.
throws: Exception - if the test fails
testRegexReplacementWithFunction
public void testRegexReplacementWithFunction() throws Exception(Code)