|
||||||||||
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 com.atlassian.jira.functest.framework.FuncTestCase com.atlassian.jira.webtests.EmailFuncTestCase com.atlassian.jira.webtests.ztests.misc.TestForgotLoginDetails
public class TestForgotLoginDetails
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtests.EmailFuncTestCase |
---|
DEAFULT_FROM_ADDRESS, DEFAULT_SUBJECT_PREFIX, mailService, newline |
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestForgotLoginDetails()
|
Method Summary | |
---|---|
protected void |
setUpTest()
Setup for an actual test |
void |
testBadInputOnResetPasswordAction()
|
void |
testDefaultOptionIsForgotPassword()
|
void |
testEmailGeneratedAndResetWhileLoggedIn()
|
void |
testEmailGeneratedAndResetWhileLoggedOut()
|
void |
testForgotPasswordValidatesNonExistingUserNamesAndEmails()
|
void |
testResetPasswordEmailIsSentToUserNamesWithSpaces()
|
void |
testShouldBlockResettingLoginDetailsIfExternalUserManagementIsOn()
|
void |
testShouldFailWhenTheActionIsInvokedDirectlyIfExternalUserManagementIsOn()
|
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, shouldSkipSetup, tearDown, xpath |
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 |
Constructor Detail |
---|
public TestForgotLoginDetails()
Method Detail |
---|
protected void setUpTest()
FuncTestCase
setUpTest
in class EmailFuncTestCase
public void testShouldBlockResettingLoginDetailsIfExternalUserManagementIsOn()
public void testShouldFailWhenTheActionIsInvokedDirectlyIfExternalUserManagementIsOn()
public void testDefaultOptionIsForgotPassword() throws Exception
Exception
public void testForgotPasswordValidatesNonExistingUserNamesAndEmails()
public void testEmailGeneratedAndResetWhileLoggedOut() throws InterruptedException, IOException, javax.mail.MessagingException
InterruptedException
IOException
javax.mail.MessagingException
public void testEmailGeneratedAndResetWhileLoggedIn() throws InterruptedException, IOException, javax.mail.MessagingException
InterruptedException
IOException
javax.mail.MessagingException
public void testResetPasswordEmailIsSentToUserNamesWithSpaces() throws javax.mail.MessagingException, IOException, InterruptedException
javax.mail.MessagingException
IOException
InterruptedException
public void testBadInputOnResetPasswordAction() throws IOException, javax.mail.MessagingException, InterruptedException
IOException
javax.mail.MessagingException
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |