|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sourceforge.jwebunit.junit.WebTestCase
org.melati.JettyWebTestCase
org.melati.admin.test.AdminJettyWebTest
public class AdminJettyWebTest
| Field Summary |
|---|
| Fields inherited from class org.melati.JettyWebTestCase |
|---|
actualPort, contextName, referenceOutputDir, webAppDirName |
| Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
|---|
customTester, tester |
| Constructor Summary | |
|---|---|
AdminJettyWebTest()
|
|
AdminJettyWebTest(String name)
|
|
| Method Summary | |
|---|---|
void |
brokenestAdminEditField()
|
String |
getFormFieldValue(String fieldName)
|
String |
getFormTextareaValue(String fieldName)
|
static void |
main(String[] args)
If you don't know by now. |
protected void |
setUp()
There appears to be a problem with gargoyle javascript such that we cannot begin at the Main page as this throws NullPointerException, The work around is to begin at the server top and then got the Main page. |
void |
testAdminBottom()
|
void |
testAdminDSD()
|
void |
testAdminEdit()
|
void |
testAdminEditAdministrator()
Test that login is required. |
void |
testAdminEditFieldNoJS()
|
void |
testAdminEditHeader()
|
void |
testAdminMain()
|
void |
testAdminPopup()
|
void |
testAdminPrimarySelect()
|
void |
testAdminRecord()
|
void |
testAdminSelection()
|
void |
testAdminSelectionCSV()
|
void |
testAdminSelectionWindow()
|
void |
testAdminSelectionWindowPrimarySelect()
|
void |
testAdminSelectionWindowSelection()
|
void |
testAdminSpecialised()
Test that an AdminSpecialised object has its special templet included in edit. |
void |
testAdminSpecialisedHandler()
Test that an AdminSpecialised object invokes its own handler. |
void |
testAdminTableTree()
|
void |
testAdminTop()
|
void |
testAdminTopWithTable()
|
void |
testAdminTopWithTableAndTroid()
|
void |
testAdminTree()
|
void |
testAdminTreeNoScript()
|
void |
testBadUrl()
|
void |
testCreateTableStory()
User story. |
void |
testDescendingOrder()
Getting the coverage is proof enough. |
void |
testEverythingIsProtected()
Test that we are challenged to get into the everything db. |
void |
testHttpXmlRequestProxy()
|
void |
testLoginWithContinuation()
Move to login |
void |
testNoPrimarySelect()
Test that if there is no primary select column on the table no primary criteria are displayed. |
void |
testProxy()
|
void |
testProxyNotAllowed()
|
void |
testSearchAndGoto()
Search for a set of records. |
void |
testSelectionPaging()
Can we get to page three and back. |
void |
testSetupStory()
Test setting the defaults, with javascript enabled |
void |
testSetupStoryNoJS()
Test setting the defaults, with javascript disabled |
void |
testUpload()
|
| Methods inherited from class org.melati.JettyWebTestCase |
|---|
assertPageEqual, beginAt, contextUrl, getActualPort, getContextName, getWebAppDirName, gotoPage, setContextName, setWebAppDirName, startServer, tearDown, testIndex |
| 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, 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, getFormElementValue, getHeader, getImage, getMessage, getMessage, getPageSource, getServerResponse, getServeurResponse, getTable, getTestContext, getTester, getTestingEngine, getTestingEngineKey, gotoFrame, 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, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AdminJettyWebTest()
public AdminJettyWebTest(String name)
name - | Method Detail |
|---|
public static void main(String[] args)
throws Exception
args -
Exception
protected void setUp()
throws Exception
setUp in class JettyWebTestCaseExceptionJettyWebTestCase.setUp()public void testBadUrl()
public void testAdminMain()
public void testAdminTop()
public void testAdminTopWithTable()
public void testAdminTopWithTableAndTroid()
public void testUpload()
public void testProxyNotAllowed()
public void testProxy()
public void testHttpXmlRequestProxy()
public void testAdminSpecialised()
public void testAdminSpecialisedHandler()
public void testNoPrimarySelect()
public void testDescendingOrder()
public void testAdminBottom()
public void testAdminRecord()
public void testAdminPrimarySelect()
public void testAdminSelection()
public void testSelectionPaging()
public void testAdminEditHeader()
public void testAdminEdit()
public void testAdminEditFieldNoJS()
public void brokenestAdminEditField()
public String getFormFieldValue(String fieldName)
fieldName -
public String getFormTextareaValue(String fieldName)
fieldName -
public void testAdminEditAdministrator()
public void testEverythingIsProtected()
public void testAdminTree()
public void testAdminTreeNoScript()
public void testAdminTableTree()
public void testAdminSelectionWindow()
public void testAdminSelectionWindowPrimarySelect()
public void testAdminSelectionWindowSelection()
public void testAdminSelectionCSV()
public void testAdminPopup()
public void testAdminDSD()
public void testLoginWithContinuation()
public void testSetupStory()
public void testSetupStoryNoJS()
public void testSearchAndGoto()
public void testCreateTableStory()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||