1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-25 13:57:58 +01:00
Smack/test/org/jivesoftware/smack
Florian Schmaus 26338a2754 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/trunk@13566 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-18 19:57:28 +00:00
..
filter
packet
test
util
ChatTest.java
FloodTest.java
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
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
PresenceTest.java
PrivacyClient.java
ReconnectionTest.java
RosterInitializedBeforeConnectTest.java
RosterListenerTest.java
RosterSmackTest.java