|
||||||||||
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.email.TestMentions
public class TestMentions
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.EmailFuncTestCase |
---|
EmailFuncTestCase.MailBox |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtests.EmailFuncTestCase |
---|
DEFAULT_FROM_ADDRESS, DEFAULT_SUBJECT_PREFIX, HTML_FORMAT_REGEX, mailService, newline |
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestMentions()
|
Method Summary | |
---|---|
protected void |
setUpTest()
Setup for an actual test |
void |
testEmailUserLinkWhenMentionedInIssueComment()
JRADEV-8147 When user is mentioned in issue comment, notification email contains relative url |
void |
testEmailUserOnceWhenWatchingAndMentioned()
JRADEV-8084 User is emailed twice when they are watching and mentioned |
void |
testNoMentionsSentForUserWithoutBrowseIssuePermission()
|
void |
testNoMentionsSentForUserWithoutBrowseUsersPermission()
|
void |
testSendHtmlMention()
|
void |
testSendMentionForDescription()
|
void |
testSendMentions()
|
void |
testSendMentionsOnlySendsOneEmail()
|
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builtInCustomFieldKey, createRestClient, createRestClient, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, shouldSkipSetup, tearDown, waitAndReloadBulkOperationProgressPage, waitAndReloadBulkOperationProgressPage, 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 TestMentions()
Method Detail |
---|
protected void setUpTest()
FuncTestCase
setUpTest
in class EmailFuncTestCase
public void testSendMentions() throws InterruptedException, javax.mail.MessagingException, IOException, com.icegreen.greenmail.store.FolderException
InterruptedException
javax.mail.MessagingException
IOException
com.icegreen.greenmail.store.FolderException
public void testSendMentionsOnlySendsOneEmail() throws InterruptedException, javax.mail.MessagingException, IOException, com.icegreen.greenmail.store.FolderException
InterruptedException
javax.mail.MessagingException
IOException
com.icegreen.greenmail.store.FolderException
public void testNoMentionsSentForUserWithoutBrowseUsersPermission() throws InterruptedException, javax.mail.MessagingException
InterruptedException
javax.mail.MessagingException
public void testNoMentionsSentForUserWithoutBrowseIssuePermission() throws InterruptedException, javax.mail.MessagingException, IOException
InterruptedException
javax.mail.MessagingException
IOException
public void testSendHtmlMention() throws InterruptedException, javax.mail.MessagingException, IOException
InterruptedException
javax.mail.MessagingException
IOException
public void testSendMentionForDescription() throws InterruptedException, javax.mail.MessagingException, IOException, com.icegreen.greenmail.store.FolderException
InterruptedException
javax.mail.MessagingException
IOException
com.icegreen.greenmail.store.FolderException
public void testEmailUserLinkWhenMentionedInIssueComment() throws Exception
Exception
public void testEmailUserOnceWhenWatchingAndMentioned() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |