1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +01:00
Commit graph

122 commits

Author SHA1 Message Date
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
Gaston Dombiak
c4d9b43fa6 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2439 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-29 02:17:27 +00:00
Gaston Dombiak
aac57e2232 License modified.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2435 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-23 19:05:52 +00:00
Gaston Dombiak
89981124c0 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2434 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-23 19:05:27 +00:00
Gaston Dombiak
9525df0c87 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2433 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-23 18:49:53 +00:00
Gaston Dombiak
606f2bf3f4 Renamed variable enum to other name for 1.5 compatibility.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2415 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-11 03:07:44 +00:00
Gaston Dombiak
dbc27de285 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2414 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-06 14:58:47 +00:00
Gaston Dombiak
658db03783 Added #getPort() method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2413 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-06 14:57:43 +00:00
Gaston Dombiak
fd62b99a59 Modified order of param in assertEquals to honor expected and actual values.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2396 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-23 05:10:47 +00:00
Gaston Dombiak
151c904730 Changes some bare JIDs with full JIDs
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2378 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-10 21:39:56 +00:00
Gaston Dombiak
2b41ad0ccf Adds new tests for setting a new name and group to an unfiled unnamed entry.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2343 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-15 02:35:54 +00:00
Gaston Dombiak
d471d42fbf Changes superclass to SmackTestCase.SMACK-142
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2339 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-12 13:36:13 +00:00
Gaston Dombiak
3886ed0736 Initial version. SMACK-142
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2338 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-12 13:31:29 +00:00
Gaston Dombiak
31729059f6 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2322 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-03 16:19:30 +00:00
Gaston Dombiak
5ca12106d8 Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2221 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-29 22:03:19 +00:00
Gaston Dombiak
924c27d94c *** empty log message ***
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2211 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 14:13:43 +00:00
Gaston Dombiak
0e33590936 Adds XMPPAdress parsing tests
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2178 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-17 13:55:28 +00:00
Gaston Dombiak
a4eef67896 Adds test cases for renaming roster groups
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2177 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-02 01:58:08 +00:00
Gaston Dombiak
d92bb4f40a Adds test cases for roster presences
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2174 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-28 21:47:48 +00:00
Matt Tucker
357ec5c13f AndFilter and OrFilter now work over more than two packets (SMACK-96).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2136 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 00:40:11 +00:00
Matt Tucker
740a27e500 Test should now be correct again.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2134 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-05 15:23:18 +00:00
Matt Tucker
33859481d2 Fixed to make test work, made wait times more aggressive.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2133 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-05 04:45:05 +00:00
Gaston Dombiak
25d40aed36 initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2104 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-24 18:15:59 +00:00
Bill Lynch
3429142b5c Added slightly more robust tetsing of OrFilter and PacketTypeFilter... can't break it :)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2070 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-26 19:21:18 +00:00
Bill Lynch
9e042f221b Initial checkin of smack test case for messenger server.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2045 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-19 17:45:33 +00:00
Bill Lynch
6871224e65 Initial checkin of test cases.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2002 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-02 17:33:50 +00:00