use of org.eclipse.mylyn.tasks.core.TaskRepository in project linuxtools by eclipse.
the class TestOSIORestClient method setUp.
@SuppressWarnings("deprecation")
@Before
public void setUp() {
connector = new OSIORestConnector();
repository = new TaskRepository(connector.getConnectorKind(), "http://openshift.io/api");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_ID, "user");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_TOKEN, "xxxxxxTokenxxxxxx");
requestProvider = new OSIOTestRestRequestProvider();
requestProvider.addGetRequest("/user", new Identity("user", "user", new Date(2017, 01, 01), new Date(2017, 01, 01), "User", "//image/user", "user", Boolean.TRUE, "user@user.org", "userCo", "", "//users/user", "TestUser"));
}
use of org.eclipse.mylyn.tasks.core.TaskRepository in project linuxtools by eclipse.
the class TestOSIORestGetAuthUser method setUp.
@Before
public void setUp() {
connector = new TestOSIORestConnector();
repository = new TaskRepository(connector.getConnectorKind(), "http://openshift.io/api");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_ID, "user");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_TOKEN, "xxxxxxTokenxxxxxx");
requestProvider = new OSIOTestRestRequestProvider();
}
use of org.eclipse.mylyn.tasks.core.TaskRepository in project linuxtools by eclipse.
the class TestOSIORestGetTaskAssignee method setUp.
@Before
public void setUp() {
connector = new TestOSIORestConnector();
repository = new TaskRepository(connector.getConnectorKind(), "http://openshift.io/api");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_ID, "user");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_TOKEN, "xxxxxxTokenxxxxxx");
requestProvider = new OSIOTestRestRequestProvider();
}
use of org.eclipse.mylyn.tasks.core.TaskRepository in project linuxtools by eclipse.
the class TestOSIORestGetTaskCreator method setUp.
@Before
public void setUp() {
connector = new TestOSIORestConnector();
repository = new TaskRepository(connector.getConnectorKind(), "http://openshift.io/api");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_ID, "user");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_TOKEN, "xxxxxxTokenxxxxxx");
requestProvider = new OSIOTestRestRequestProvider();
}
use of org.eclipse.mylyn.tasks.core.TaskRepository in project linuxtools by eclipse.
the class TestOSIORestGetWorkItem method setUp.
@Before
public void setUp() {
connector = new TestOSIORestConnector();
repository = new TaskRepository(connector.getConnectorKind(), "http://openshift.io/api");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_ID, "user");
repository.setProperty(IOSIORestConstants.REPOSITORY_AUTH_TOKEN, "xxxxxxTokenxxxxxx");
requestProvider = new OSIOTestRestRequestProvider();
}
Aggregations