org.apache.maven.abbot
Class AbbotTestAll

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byjunit.extensions.abbot.ResolverFixture
              extended byjunit.extensions.abbot.ComponentTestFixture
                  extended byjunit.extensions.abbot.ScriptFixture
                      extended byorg.apache.maven.abbot.AbbotTestAll
All Implemented Interfaces:
junit.framework.Test

public class AbbotTestAll
extends junit.extensions.abbot.ScriptFixture

TestAll is the entry point for all Abbot functional tests. It executes all xml files located in the passed src/abbot/ dir.


Nested Class Summary
static class AbbotTestAll.MavenScriptTestSuite
          Custom ScriptTestSuite to only accept xml files.
 
Nested classes inherited from class junit.extensions.abbot.ComponentTestFixture
junit.extensions.abbot.ComponentTestFixture.ExceptionCatcher
 
Nested classes inherited from class junit.extensions.abbot.ResolverFixture
junit.extensions.abbot.ResolverFixture.ComponentMatcher
 
Field Summary
 
Fields inherited from class junit.extensions.abbot.ComponentTestFixture
EVENT_GENERATION_DELAY, POPUP_DELAY, WINDOW_DELAY
 
Constructor Summary
AbbotTestAll(String name)
           
 
Method Summary
protected static String[] getScriptFileNames()
           
static junit.framework.Test suite()
          Return test suite containing all scripts.
 
Methods inherited from class junit.extensions.abbot.ScriptFixture
main, runTest
 
Methods inherited from class junit.extensions.abbot.ComponentTestFixture
disposeWindow, fixtureSetUp, fixtureTearDown, getRobot, getWindowTracker, hideWindow, installPopup, isShowing, runBare, showFrame, showFrame, showModalDialog, showPopup, showPopup, showWindow, showWindow, showWindow
 
Methods inherited from class junit.extensions.abbot.ResolverFixture
createHierarchy, getFinder, getHierarchy, getResolver
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, setName, setUp, tearDown, 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

AbbotTestAll

public AbbotTestAll(String name)
See Also:
ScriptFixture.ScriptFixture(java.lang.String)
Method Detail

suite

public static junit.framework.Test suite()
Return test suite containing all scripts.


getScriptFileNames

protected static String[] getScriptFileNames()
Returns:
the file list (as a String array) specified by the optional maven.abbot.src.files Maven property or null if the property is not defined. Also returns null if there are no files defined in the maven.abbot.src.files property.


Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.