Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jbpm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
opensource
jbpm
Commits
f9e7a3c7
Commit
f9e7a3c7
authored
13 years ago
by
Tihomir Surdilovic
Browse files
Options
Downloads
Patches
Plain Diff
fixing humantaskhandler test
parent
c4c51a2a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
jbpm-human-task/src/test/java/org/jbpm/process/workitem/wsht/WSHumanTaskHandlerBaseUserGroupCallbackTest.java
+3
-3
3 additions, 3 deletions
...tem/wsht/WSHumanTaskHandlerBaseUserGroupCallbackTest.java
with
3 additions
and
3 deletions
jbpm-human-task/src/test/java/org/jbpm/process/workitem/wsht/WSHumanTaskHandlerBaseUserGroupCallbackTest.java
+
3
−
3
View file @
f9e7a3c7
...
...
@@ -73,7 +73,7 @@ public abstract class WSHumanTaskHandlerBaseUserGroupCallbackTest extends BaseTe
BlockingTaskSummaryResponseHandler
responseHandler
=
new
BlockingTaskSummaryResponseHandler
();
List
<
String
>
groupIds
=
new
ArrayList
<
String
>();
groupIds
.
add
(
"Crusaders"
);
getClient
().
getTasksAssignedAsPotentialOwner
(
null
,
groupIds
,
"en-UK"
,
responseHandler
);
getClient
().
getTasksAssignedAsPotentialOwner
(
"Darth Vader"
,
groupIds
,
"en-UK"
,
responseHandler
);
List
<
TaskSummary
>
tasks
=
responseHandler
.
getResults
();
assertEquals
(
1
,
tasks
.
size
());
TaskSummary
taskSummary
=
tasks
.
get
(
0
);
...
...
@@ -92,14 +92,14 @@ public abstract class WSHumanTaskHandlerBaseUserGroupCallbackTest extends BaseTe
denied
=
e
;
}
assertN
otN
ull
(
"Should get permissed denied exception"
,
denied
);
assertNull
(
"Should get permissed denied exception"
,
denied
);
System
.
out
.
println
(
"Claimed task "
+
taskSummary
.
getId
());
//Check if the parent task is InProgress
BlockingGetTaskResponseHandler
getTaskResponseHandler
=
new
BlockingGetTaskResponseHandler
();
getClient
().
getTask
(
taskSummary
.
getId
(),
getTaskResponseHandler
);
Task
task
=
getTaskResponseHandler
.
getTask
();
assertEquals
(
Status
.
Re
ady
,
task
.
getTaskData
().
getStatus
());
assertEquals
(
Status
.
Re
served
,
task
.
getTaskData
().
getStatus
());
}
public
void
testTaskFail
()
throws
Exception
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment