com.gargoylesoftware.htmlunit.gae
Class GAESupportTest

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.gae.GAESupportTest

public class GAESupportTest
extends Object

Tests for Google App Engine support. Tests are run through the GAETestRunner which tries to enforce (some of) GAE rules like for instance class white list.

Version:
$Revision: 7931 $
Author:
Marc Guillemot

Constructor Summary
GAESupportTest()
           
 
Method Summary
 void instantiation()
          Simulates GAE white list restrictions.
 void whitelist()
          Test that the test runner prohibits loading of some classes like URLStreamHandler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GAESupportTest

public GAESupportTest()
Method Detail

whitelist

public void whitelist()
Test that the test runner prohibits loading of some classes like URLStreamHandler.


instantiation

public void instantiation()
                   throws Exception
Simulates GAE white list restrictions. Fails as of HtmlUnit-2.7 due to usage of java.net.URLStreamHandler (and problably other classes).

Throws:
Exception - if the test fails


Copyright © 2002-2013 Gargoyle Software Inc.. All Rights Reserved.