org.nuiton.jredmine.rest
Class RedmineRestClientTest

java.lang.Object
  extended by org.nuiton.jredmine.rest.RedmineRestClientTest
All Implemented Interfaces:
RedmineTestContract

public class RedmineRestClientTest
extends Object
implements RedmineTestContract

Since:
1.0.0
Author:
chemit

Field Summary
 
Fields inherited from interface org.nuiton.jredmine.RedmineTestContract
ISSUE_ID, PROJECT_NAME, VERSION_NAME
 
Constructor Summary
RedmineRestClientTest()
           
 
Method Summary
 void addAttachment()
           
 void addIssueTime()
           
 void addNews()
           
 void addVersion()
           
protected  void doRequest(String requestId, Object... params)
           
 void getAttachments()
           
 void getClosedIssues()
           
 void getIssueCategories()
           
 void getIssuePriorities()
           
 void getIssueStatuses()
           
 void getIssueTimeEntries()
           
 void getNews()
           
 void getOpenedIssues()
           
 void getProject()
           
 void getProjectIssues()
           
 void getProjectMembers()
           
 void getProjects()
           
 void getTrackers()
           
 void getUserProjects()
           
 void getVersion()
           
 void getVersionIssues()
           
 void getVersions()
           
 void isClose()
           
 void isOpen()
           
 void nextVersion()
           
 void setUp()
           
static void setUpClass()
           
 void tearDown()
           
static void tearDownClass()
           
 void updateVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedmineRestClientTest

public RedmineRestClientTest()
Method Detail

setUpClass

public static void setUpClass()
                       throws Exception
Throws:
Exception

tearDownClass

public static void tearDownClass()
                          throws Exception
Throws:
Exception

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

isOpen

public void isOpen()
            throws Exception
Throws:
Exception

isClose

public void isClose()
             throws Exception
Throws:
Exception

getProjects

public void getProjects()
                 throws Exception
Specified by:
getProjects in interface RedmineTestContract
Throws:
Exception

getIssuePriorities

public void getIssuePriorities()
                        throws Exception
Specified by:
getIssuePriorities in interface RedmineTestContract
Throws:
Exception

getIssueStatuses

public void getIssueStatuses()
                      throws Exception
Specified by:
getIssueStatuses in interface RedmineTestContract
Throws:
Exception

getProject

public void getProject()
                throws Exception
Specified by:
getProject in interface RedmineTestContract
Throws:
Exception

getIssueCategories

public void getIssueCategories()
                        throws Exception
Specified by:
getIssueCategories in interface RedmineTestContract
Throws:
Exception

getTrackers

public void getTrackers()
                 throws Exception
Specified by:
getTrackers in interface RedmineTestContract
Throws:
Exception

getNews

public void getNews()
             throws Exception
Specified by:
getNews in interface RedmineTestContract
Throws:
Exception

getUserProjects

public void getUserProjects()
                     throws Exception
Specified by:
getUserProjects in interface RedmineTestContract
Throws:
Exception

getProjectMembers

public void getProjectMembers()
                       throws Exception
Specified by:
getProjectMembers in interface RedmineTestContract
Throws:
Exception

getProjectIssues

public void getProjectIssues()
                      throws Exception
Specified by:
getProjectIssues in interface RedmineTestContract
Throws:
Exception

getVersions

public void getVersions()
                 throws Exception
Specified by:
getVersions in interface RedmineTestContract
Throws:
Exception

getVersion

public void getVersion()
                throws Exception
Specified by:
getVersion in interface RedmineTestContract
Throws:
Exception

getVersionIssues

public void getVersionIssues()
                      throws Exception
Specified by:
getVersionIssues in interface RedmineTestContract
Throws:
Exception

getOpenedIssues

public void getOpenedIssues()
                     throws Exception
Specified by:
getOpenedIssues in interface RedmineTestContract
Throws:
Exception

getClosedIssues

public void getClosedIssues()
                     throws Exception
Specified by:
getClosedIssues in interface RedmineTestContract
Throws:
Exception

getIssueTimeEntries

public void getIssueTimeEntries()
                         throws Exception
Specified by:
getIssueTimeEntries in interface RedmineTestContract
Throws:
Exception

getAttachments

public void getAttachments()
                    throws Exception
Specified by:
getAttachments in interface RedmineTestContract
Throws:
Exception

addVersion

public void addVersion()
                throws Exception
Specified by:
addVersion in interface RedmineTestContract
Throws:
Exception

addAttachment

public void addAttachment()
                   throws Exception
Specified by:
addAttachment in interface RedmineTestContract
Throws:
Exception

addNews

public void addNews()
             throws Exception
Specified by:
addNews in interface RedmineTestContract
Throws:
Exception

updateVersion

public void updateVersion()
                   throws Exception
Specified by:
updateVersion in interface RedmineTestContract
Throws:
Exception

nextVersion

public void nextVersion()
                 throws Exception
Specified by:
nextVersion in interface RedmineTestContract
Throws:
Exception

addIssueTime

public void addIssueTime()
                  throws Exception
Specified by:
addIssueTime in interface RedmineTestContract
Throws:
Exception

doRequest

protected void doRequest(String requestId,
                         Object... params)
                  throws IOException,
                         org.nuiton.io.rest.RestException
Throws:
IOException
org.nuiton.io.rest.RestException


Copyright © 2009-2011 CodeLutin. All Rights Reserved.