aboutsummaryrefslogtreecommitdiffstats
path: root/test/net/java/sip/communicator/slick/callhistory
diff options
context:
space:
mode:
authorEmil Ivov <emcho@jitsi.org>2009-08-09 21:28:42 +0000
committerEmil Ivov <emcho@jitsi.org>2009-08-09 21:28:42 +0000
commit88753222ccd3645b55a1d3c7ab3cab3d7a15ebfc (patch)
tree3cc179a48f7a551a00ef37903fbfad6ad2d3cb8e /test/net/java/sip/communicator/slick/callhistory
parentcad3ab05fe9ce80d21f7ea7a6664c1fffab4755f (diff)
downloadjitsi-88753222ccd3645b55a1d3c7ab3cab3d7a15ebfc.zip
jitsi-88753222ccd3645b55a1d3c7ab3cab3d7a15ebfc.tar.gz
jitsi-88753222ccd3645b55a1d3c7ab3cab3d7a15ebfc.tar.bz2
Renames CallParticipant to CallPeer so that it would better reflect our new Call architecture that also includes conferencing and ConferenceMembers
Diffstat (limited to 'test/net/java/sip/communicator/slick/callhistory')
-rw-r--r--test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java b/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java
index 342583f..5fd4d3d 100644
--- a/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java
+++ b/test/net/java/sip/communicator/slick/callhistory/TestCallHistoryService.java
@@ -213,14 +213,14 @@ public class TestCallHistoryService
CallRecord rec = (CallRecord)resultIter.next();
CallPeerRecord participant =
- (CallPeerRecord)rec.getParticipantRecords().get(0);
+ (CallPeerRecord)rec.getPeerRecords().get(0);
assertTrue("Participant incorrect ",
participant.getPeerAddress().
equals(participantAddresses.get(2)));
rec = (CallRecord)resultIter.next();
- participant = (CallPeerRecord)rec.getParticipantRecords().get(0);
+ participant = (CallPeerRecord)rec.getPeerRecords().get(0);
assertTrue("Participant incorrect ",
participant.getPeerAddress().
@@ -235,7 +235,7 @@ public class TestCallHistoryService
assertEquals("Calls must be 1", rs.size(), 1);
rec = (CallRecord)resultIter.next();
- participant = (CallPeerRecord)rec.getParticipantRecords().get(0);
+ participant = (CallPeerRecord)rec.getPeerRecords().get(0);
assertTrue("Participant incorrect ",
participant.getPeerAddress().
@@ -250,21 +250,21 @@ public class TestCallHistoryService
assertEquals("Calls must be 3", rs.size(), 3);
rec = (CallRecord)resultIter.next();
- participant = (CallPeerRecord) rec.getParticipantRecords().get(0);
+ participant = (CallPeerRecord) rec.getPeerRecords().get(0);
assertTrue("Participant incorrect ",
participant.getPeerAddress().
equals(participantAddresses.get(3)));
rec = (CallRecord)resultIter.next();
- participant = (CallPeerRecord) rec.getParticipantRecords().get(0);
+ participant = (CallPeerRecord) rec.getPeerRecords().get(0);
assertTrue("Participant incorrect ",
participant.getPeerAddress().
equals(participantAddresses.get(2)));
rec = (CallRecord)resultIter.next();
- participant = (CallPeerRecord) rec.getParticipantRecords().get(0);
+ participant = (CallPeerRecord) rec.getPeerRecords().get(0);
assertTrue("Participant incorrect ",
participant.getPeerAddress().
@@ -322,12 +322,12 @@ public class TestCallHistoryService
CallRecord callRecord = (CallRecord)lastCall.iterator().next();
assertEquals("There must be 2 participants in the call",
- callRecord.getParticipantRecords().size(), 2);
+ callRecord.getPeerRecords().size(), 2);
CallPeerRecord callP1 =
- callRecord.findParticipantRecord(partAddresses[0]);
+ callRecord.findPeerRecord(partAddresses[0]);
CallPeerRecord callP2 =
- callRecord.findParticipantRecord(partAddresses[1]);
+ callRecord.findPeerRecord(partAddresses[1]);
assertTrue("Second participant added after first one",
callP2.getStartTime().after(callP1.getStartTime()));
@@ -343,7 +343,7 @@ public class TestCallHistoryService
{
CallRecord hr = (CallRecord)rs.next();
logger.info("----------------------");
- logger.info(hr.getParticipantRecords());
+ logger.info(hr.getPeerRecords());
logger.info("----------------------");
}
}