|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.dailyprojectdata.test.DailyProjectDataTestHelper
org.hackystat.dailyprojectdata.resource.codeissue.TestCodeIssueRestApi
public class TestCodeIssueRestApi
Tests the CodeIssue portion of the DailyProjectData REST API.
Constructor Summary | |
---|---|
TestCodeIssueRestApi()
|
Method Summary | |
---|---|
void |
setUp()
Create data and send to server if we haven't done it already. |
void |
testAnyQuery()
Test that GET {host}/codeissue/{user}/default/{starttime} works properly with no type and tool parameters. |
void |
testToolQuery()
Tests DPD query with only tool. |
void |
testToolTypeQuery()
Tests DPD query with tool and type. |
void |
testTypeQuery()
Tests DPD query where type is specified. |
Methods inherited from class org.hackystat.dailyprojectdata.test.DailyProjectDataTestHelper |
---|
getDailyProjectDataHostName, getDpdServer, getSensorBaseHostName, setupServer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestCodeIssueRestApi()
Method Detail |
---|
public void setUp() throws java.lang.Exception
java.lang.Exception
- If problems occur.public void testAnyQuery() throws java.lang.Exception
java.lang.Exception
- If problems occur.public void testTypeQuery() throws DailyProjectDataClientException
DailyProjectDataClientException
- Thrown if an error occurs.public void testToolTypeQuery() throws DailyProjectDataClientException
DailyProjectDataClientException
- Thrown if an error occurs.public void testToolQuery() throws DailyProjectDataClientException
DailyProjectDataClientException
- Thrown if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |