1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-30 02:02:06 +01:00

Changes to decline a session

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7062 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-02-09 03:48:58 +00:00 committed by thiago
parent 94a7762d9d
commit 5102acc985

View file

@ -530,7 +530,15 @@ public class JingleManagerTest extends SmackTestCase {
+ request.getFrom() + ": rejecting.");
// We reject the request
request.reject();
try {
IncomingJingleSession session = request.accept(null);
session.start();
session.terminate();
}
catch (XMPPException e) {
e.printStackTrace();
}
}
});
@ -561,9 +569,9 @@ public class JingleManagerTest extends SmackTestCase {
}
});
session0.start(null);
session0.start();
Thread.sleep(20000);
Thread.sleep(10000);
assertTrue(valCounter() > 0);