diff options
author | Yana Stamcheva <yana@jitsi.org> | 2010-05-03 15:35:35 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2010-05-03 15:35:35 +0000 |
commit | 7393be5cfb0dc60997bf654af16acc36486b6129 (patch) | |
tree | 2bb884705ebef32bdeb2f4f50aebbafd07de91cd /test | |
parent | a1f74ad638d9d4eda31cff0296b525d8ded15ee9 (diff) | |
download | jitsi-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.java | 4 |
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]); |