aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2010-05-03 15:35:35 +0000
committerYana Stamcheva <yana@jitsi.org>2010-05-03 15:35:35 +0000
commit7393be5cfb0dc60997bf654af16acc36486b6129 (patch)
tree2bb884705ebef32bdeb2f4f50aebbafd07de91cd /test
parenta1f74ad638d9d4eda31cff0296b525d8ded15ee9 (diff)
downloadjitsi-7393be5cfb0dc60997bf654af16acc36486b6129.zip
jitsi-7393be5cfb0dc60997bf654af16acc36486b6129.tar.gz
jitsi-7393be5cfb0dc60997bf654af16acc36486b6129.tar.bz2
Fix unit tests.
Diffstat (limited to 'test')
-rw-r--r--test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java b/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java
index 4245422..5b32109 100644
--- a/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java
+++ b/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java
@@ -317,12 +317,12 @@ public class TestCallHistoryService
Collection<CallRecord> lastCall = callHistoryService.findLast(1);
- assertEquals("There must be 1 Call", lastCall.size(), 1);
+ assertEquals("There must be 1 Call", 1, lastCall.size());
CallRecord callRecord = lastCall.iterator().next();
assertEquals("There must be 2 participants in the call",
- callRecord.getPeerRecords().size(), 2);
+ 2, callRecord.getPeerRecords().size());
CallPeerRecord callP1 =
callRecord.findPeerRecord(partAddresses[0]);