File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
rxjava-contrib/rxjava-swing/src/test/java/rx/swing/sources Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -95,12 +95,10 @@ public void call() {
95
95
.subscribe (action , error , complete );
96
96
97
97
InOrder inOrder = inOrder (action );
98
+ fireKeyEvent (keyEvent (1 , KeyEvent .KEY_PRESSED ));
99
+ // we receive an empty event at the beginning due to behavior of scan with an initial value
98
100
inOrder .verify (action , times (1 )).call (
99
101
Collections .<Integer > emptySet ());
100
- verify (error , never ()).call (Matchers .<Throwable > any ());
101
- verify (complete , never ()).call ();
102
-
103
- fireKeyEvent (keyEvent (1 , KeyEvent .KEY_PRESSED ));
104
102
inOrder .verify (action , times (1 )).call (
105
103
new HashSet <Integer >(asList (1 )));
106
104
verify (error , never ()).call (Matchers .<Throwable > any ());
You can’t perform that action at this time.
0 commit comments