net.sourceforge.jwebunit.tests
Class TableAssertionsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sourceforge.jwebunit.junit.WebTestCase
              extended by net.sourceforge.jwebunit.tests.JWebUnitAPITestCase
                  extended by net.sourceforge.jwebunit.tests.TableAssertionsTest
All Implemented Interfaces:
junit.framework.Test

public class TableAssertionsTest
extends JWebUnitAPITestCase


Field Summary
 
Fields inherited from class net.sourceforge.jwebunit.tests.JWebUnitAPITestCase
HOST_PATH, JETTY_PORT, JETTY_URL, NOARGS
 
Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase
customTester, tester
 
Constructor Summary
TableAssertionsTest()
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void testAssertMatchArrayInTable()
           
 void testAssertMatchInTable()
           
 void testAssertNoMatchArrayInTable()
           
 void testAssertNoMatchInTable()
           
 void testAssertTableEquals()
           
 void testAssertTableEqualsExtraColumn()
           
 void testAssertTableEqualsExtraRow()
           
 void testAssertTableEqualsInvalidColumnText()
           
 void testAssertTableEqualsMissingText()
           
 void testAssertTableMatch()
           
 void testAssertTableMatchExtraColumn()
           
 void testAssertTableMatchExtraRow()
           
 void testAssertTableMatchInvalidColumnText()
           
 void testAssertTableMatchMissingText()
           
 void testAssertTableNotPresent()
           
 void testAssertTablePresent()
           
 void testAssertTableRowCountEquals()
           
 void testAssertTableRowsEquals()
           
 void testAssertTableRowsEqualsTooManyExpected()
           
 void testAssertTableRowsMatch()
           
 void testAssertTableRowsMatchTooManyExpected()
           
 void testAssertTextArrayInTable()
           
 void testAssertTextArrayNotInTable()
           
 void testAssertTextInTable()
           
 void testAssertTextNotInTable()
           
 void testTableWithSpaces()
           
 void testTableWithSpacesMatch()
           
 
Methods inherited from class net.sourceforge.jwebunit.tests.JWebUnitAPITestCase
assertException, assertFail, assertFail, assertPass, assertPass, assertPassFail, assertPassFail
 
Methods inherited from class net.sourceforge.jwebunit.junit.WebTestCase
assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCommentNotPresent, assertCommentPresent, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementNotPresentByXPath, assertElementPresent, assertElementPresentByXPath, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHeaderEquals, assertHeaderMatches, assertHeaderNotPresent, assertHeaderPresent, assertHiddenFieldPresent, assertImagePresent, assertImagePresentPartial, assertImageValid, assertImageValidAndStore, assertKeyInTable, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeysInTable, assertKeysInTable, assertLabeledFieldEquals, assertLabelMatches, assertLabelPresent, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresent, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithImage, assertLinkPresentWithText, assertLinkPresentWithText, assertMatch, assertMatch, assertMatch, assertMatchInElement, assertMatchInTable, assertMatchInTable, assertNoMatch, assertNoMatchInElement, assertNoMatchInTable, assertNoMatchInTable, assertNotMatch, assertNotMatch, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertResetButtonNotPresent, assertResetButtonNotPresent, assertResetButtonPresent, assertResetButtonPresent, assertResponseCode, assertResponseCodeBetween, assertSelectedOptionEquals, assertSelectedOptionEquals, assertSelectedOptionMatches, assertSelectedOptionMatches, assertSelectedOptionsEqual, assertSelectedOptionsEqual, assertSelectedOptionsMatch, assertSelectedOptionsMatch, assertSelectedOptionValueEquals, assertSelectedOptionValueEquals, assertSelectedOptionValuesEqual, assertSelectedOptionValuesEqual, assertSelectOptionNotPresent, assertSelectOptionNotPresent, assertSelectOptionPresent, assertSelectOptionPresent, assertSelectOptionsEqual, assertSelectOptionsEqual, assertSelectOptionsNotEqual, assertSelectOptionsNotEqual, assertSelectOptionsPresent, assertSelectOptionsPresent, assertSelectOptionValueNotPresent, assertSelectOptionValueNotPresent, assertSelectOptionValuePresent, assertSelectOptionValuePresent, assertSelectOptionValuesEqual, assertSelectOptionValuesEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesPresent, assertSelectOptionValuesPresent, assertSubmitButtonNotPresent, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertTableEquals, assertTableEquals, assertTableMatch, assertTableMatch, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTableRowsEqual, assertTableRowsEqual, assertTableRowsMatch, assertTableRowsMatch, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTextNotPresent, assertTextPresent, assertTitleEquals, assertTitleEqualsKey, assertTitleEqualsKey, assertTitleMatch, assertTitleNotSame, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getAllHeaders, getComments, getDialog, getElementAttributByXPath, getElementAttributeByXPath, getElementById, getElementByXPath, getElementsByXPath, getElementTextByXPath, getFieldsForLabel, getFormElementValue, getHeader, getImage, getLabeledFieldValue, getMessage, getMessage, getPageSource, getServerResponse, getServeurResponse, getTable, getTestContext, getTester, getTestingEngine, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, reset, runBare, saveAs, selectOption, selectOption, selectOptionByValue, selectOptionByValue, selectOptions, selectOptions, selectOptionsByValues, selectOptionsByValues, setBaseUrl, setBaseUrl, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setHiddenField, setIgnoreFailingStatusCodes, setLabeledFormElementField, setScriptingEnabled, setTestContext, setTestingEngineKey, setTextField, setTimeout, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, tearDown, uncheckCheckbox, uncheckCheckbox
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableAssertionsTest

