1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-16 09:12:06 +01:00
Smack/test/org/jivesoftware/smack
Florian Schmaus a55b54f20b SMACK-417 If both PacketReader and PacketWriter fail at the same time, connectionClosedonError() is called two times
Refactored notifyConnectionError() and notifyReconnection() from PacketReader to XMPPConnection. Made PacketReader.done and PacketWriter.done volatile. Prevent duplicate connectionClosedonError() calls by making the method synchronzied and protected them with an enter guard: if (packetReader.done && packetWriter.done) return;

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13568 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-18 19:58:48 +00:00
..
filter SMACK-352 removed duplicated headers, fixed svn keywords 2013-02-07 19:10:22 +00:00
packet SMACK-352 removed duplicated headers, fixed svn keywords 2013-02-07 19:10:22 +00:00
test SMACK-361 Added support for Entity Capabilities. 2013-03-18 08:50:48 +00:00
util SMACK-361 Added support for Entity Capabilities. 2013-03-18 08:50:48 +00:00
ChatTest.java SMACK-352 removed duplicated headers, fixed svn keywords 2013-02-07 19:10:22 +00:00
FloodTest.java Copyright update. 2007-02-12 00:59:05 +00:00
IQTest.java Added new test case for IQ packets sent to full JIDs of offline users. 2007-03-08 19:25:53 +00:00
LoginTest.java SMACK-358: Support account creation parameters for LoginTest.testLoginWithNoResource() 2013-02-14 11:43:41 +00:00
MessageTest.java Updates to SmackTestCase to properly provide the username and password for each connection. Test cases manually logging in now use these methods instead of wrongly assuming the username/password pattern. 2013-02-07 03:47:49 +00:00
PacketReaderTest.java SMACK-352 removed duplicated headers, fixed svn keywords 2013-02-07 19:10:22 +00:00
PresenceTest.java Updates to SmackTestCase to properly provide the username and password for each connection. Test cases manually logging in now use these methods instead of wrongly assuming the username/password pattern. 2013-02-07 03:47:49 +00:00
PrivacyClient.java SMACK-352 removed duplicated headers, fixed svn keywords 2013-02-07 19:10:22 +00:00
ReconnectionTest.java SMACK-417 If both PacketReader and PacketWriter fail at the same time, connectionClosedonError() is called two times 2013-03-18 19:58:48 +00:00
RosterInitializedBeforeConnectTest.java SMACK-352 removed duplicated headers, fixed svn keywords 2013-02-07 19:10:22 +00:00
RosterListenerTest.java SMACK-352 removed duplicated headers, fixed svn keywords 2013-02-07 19:10:22 +00:00
RosterSmackTest.java SMACK-417 If both PacketReader and PacketWriter fail at the same time, connectionClosedonError() is called two times 2013-03-18 19:58:48 +00:00