use of org.jbpm.process.workitem.WorkDefinitionImpl in project jbpm-work-items by kiegroup.
the class GoogleCalendarWorkitemIntegrationTest method testWorkitemValidity.
@Test
public void testWorkitemValidity() {
String repoPath = "file://" + System.getProperty("builddir") + "/" + System.getProperty("artifactId") + "-" + System.getProperty("version") + "/repository";
Map<String, WorkDefinitionImpl> repoResults = new WorkItemRepository().getWorkDefinitions(repoPath, null, System.getProperty("artifactId"));
assertNotNull(repoResults);
assertEquals(4, repoResults.size());
assertTrue(repoResults.containsKey("GoogleAddCalendar"));
assertTrue(repoResults.containsKey("GoogleAddEvent"));
assertTrue(repoResults.containsKey("GoogleGetCalendars"));
assertTrue(repoResults.containsKey("GoogleGetEvents"));
}
use of org.jbpm.process.workitem.WorkDefinitionImpl in project jbpm-work-items by kiegroup.
the class GoogleDriveWorkitemIntegrationTest method testWorkitemValidity.
@Test
public void testWorkitemValidity() {
String repoPath = "file://" + System.getProperty("builddir") + "/" + System.getProperty("artifactId") + "-" + System.getProperty("version") + "/repository";
Map<String, WorkDefinitionImpl> repoResults = new WorkItemRepository().getWorkDefinitions(repoPath, null, System.getProperty("artifactId"));
assertNotNull(repoResults);
assertEquals(2, repoResults.size());
assertTrue(repoResults.containsKey("GoogleDownloadFromDrive"));
assertTrue(repoResults.containsKey("GoogleUploadToDrive"));
}
use of org.jbpm.process.workitem.WorkDefinitionImpl in project jbpm-work-items by kiegroup.
the class GoogleMailWorkitemIntegrationTest method testWorkitemValidity.
@Test
public void testWorkitemValidity() {
String repoPath = "file://" + System.getProperty("builddir") + "/" + System.getProperty("artifactId") + "-" + System.getProperty("version") + "/repository";
Map<String, WorkDefinitionImpl> repoResults = new WorkItemRepository().getWorkDefinitions(repoPath, null, System.getProperty("artifactId"));
assertNotNull(repoResults);
assertEquals(1, repoResults.size());
assertTrue(repoResults.containsKey("GoogleSendMail"));
}
use of org.jbpm.process.workitem.WorkDefinitionImpl in project jbpm-work-items by kiegroup.
the class GoogleTasksWorkitemIntegrationTest method testWorkitemValidity.
@Test
public void testWorkitemValidity() {
String repoPath = "file://" + System.getProperty("builddir") + "/" + System.getProperty("artifactId") + "-" + System.getProperty("version") + "/repository";
Map<String, WorkDefinitionImpl> repoResults = new WorkItemRepository().getWorkDefinitions(repoPath, null, System.getProperty("artifactId"));
assertNotNull(repoResults);
assertEquals(2, repoResults.size());
assertTrue(repoResults.containsKey("GoogleAddTask"));
assertTrue(repoResults.containsKey("GoogleGetTasks"));
}
use of org.jbpm.process.workitem.WorkDefinitionImpl in project jbpm-work-items by kiegroup.
the class JabberWorkitemIntegrationTest method testWorkitemValidity.
@Test
public void testWorkitemValidity() {
String repoPath = "file://" + System.getProperty("builddir") + "/" + System.getProperty("artifactId") + "-" + System.getProperty("version") + "/repository";
Map<String, WorkDefinitionImpl> repoResults = new WorkItemRepository().getWorkDefinitions(repoPath, null, System.getProperty("artifactId"));
assertNotNull(repoResults);
assertEquals(1, repoResults.size());
assertTrue(repoResults.containsKey("Jabber"));
}
Aggregations