1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-10 13:01:07 +01:00

SMACK-349 Couple of fixes to test cases based on changes in base64 encoding buffer sizes.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12957 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
rcollier 2012-01-27 21:30:09 +00:00
parent 62ce8e85dd
commit a92d37a32b
6 changed files with 76 additions and 58 deletions

View file

@ -53,7 +53,7 @@ public class ConfigureFormTest
}
}
@Test
@Test (expected=XMPPException.class)
public void getConfigFormWithTimeout() throws XMPPException
{
ThreadedDummyConnection con = new ThreadedDummyConnection();
@ -66,14 +66,7 @@ public class ConfigureFormTest
Node node = mgr.getNode("princely_musings");
// try
// {
SmackConfiguration.setPacketReplyTimeout(100);
node.getNodeConfiguration();
// }
// catch (XMPPException e)
// {
// Assert.assertEquals(XMPPError.Type.AUTH, e.getXMPPError().getType());
// }
SmackConfiguration.setPacketReplyTimeout(100);
node.getNodeConfiguration();
}
}