public TableAssertionsTest()
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class JWebUnitAPITestCase
Throws:
java.lang.Exception

testAssertTablePresent

public void testAssertTablePresent()
                            throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableNotPresent

public void testAssertTableNotPresent()
                               throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTextInTable

public void testAssertTextInTable()
                           throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTextNotInTable

public void testAssertTextNotInTable()
                              throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTextArrayInTable

public void testAssertTextArrayInTable()
                                throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTextArrayNotInTable

public void testAssertTextArrayNotInTable()
                                   throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertMatchInTable

public void testAssertMatchInTable()
                            throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertNoMatchInTable

public void testAssertNoMatchInTable()
                              throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertMatchArrayInTable

public void testAssertMatchArrayInTable()
                                 throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertNoMatchArrayInTable

public void testAssertNoMatchArrayInTable()
                                   throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableEquals

public void testAssertTableEquals()
                           throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableRowCountEquals

public void testAssertTableRowCountEquals()
                                   throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableEqualsExtraColumn

public void testAssertTableEqualsExtraColumn()
                                      throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableEqualsExtraRow

public void testAssertTableEqualsExtraRow()
                                   throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableEqualsInvalidColumnText

public void testAssertTableEqualsInvalidColumnText()
                                            throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableEqualsMissingText

public void testAssertTableEqualsMissingText()
                                      throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableRowsEquals

public void testAssertTableRowsEquals()
                               throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableRowsEqualsTooManyExpected

public void testAssertTableRowsEqualsTooManyExpected()
                                              throws java.lang.Throwable
Throws:
java.lang.Throwable

testTableWithSpaces

public void testTableWithSpaces()
                         throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableMatch

public void testAssertTableMatch()
                          throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableMatchExtraColumn

public void testAssertTableMatchExtraColumn()
                                     throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableMatchExtraRow

public void testAssertTableMatchExtraRow()
                                  throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableMatchInvalidColumnText

public void testAssertTableMatchInvalidColumnText()
                                           throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableMatchMissingText

public void testAssertTableMatchMissingText()
                                     throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableRowsMatch

public void testAssertTableRowsMatch()
                              throws java.lang.Throwable
Throws:
java.lang.Throwable

testAssertTableRowsMatchTooManyExpected

public void testAssertTableRowsMatchTooManyExpected()
                                             throws java.lang.Throwable
Throws:
java.lang.Throwable

testTableWithSpacesMatch

public void testTableWithSpacesMatch()
                              throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2002-2011 SourceForge. All Rights Reserved.