1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-27 00:32:07 +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:
Thiago Camargo 2007-02-08 22:39:09 +00:00 committed by thiago
parent 754d47fedf
commit 94a7762d9d

View file

@ -371,8 +371,11 @@ public class STUNResolverTest extends SmackTestCase {
TransportCandidate.CandidateEcho ce2 = c2.getCandidateEcho(); TransportCandidate.CandidateEcho ce2 = c2.getCandidateEcho();
for (int i = 0; i < 10; i++) { for (int i = 0; i < 10; i++) {
assertTrue(ce1.test(InetAddress.getByName("localhost"), 22444,100)); assertTrue(ce1.test(InetAddress.getByName("localhost"), 22444, 100));
assertTrue(ce2.test(InetAddress.getByName("localhost"), 22222,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"); System.out.println("Bind OK");
} }