|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase net.sourceforge.jwebunit.WebTestCase com.atlassian.jira.webtests.WebTestCaseWrapper com.atlassian.jira.webtests.AbstractAtlassianWebTestCase com.atlassian.jira.webtests.JIRAWebTest com.atlassian.jira.webtests.ztests.email.TestMailServer
public class TestMailServer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
JIRAWebTest.ParameterEnterer |
Fields inherited from class com.atlassian.jira.webtests.JIRAWebTest |
---|
administration, assertions, backdoor, BULK_TRANSITION_ELEMENT_NAME, environmentData, FIELD_SCOPE_GLOBAL, form, issueTableAssertions, issueTableClient, JDK_1_5_VERSION, locator, log, navigation, page, PAGE_ENTERPRISE_FIELD_CONFIGURATIONS, PAGE_ISSUE_TYPE_SCREEN_SCHEMES, PAGE_NOT_STANDARD_VIEW_FIELD_SCREEN_SCHEMES, PAGE_USER_BROWSER, parse, text |
Fields inherited from class net.sourceforge.jwebunit.WebTestCase |
---|
tester |
Constructor Summary | |
---|---|
TestMailServer(String name)
|
Method Summary | |
---|---|
void |
testNoPOPServer()
Assumptions: NO POP Mail Server set Checks that POP server NOT exists |
void |
testPOPServerConfiguration()
|
void |
testPortSetOnUpdatePopServer()
|
void |
testSMTPServerConfiguration()
|
void |
testValidatePOPForm()
Check 'Add POP / IMAP Mail Server' form validation Check cancel button |
Methods inherited from class com.atlassian.jira.webtests.WebTestCaseWrapper |
---|
assertElementNotPresent, assertElementNotPresentBy, assertElementPresent, assertElementPresentBy, assertOptionValueNotPresent, assertOptionValuePresent, assertTextInTable, assertTextNotPresent, assertTextPresent, clickCancelButton, log, log, log, logSection, raiseRuntimeException, selectMultiOption, selectMultiOptionByValue, selectOption, submit |
Methods inherited from class net.sourceforge.jwebunit.WebTestCase |
---|
assertButtonNotPresent, assertButtonPresent, assertCheckboxNotSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertFormElementEmpty, assertFormElementEquals, assertFormElementNotPresent, assertFormElementNotPresentWithLabel, assertFormElementPresent, assertFormElementPresentWithLabel, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyPresent, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresent, assertLinkPresentWithImage, assertLinkPresentWithText, assertLinkPresentWithText, assertOptionEquals, assertOptionsEqual, assertOptionsNotEqual, assertOptionValuesEqual, assertOptionValuesNotEqual, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonValue, assertTableEquals, assertTableEquals, assertTableNotPresent, assertTablePresent, assertTableRowsEqual, assertTableRowsEqual, assertTextInElement, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTitleEquals, assertTitleEqualsKey, assertWindowPresent, beginAt, checkCheckbox, checkCheckbox, clickButton, clickLink, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickLinkWithTextAfterText, dumpCookies, dumpCookies, dumpResponse, dumpTable, dumpTable, getDialog, getMessage, getTestContext, gotoFrame, gotoRootWindow, gotoWindow, reset, setFormElement, setFormElementWithLabel, setWorkingForm, submit, uncheckCheckbox, uncheckCheckbox |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String FIELD_NAME
protected static final String FIELD_FROM
protected static final String FIELD_PREFIX
protected static final String FIELD_SERVER_NAME
protected static final String FIELD_USERNAME
protected static final String FIELD_PASSWORD
protected static final String VALUE_NAME_SMTP
protected static final String VALUE_NAME_POP
protected static final String VALUE_FROM
protected static final String VALUE_PREFIX
protected static final String VALUE_SERVER_NAME
protected static final String VALUE_USERNAME
protected static final String VALUE_PASSWORD
protected static final String TITLE_SMTP_MAIL_SERVERS
protected static final String TITLE_ADD_SMTP_MAIL_SERVER
protected static final String TITLE_POP_MAIL_SERVERS
protected static final String TITLE_ADD_POP_MAIL_SERVER
protected static final String TITLE_DELETE_MAIL_SERVER
protected static final String TITLE_SUPPORT_REQUEST
protected static final String TITLE_SEND_EMAIL
protected static final String TITLE_MAIL_QUEUE
protected static final String LINK_TEXT_CONFIG_NEW_SMTP
protected static final String LINK_TEXT_CONFIG_NEW_POP
protected static final String LINK_DELETE_SMTP
protected static final String LINK_PAGE_MAIL_INCOMING
protected static final String LINK_PAGE_MAIL_OUTGOING
protected static final String LINK_PAGE_SEND_EMAIL
protected static final String LINK_PAGE_MAIL_QUEUE
protected static final String LABEL_NO_SMTP_MAIL_SERVER
protected static final String LABEL_NO_SMTP_SUPPORT_REQUEST_PART_ONE
protected static final String LABEL_NO_SMTP_SUPPORT_REQUEST_PART_TWO
protected static final String LABEL_NO_SMTP_SEND_EMAIL_PART_ONE
protected static final String LABEL_NO_SMTP_SEND_EMAIL_PART_TWO
protected static final String LABEL_NO_SMTP_MAIL_QUEUE_PART_ONE
protected static final String LABEL_NO_SMTP_MAIL_QUEUE_PART_TWO
protected static final String LABEL_NO_POP_MAIL_SERVER
protected static final String BUTTON_CANCEL
protected static final String BUTTON_ADD
protected static final String BUTTON_DELETE
protected static final String ERROR_SPECIFY_SERVER
protected static final String ERROR_SPECIFY_ADDRESS
protected static final String ERROR_SPECIFY_PREFIX
protected static final String ERROR_SPECIFY_SERVER_DETAILS
protected static final String ERROR_SPECIFY_SERVER_LOCATION
protected static final String ERROR_SPECIFY_USERNAME
protected static final String ERROR_SPECIFY_PASSWORD
Constructor Detail |
---|
public TestMailServer(String name)
Method Detail |
---|
public void testPOPServerConfiguration()
public void testSMTPServerConfiguration()
public void testValidatePOPForm()
public void testNoPOPServer()
public void testPortSetOnUpdatePopServer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |