Community
Participate
Working Groups
assertFalse(issue.isWatched());
}
public void testBasicAuth() throws Exception {
basicAuth(JiraTestConstants.JIRA_39_BASIC_AUTH_URL);
private void basicAuth(String url) throws Exception {
Credentials credentials = TestUtil.readCredentials(PrivilegeLevel.GUEST);
Credentials httpCredentials = TestUtil.readCredentials(PrivilegeLevel.USER);
client = new JiraRpcClient(url, false, credentials.username, credentials.password, Proxy.NO_PROXY, httpCredentials.username, httpCredentials.password);
assertNotNull(client.getServerInfo());
public static final String JIRA_39_URL = System.getProperty("jira.server.url",
"http://mylyn.eclipse.org/jira-enterprise-3.9");
public static final String JIRA_39_BASIC_AUTH_URL = JIRA_39_URL + "-basic-auth";