public void testGerman() throws Exception { myRepository.setUsername("german"); myRepository.setPassword("german"); Task[] issues = myRepository.getIssues(null, 50, 0); assertEquals(3, issues.length); assertEquals(TaskState.OPEN, issues[0].getState()); assertFalse(issues[0].isClosed()); }
@Override public void setUp() throws Exception { super.setUp(); TaskSettings.getInstance().CONNECTION_TIMEOUT = 10000; myRepository = new JiraRepository(new JiraRepositoryType()); myRepository.setUrl(JIRA_5_TEST_SERVER_URL); myRepository.setUsername("buildtest"); myRepository.setPassword("buildtest"); }