public class IssueServiceIT extends AbstractServicesIntegrationTest
classLoader, dataSet
Constructor | Description |
---|---|
IssueServiceIT() |
Modifier and Type | Method | Description |
---|---|---|
protected String[] |
getDataSetFiles() |
must make sure, that the order is correct, so no constraints will be
violated.
|
void |
onSetUp() |
|
void |
testAddIssueAttachment() |
Test method for
IssueService.addIssueAttachment(org.itracker.model.IssueAttachment, byte[])
. |
void |
testAddIssueHistory() |
Test method for
IssueService.addIssueHistory(org.itracker.model.IssueHistory)
. |
void |
testAddIssueRelation() |
Test method for
IssueService.addIssueRelation(java.lang.Integer, java.lang.Integer, org.itracker.model.IssueRelation.Type, java.lang.Integer)
. |
void |
testAssignIssueIntegerInteger() |
Test method for
IssueService.assignIssue(java.lang.Integer, java.lang.Integer)
. |
void |
testAssignIssueIntegerIntegerInteger() |
Test method for
IssueService.assignIssue(java.lang.Integer, java.lang.Integer, java.lang.Integer)
. |
void |
testCanViewIssue() |
Test method for
IssueService.canViewIssue(java.lang.Integer, org.itracker.model.User)
. |
void |
testCreateIssue() |
Test method for
IssueService.createIssue(org.itracker.model.Issue, java.lang.Integer, java.lang.Integer, java.lang.Integer)
. |
void |
testGetAllIssueAttachmentCount() |
Test method for
IssueService.getAllIssueAttachmentCount() . |
void |
testGetAllIssueAttachmentSize() |
|
void |
testGetIssue() |
Test method for
IssueService.getIssue(java.lang.Integer) . |
void |
testGetIssueActivityInteger() |
Test method for
IssueService.getIssueActivity(java.lang.Integer)
. |
void |
testGetIssueActivityIntegerBoolean() |
Test method for
IssueService.getIssueActivity(java.lang.Integer, boolean)
. |
void |
testGetIssueAttachment() |
|
void |
testGetIssueAttachmentCount() |
|
void |
testGetIssueAttachmentData() |
|
void |
testGetIssueAttachments() |
|
void |
testGetIssueComponentIds() |
|
void |
testGetIssueComponents() |
|
void |
testGetIssueCreator() |
Test method for
IssueService.getIssueCreator(java.lang.Integer)
. |
void |
testGetIssueHistory() |
|
void |
testGetIssueOwner() |
Test method for
IssueService.getIssueOwner(java.lang.Integer)
. |
void |
testGetIssueProject() |
Test method for
IssueService.getIssueProject(java.lang.Integer)
. |
void |
testGetIssueRelation() |
|
void |
testGetIssuesByProjectIdInteger() |
Test method for
IssueService.getIssuesByProjectId(java.lang.Integer)
. |
void |
testGetIssuesByProjectIdIntegerInt() |
Test method for
IssueService.getIssuesByProjectId(java.lang.Integer, int)
. |
void |
testGetIssuesCreatedByUserInteger() |
Test method for
IssueService.getIssuesCreatedByUser(java.lang.Integer)
. |
void |
testGetIssuesCreatedByUserIntegerBoolean() |
Test method for
IssueService.getIssuesCreatedByUser(java.lang.Integer, boolean)
. |
void |
testGetIssuesOwnedByUserInteger() |
Test method for
IssueService.getIssuesOwnedByUser(java.lang.Integer)
. |
void |
testGetIssuesOwnedByUserIntegerBoolean() |
Test method for
IssueService.getIssuesOwnedByUser(java.lang.Integer, boolean)
. |
void |
testGetIssuesWatchedByUser() |
Test method for
IssueService.getIssuesWatchedByUser(java.lang.Integer)
. |
void |
testGetIssuesWithSeverity() |
Test method for
IssueService.getIssuesWithSeverity(int) . |
void |
testGetIssuesWithStatus() |
Test method for
IssueService.getIssuesWithStatus(int) . |
void |
testGetIssuesWithStatusLessThan() |
Test method for
IssueService.getIssuesWithStatusLessThan(int)
. |
void |
testGetIssueVersionIds() |
Test method for
IssueService.getIssueVersionIds(java.lang.Integer)
. |
void |
testGetIssueVersions() |
Test method for
IssueService.getIssueVersions(java.lang.Integer)
. |
void |
testGetLastIssueHistory() |
Test method for
IssueService.getLastIssueHistory(java.lang.Integer)
. |
void |
testGetLatestIssueDateByProjectId() |
|
void |
testGetNumberIssues() |
Test method for
IssueService.getNumberIssues() . |
void |
testGetOpenIssueCountByProjectId() |
|
void |
testGetResolvedIssueCountByProjectId() |
|
void |
testGetTotalIssueCountByProjectId() |
|
void |
testGetUnassignedIssues() |
Test method for
IssueService.getUnassignedIssues() . |
void |
testMoveIssue() |
Test method for
IssueService.moveIssue(org.itracker.model.Issue, java.lang.Integer, java.lang.Integer)
. |
void |
testRemoveIssueAttachment() |
Test method for
IssueService.removeIssueAttachment(java.lang.Integer)
. |
void |
testRemoveIssueHistoryEntry() |
Test method for
IssueService.removeIssueHistoryEntry(java.lang.Integer, java.lang.Integer)
. |
void |
testRemoveIssueRelation() |
Test method for
IssueService.removeIssueRelation(java.lang.Integer, java.lang.Integer)
. |
void |
testSearchIssues() |
Simple test to search for text.
|
void |
testSetIssueAttachmentData() |
|
void |
testSetIssueComponents() |
Test method for
IssueService.setIssueComponents(java.lang.Integer, java.util.HashSet, java.lang.Integer)
. |
void |
testSetIssueFields() |
TODO: please somebody do tests on populate (multiple?) custom fields on
an issue Test method for
IssueService.setIssueFields(java.lang.Integer, java.util.List)
. |
void |
testSetIssueVersions() |
Test method for
IssueService.setIssueVersions(java.lang.Integer, java.util.HashSet, java.lang.Integer)
. |
void |
testSetNotificationService() |
|
void |
testSystemUpdateIssue() |
|
void |
testUpdateIssue() |
Test method for
IssueService.updateIssue(org.itracker.model.Issue, java.lang.Integer)
. |
void |
testUpdateIssueCustomFields() |
|
void |
testUpdateIssueDescription() |
|
void |
testUpdateIssueResolution() |
|
void |
testUpdateIssueSeverity() |
closeDatabase, getDataSource, getProperty, initDatabase, initializeAllLanguages, initializeLocale, onTearDown, setDataSource
setApplicationContext
resetConfiguration
public void testGetIssue()
IssueService.getIssue(java.lang.Integer)
.public void testGetNumberIssues()
IssueService.getNumberIssues()
.public void testGetIssuesWithStatus()
IssueService.getIssuesWithStatus(int)
.public void testGetIssuesWithStatusLessThan()
IssueService.getIssuesWithStatusLessThan(int)
.public void testGetIssuesWithSeverity()
IssueService.getIssuesWithSeverity(int)
.public void testGetIssuesByProjectIdInteger()
IssueService.getIssuesByProjectId(java.lang.Integer)
.public void testGetIssuesByProjectIdIntegerInt()
IssueService.getIssuesByProjectId(java.lang.Integer, int)
.public void testGetIssuesCreatedByUserInteger()
IssueService.getIssuesCreatedByUser(java.lang.Integer)
.public void testGetIssuesCreatedByUserIntegerBoolean()
IssueService.getIssuesCreatedByUser(java.lang.Integer, boolean)
.public void testGetIssuesOwnedByUserInteger()
IssueService.getIssuesOwnedByUser(java.lang.Integer)
.public void testGetIssuesOwnedByUserIntegerBoolean()
IssueService.getIssuesOwnedByUser(java.lang.Integer, boolean)
.public void testGetIssuesWatchedByUser()
IssueService.getIssuesWatchedByUser(java.lang.Integer)
.public void testGetUnassignedIssues()
IssueService.getUnassignedIssues()
.public void testCreateIssue() throws Exception
IssueService.createIssue(org.itracker.model.Issue, java.lang.Integer, java.lang.Integer, java.lang.Integer)
.Exception
public void testUpdateIssue() throws Exception
IssueService.updateIssue(org.itracker.model.Issue, java.lang.Integer)
.Exception
public void testUpdateIssueDescription() throws Exception
Exception
public void testUpdateIssueResolution() throws Exception
Exception
public void testMoveIssue()
IssueService.moveIssue(org.itracker.model.Issue, java.lang.Integer, java.lang.Integer)
.public void testAssignIssueIntegerInteger()
IssueService.assignIssue(java.lang.Integer, java.lang.Integer)
.public void testAssignIssueIntegerIntegerInteger()
IssueService.assignIssue(java.lang.Integer, java.lang.Integer, java.lang.Integer)
.public void testSetIssueFields()
IssueService.setIssueFields(java.lang.Integer, java.util.List)
.public void testUpdateIssueCustomFields() throws Exception
Exception
public void testSetIssueComponents()
IssueService.setIssueComponents(java.lang.Integer, java.util.HashSet, java.lang.Integer)
.public void testSetIssueVersions()
IssueService.setIssueVersions(java.lang.Integer, java.util.HashSet, java.lang.Integer)
.public void testAddIssueHistory()
IssueService.addIssueHistory(org.itracker.model.IssueHistory)
.public void testAddIssueRelation()
IssueService.addIssueRelation(java.lang.Integer, java.lang.Integer, org.itracker.model.IssueRelation.Type, java.lang.Integer)
.public void testAddIssueAttachment()
IssueService.addIssueAttachment(org.itracker.model.IssueAttachment, byte[])
.public void testSetIssueAttachmentData()
public void testRemoveIssueAttachment()
IssueService.removeIssueAttachment(java.lang.Integer)
.public void testRemoveIssueHistoryEntry()
IssueService.removeIssueHistoryEntry(java.lang.Integer, java.lang.Integer)
.public void testRemoveIssueRelation()
IssueService.removeIssueRelation(java.lang.Integer, java.lang.Integer)
.public void testGetIssueProject()
IssueService.getIssueProject(java.lang.Integer)
.public void testGetIssueVersions()
IssueService.getIssueVersions(java.lang.Integer)
.public void testGetIssueVersionIds()
IssueService.getIssueVersionIds(java.lang.Integer)
.public void testGetIssueCreator()
IssueService.getIssueCreator(java.lang.Integer)
.public void testGetIssueOwner()
IssueService.getIssueOwner(java.lang.Integer)
.public void testGetIssueActivityInteger()
IssueService.getIssueActivity(java.lang.Integer)
.public void testGetIssueActivityIntegerBoolean()
IssueService.getIssueActivity(java.lang.Integer, boolean)
.public void testGetAllIssueAttachmentCount()
IssueService.getAllIssueAttachmentCount()
.public void testGetAllIssueAttachmentSize()
public void testGetLastIssueHistory()
IssueService.getLastIssueHistory(java.lang.Integer)
.public void testCanViewIssue()
IssueService.canViewIssue(java.lang.Integer, org.itracker.model.User)
.public void testSearchIssues() throws Exception
IssueService.searchIssues(org.itracker.model.IssueSearchQuery, org.itracker.model.User, java.util.Map)
.Exception
public void testGetIssueComponents()
public void testGetIssueComponentIds()
public void testGetIssueAttachments()
public void testGetIssueAttachment()
public void testGetIssueAttachmentData()
public void testGetIssueHistory()
public void testGetIssueAttachmentCount()
public void testGetOpenIssueCountByProjectId()
public void testGetResolvedIssueCountByProjectId()
public void testGetTotalIssueCountByProjectId()
public void testGetLatestIssueDateByProjectId()
public void testSetNotificationService()
public void testGetIssueRelation()
public void onSetUp() throws Exception
onSetUp
in class AbstractDependencyInjectionTest
Exception
protected String[] getDataSetFiles()
AbstractDependencyInjectionTest
getDataSetFiles
in class AbstractDependencyInjectionTest
Copyright © 2002–2019 itracker. All rights reserved.