Skip to content

Commit

Permalink
failing unit test fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Nussbaumer <[email protected]>
  • Loading branch information
nuss committed Sep 3, 2019
1 parent 3343040 commit 07a2081
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.junit.Test;
import org.mockito.Mock;

import java.util.Vector;
import java.util.List;

import netP5.NetAddress;
import oscP5.OscEventListener;
Expand Down Expand Up @@ -95,7 +95,7 @@ public void resetFeedbackStrings() {
@Test
public void addOscEventListener() {
OscP5 oscP5 = mHandler.getOscP5();
Vector<OscEventListener> listeners = oscP5.listeners();
List<OscEventListener> listeners = oscP5.listeners();
assert (listeners.size() == 0);
mHandler.addOscEventListener();
assert (listeners.size() == 1);
Expand All @@ -105,7 +105,7 @@ public void addOscEventListener() {
@Test
public void removeOscEventListener() {
OscP5 oscP5 = mHandler.getOscP5();
Vector<OscEventListener> listeners = oscP5.listeners();
List<OscEventListener> listeners = oscP5.listeners();
mHandler.removeOscEventListener();
assert (listeners.size() == 0);
}
Expand Down

0 comments on commit 07a2081

Please sign in to comment.