mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 13:07:59 +01:00
Echo Test Added
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7052 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
754d47fedf
commit
94a7762d9d
1 changed files with 5 additions and 2 deletions
|
@ -371,8 +371,11 @@ public class STUNResolverTest extends SmackTestCase {
|
|||
TransportCandidate.CandidateEcho ce2 = c2.getCandidateEcho();
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
assertTrue(ce1.test(InetAddress.getByName("localhost"), 22444,100));
|
||||
assertTrue(ce2.test(InetAddress.getByName("localhost"), 22222,100));
|
||||
assertTrue(ce1.test(InetAddress.getByName("localhost"), 22444, 100));
|
||||
System.out.println("Bind OK");
|
||||
}
|
||||
for (int i = 0; i < 10; i++) {
|
||||
assertTrue(ce2.test(InetAddress.getByName("localhost"), 22222, 100));
|
||||
System.out.println("Bind OK");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue