com.google.caja.plugin
Class BrowserTestCaseStub

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.google.caja.util.CajaTestCase
              extended by com.google.caja.plugin.BrowserTestCase
                  extended by com.google.caja.plugin.BrowserTestCaseStub
All Implemented Interfaces:
junit.framework.Test

public class BrowserTestCaseStub
extends BrowserTestCase

For starting up the server and browser a BrowserTestCase does, then stopping so that you can try making requests to server and/or see how the browser behaves in the test environment. To run this easily, 'ant runbrowserstub'.

Author:
kpreid@switchb.org (Kevin Reid)

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.caja.plugin.BrowserTestCase
BrowserTestCase.Check
 
Field Summary
 
Fields inherited from class com.google.caja.plugin.BrowserTestCase
server
 
Fields inherited from class com.google.caja.util.CajaTestCase
is, mc, mq, SEED
 
Constructor Summary
BrowserTestCaseStub()
           
 
Method Summary
protected  void driveBrowser(org.openqa.selenium.WebDriver driver, java.lang.String pageName)
          Do what should be done with the browser.
static void main(java.lang.String[] args)
           
 
Methods inherited from class com.google.caja.plugin.BrowserTestCase
poll, portNumber, runBrowserTest, StartLocalServer, StopLocalServer
 
Methods inherited from class com.google.caja.util.CajaTestCase
assertArrayEquals, assertCloneable, assertDeepEquals, assertMessage, assertMessage, assertMessagesLessSevereThan, assertNoErrors, assertNoMessage, assertNoWarnings, checkHeadless, css, css, cssDecls, cssDecls, dataFromResource, formatShort, fromResource, fromResource, fromString, fromString, fromString, html, htmlFragment, js, js, js, jsExpr, jsExpr, markup, markupFragment, minify, plain, quasi, render, render, renderProgram, runTest, setUp, tearDown, xml, xmlFragment
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

BrowserTestCaseStub

public BrowserTestCaseStub()
Method Detail

main

public static final void main(java.lang.String[] args)

driveBrowser

protected void driveBrowser(org.openqa.selenium.WebDriver driver,
                            java.lang.String pageName)
Description copied from class: BrowserTestCase
Do what should be done with the browser.

Specified by:
driveBrowser in class BrowserTestCase


Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0