ca.ucalgary.seahawk.gui.test
Class SeahawkTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
junit.extensions.jfcunit.JFCTestCase
ca.ucalgary.seahawk.gui.test.SeahawkTestCase
- All Implemented Interfaces:
- junit.framework.Test
public class SeahawkTestCase
- extends junit.extensions.jfcunit.JFCTestCase
Tests all of the major functionality of Seahawk, the standalone MOBY
browser that can be embedded in other applications too. If you add classes
to Seahawk, you MUST test them here, otherwise they will not end up in the
Seahawk deployment JAR.
Methods inherited from class junit.extensions.jfcunit.JFCTestCase |
awtSleep, awtSleep, flushAWT, getAssertExit, getHelper, isAWTRunning, pauseAWT, resetSleepTime, resumeAWT, runBare, setAssertExit, setHelper, setSleepTime, sleep |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, run, run, 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, failNotEquals, failNotSame, failSame, format |
SeahawkTestCase
public SeahawkTestCase(String name)
- Parameters:
name
- Test case name.
testHelpTab
public void testHelpTab()
testHelpButton
public void testHelpButton()
testClipboardTab
public void testClipboardTab()
testSave
public void testSave()
throws Exception
- Throws:
Exception
testPrint
public void testPrint()
testNavigationButtons
public void testNavigationButtons()
throws Exception
- Throws:
Exception
testOpenButton
public void testOpenButton()
throws Exception
- Throws:
Exception
testWSDL
public void testWSDL()
throws Exception
- Throws:
Exception
testDragnDrop
public void testDragnDrop()
throws Exception
- Checks that SeahawkTransferable works
- Throws:
Exception
testExternalLinks
public void testExternalLinks()
testCloseTab
public void testCloseTab()
testCloseOtherTabs
public void testCloseOtherTabs()
findService
public String findService(String sequenceData,
String targetMenuText,
String targetServiceLabelText)
throws Exception
- Throws:
Exception
testRunAsynchronousService
public void testRunAsynchronousService()
throws Exception
- Throws:
Exception
testRunServiceSecondariesAndWorkflow
public void testRunServiceSecondariesAndWorkflow()
throws Exception
- Throws:
Exception
fillInSecondariesAndExecute
public void fillInSecondariesAndExecute()
throws Exception
- Throws:
Exception
testHighlightOptions
public void testHighlightOptions()
throws Exception
- Throws:
Exception
testExternalBrowser
public void testExternalBrowser()
throws Exception
- Throws:
Exception
testMain
public void testMain()
throws Exception
- Throws:
Exception
testUserPreferences
public void testUserPreferences()
throws Exception
- Throws:
Exception
testDaggoo
public void testDaggoo()
throws Exception
- Throws:
Exception
testWordFileConversion
public void testWordFileConversion()
throws Exception
- Throws:
Exception
testExcelFileConversion
public void testExcelFileConversion()
throws Exception
- Throws:
Exception
testTeXFileConversion
public void testTeXFileConversion()
throws Exception
- Throws:
Exception
suite
public static junit.framework.Test suite()
- Returns:
- a test suite for all the test methods of this test case.
main
public static void main(String[] args)
throws Exception
- Runs the test suite when the class is invoked on the command line.
The name of the service can be defined through a Java property,
moby.testService
- Throws:
Exception
showMenuItem
public void showMenuItem(JMenu menu,
Vector<JMenuItem> path,
Robot robot)
throws Exception
- Throws:
Exception
findMenuItem
public Vector<JMenuItem> findMenuItem(JMenu menu,
String pattern)
findMenuItem
public boolean findMenuItem(JMenu menu,
String pattern,
Vector<JMenuItem> result)
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010