Vojtech Szocs has posted comments on this change.

Change subject: webadmin: fluent UiAction
......................................................................


Patch Set 25:

(1 comment)

https://gerrit.ovirt.org/#/c/36848/25/frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/action/UiVdcActionTest.java
File 
frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/action/UiVdcActionTest.java:

Line 97:     }
Line 98: 
Line 99:     private List<IFrontendActionAsyncCallback> verfifyRunAction(int 
exepectedNumOfRunActionExecutions,
Line 100:             boolean showErrorDialog) {
Line 101:         verify(frontend, 
times(exepectedNumOfRunActionExecutions)).runAction(eq(ACTION_TYPE),
> That's the error I get when running the test without the eq-
As Alona wrote above, the actual reason is:

 When using matchers, all arguments have to be provided by matchers.
Line 102:                 any(VdcActionParametersBase.class),
Line 103:                 callbackCaptor.capture(),
Line 104:                 eq(showErrorDialog));
Line 105:         List<IFrontendActionAsyncCallback> callbacks = 
callbackCaptor.getAllValues();


-- 
To view, visit https://gerrit.ovirt.org/36848
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I262282d00bbb16a65f36a2463d3ffe8dbf6594c6
Gerrit-PatchSet: 25
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Alexander Wels <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Greg Sheremeta <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: Yevgeny Zaspitsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to