diff options
author | Damian Minkov <damencho@jitsi.org> | 2006-11-16 10:59:19 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2006-11-16 10:59:19 +0000 |
commit | 1def5b563621176939c05c0e32e9f162d087c050 (patch) | |
tree | ff5b2eb5131db515b0c90f873db8618c4235f6a8 /test/net/java/sip/communicator/slick | |
parent | 36d6c35f98f235a04482cf533c82e76490c03897 (diff) | |
download | jitsi-1def5b563621176939c05c0e32e9f162d087c050.zip jitsi-1def5b563621176939c05c0e32e9f162d087c050.tar.gz jitsi-1def5b563621176939c05c0e32e9f162d087c050.tar.bz2 |
Properly setting end times corresponding the evnts in the call process
Diffstat (limited to 'test/net/java/sip/communicator/slick')
-rw-r--r-- | test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java b/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java index 19be609..0485448 100644 --- a/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java +++ b/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java @@ -276,14 +276,14 @@ public class TestCallHistoryService public void checkRecordCompleteness() { - Vector participantAddresses = new Vector(); - participantAddresses.add("some_address"); - participantAddresses.add("some_new_address"); + logger.info("---=== checkRecordCompleteness ===---"); + String[] partAddresses = + new String[]{"some_address", "some_new_address"}; try { Call newCall = - mockBTelphonyOpSet.placeCall((String)participantAddresses.get(0)); + mockBTelphonyOpSet.placeCall(partAddresses[0]); Vector v = new Vector(); @@ -298,7 +298,7 @@ public class TestCallHistoryService CallParticipant newParticipant = mockBTelphonyOpSet.addNewCallParticipant(newCall, - (String)participantAddresses.get(1)); + partAddresses[1]); mockBTelphonyOpSet.hangupCallParticipant(newParticipant); @@ -328,9 +328,9 @@ public class TestCallHistoryService callRecord.getParticipantRecords().size(), 2); CallParticipantRecord callP1 = - callRecord.findParticipantRecord((String)participantAddresses.get(0)); + callRecord.findParticipantRecord(partAddresses[0]); CallParticipantRecord callP2 = - callRecord.findParticipantRecord((String)participantAddresses.get(1)); + callRecord.findParticipantRecord(partAddresses[1]); assertTrue("Second participant added after first one", callP2.getStartTime().after(callP1.getStartTime())); |