1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-25 13:57:58 +01:00
Commit graph

75 commits

Author SHA1 Message Date
Gaston Dombiak
53c97378d3 1) Fixed reconnection when connection was using compression.
2) Fixed conflict error while reconnecting (reconnection was not keeping track of resource and sendPresence.
3) Improved javadoc (and checking) that reconnectionlisteners should be added once connected.
4) Added new reconnection test case for reconnection and multiple resources.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6050 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-10 19:06:33 +00:00
Gaston Dombiak
3af86fd462 Added reconnection support. SMACK-172
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5367 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:16:40 +00:00
Gaston Dombiak
96e134e21a Initial version. SMACK-172
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5365 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:13:35 +00:00
Gaston Dombiak
1df8baa6f7 Refactoring work.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5361 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 20:56:47 +00:00
Gaston Dombiak
0c71fe2624 Added more test cases for multiple resources.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5358 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 17:30:28 +00:00
Gaston Dombiak
9182eb38fd Renamed to PresenceTest.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5356 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 16:31:57 +00:00
Gaston Dombiak
e92c22ab98 Added more test cases.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5355 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 16:31:28 +00:00
Gaston Dombiak
8576a13de7 Added new test case for offline messages with invalid XML characters.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5069 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-25 22:58:23 +00:00
Gaston Dombiak
727304b25e Added new test case for errors text with no description. SMACK-165
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5062 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-25 20:20:39 +00:00
Gaston Dombiak
157a1e9659 Listeners are now removed from PacketReader. SMACK-165
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4883 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-10 22:09:30 +00:00
Gaston Dombiak
469ff4d487 Roster item nickname is now escaped for XML. SMACK-164
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4882 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-10 21:35:08 +00:00
Matt Tucker
f5c5213e61 Privacy and error test cases.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4651 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-23 22:15:43 +00:00
Gaston Dombiak
1716c6ed22 Added method description.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4551 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 21:24:00 +00:00
Matt Tucker
9895123ff3 Additional refactoring work.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4539 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 06:47:38 +00:00
Gaston Dombiak
f57ff10ad9 1. Clean up code
2. Refactoring work
3. Optimization work. SMACK-153
4. Fixed roster test cases. SMACK-154
4. Fixed vCard issue. SMACK-152

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4538 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 05:14:33 +00:00
Gaston Dombiak
f520dfe02e Fixed potential endless loop.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4527 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 19:38:37 +00:00
Matt Tucker
bbbfe09c31 Phase 1 of large refactoring. Removing dead code, bug fixes, updates to JDK 1.5.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4511 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 08:39:08 +00:00
Gaston Dombiak
6cb31089f1 Added new test case when a user has many resources and new contacts are added/removed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4280 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-06 18:55:29 +00:00
Alex Wenckus
6f832ddb99 Added avatar test.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3829 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-03 21:23:18 +00:00
Gaston Dombiak
eb0c5e282d Added new anonymous test case and improved assertions of existing one.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3493 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-27 20:01:30 +00:00
Gaston Dombiak
204ffb915c Changing group name to "" does not remove it from list of groups.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3350 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-24 18:16:29 +00:00
Gaston Dombiak
39eca6ec5b Added support for configuring the connection. SMACK-113 SMACK-114
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3311 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:05:31 +00:00
Gaston Dombiak
15defec50f Added stream compression support. SMACK-112
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3306 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-16 17:34:56 +00:00
Gaston Dombiak
6dc7d05a5d Fixed test case.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3176 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:05:12 +00:00
Gaston Dombiak
ee6cedcea7 Fixed test case when cleaning up roster.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3132 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-01 04:29:08 +00:00
Gaston Dombiak
66c30903d0 Removed enable/disable debugger.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3131 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-01 04:28:15 +00:00
Gaston Dombiak
3db31f9169 Fixed test case (now uses threadID when creating Chats).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3130 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-01 02:23:42 +00:00
Marilyn Daum
03b8362dd2 Add func-test target: will be run by Anthill
one more timing tweak to RosterTest

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2996 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-25 17:14:52 +00:00
Marilyn Daum
922ae8688b Tweaks to get tests to pass more frequently.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2995 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-25 01:27:35 +00:00
Gaston Dombiak
dd9731f1a9 Added new test case #testAddEntryToNewGroup. SMACK-92
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2971 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-14 19:46:31 +00:00
Matt Tucker
ab474ea063 Added DNS SRV support (SMACK-29).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2832 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-17 22:01:24 +00:00
Gaston Dombiak
283b0f33f5 Throw an XMPPException if SASL authentication fails. SMACK-89
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2817 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 20:05:29 +00:00
Matt Tucker
06b7a0eacc New logic for delivering messages without a thread ID to a Chat object. This improves compatibility with clients that don't support thread ID. Also some misc formatting updates.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2779 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 20:00:45 +00:00
Gaston Dombiak
991e958097 Replaced #getHost with #getServiceName. SMACK-75
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2729 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:21:24 +00:00
Gaston Dombiak
8a48d3d11e Improved timeout logic.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2502 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-17 22:24:33 +00:00
Gaston Dombiak
4fee4feb5a Minor fixes (and some new test cases).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2486 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-15 21:46:53 +00:00
Gaston Dombiak
9caf660bc0 Added more cases to #testEscapeForXML.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2485 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-15 00:56:37 +00:00
Gaston Dombiak
0f8bb65755 Added test for huge messages over an SSL connection.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2484 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-15 00:51:52 +00:00
Gaston Dombiak
d87a0fe615 Added #testLoginWithNoResource for testing that a resource is always required by the server.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2483 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-14 03:24:04 +00:00
Gaston Dombiak
85ecc4b776 Added #testHugeMessage for testing sending of messages with a body of 4k.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2482 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-14 02:09:46 +00:00
Gaston Dombiak
9774b8e029 Improved setup to recover if the account already exists.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2481 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-14 02:08:56 +00:00
Matt Tucker
048aff2f68 Use hostname reported by server.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2472 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-30 02:27:34 +00:00
Gaston Dombiak
96930f78e8 Updated since Roster#removeEntry now may thrown an exception.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2471 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-30 02:01:21 +00:00
Gaston Dombiak
3f83402148 Modified to be compatible with latest minimal version of XPP. SMACK-49
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2466 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-23 02:36:19 +00:00
Gaston Dombiak
08f3b3dcba Modified priority testing to include more cases.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2465 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-15 16:29:30 +00:00
Gaston Dombiak
7a7008a6c7 Increased delay between packets to give more time to the server for processing the packets.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2458 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-11 20:15:10 +00:00
Gaston Dombiak
a457af11fb Minor fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2448 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-12 03:03:32 +00:00
Gaston Dombiak
069a3d4d16 Added a mini-delay after the test users have logged into the server.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2447 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-12 03:02:53 +00:00
Gaston Dombiak
cb27d4f0de Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2445 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-12 02:59:55 +00:00
Gaston Dombiak
a6ae5bcc86 Modified to make sure that the server can handle many anonymous users.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2442 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-31 04:34:24 +00:00