1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-26 20:47:58 +01:00
Commit graph

185 commits

Author SHA1 Message Date
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
6af5705ae5 Added support for discovering the rooms hosted by a MUC service. SMACK-13
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2455 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-06 16:36:23 +00:00
Gaston Dombiak
f5c17aa6f3 Fixed to get the nickname of an occupant based on his presence. SMACK-43
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2453 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-02 22:42:57 +00:00
Gaston Dombiak
e7bca260bc Added test to ensure that extensions sent together with the group chat room invitation are received by the invitee. JM-135
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2449 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-25 17:26:54 +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
fd3f88480f Added a timeout for retrieving messages. Thus preventing an unrecoverable situation.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2446 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-12 03:01:43 +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
075db51590 Modified to allow sending extensions when inviting a user to a room. SMACK-40
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2444 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-11 17:35:41 +00:00
Gaston Dombiak
1bf4d2fed2 Added support for discovering MUC services. SMACK-39
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2443 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-03 02:08:23 +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
5386c77c7f Added test for anonymous users joining a room.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2441 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-31 04:31:12 +00:00
Gaston Dombiak
9cf3d53132 Minor fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2440 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-29 02:19:30 +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
d2187b7374 Added notifications of occupant joining and leaving the room. SMACK-38
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2437 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-26 21:55:41 +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
aaeb476f05 Removed welcome message from #testDiscussionHistory since the server no longer sends that message.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2431 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-17 02:42:03 +00:00
Gaston Dombiak
94db37b89b Added support for room management in batch mode. SMACK-4
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2430 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 19:03:37 +00:00
Gaston Dombiak
1d25c35031 Added test case for discovering room information. SMACK-11
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2426 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 01:44:43 +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
4519699dfa Added test that ensures that Smack answers a 404 error when the disco#info includes a node. SMACK-8
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2403 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-31 03:37:05 +00:00
Gaston Dombiak
a71b6c92d6 Modified form's variable names according to the new spec version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2399 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-30 17:14:15 +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
b7bf4ad782 Changed #testCreateReservedRoom to set the default value as the answer of the form fields and also to specify the JID of the room owner.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2392 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-22 20:53:15 +00:00
Gaston Dombiak
4815fbbb7f Added test to ensure that the MUC service (server side) works with the old groupchat protocol
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2391 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-22 20:49:49 +00:00
Gaston Dombiak
b2572bbce6 1. Adds new tests for discussion history and reserved nickname
2. Adds new asserts while testing invitations


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2390 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-03 19:07:06 +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
3c80abdf45 Moved identityName and identityType from SmackConfiguration to ServiceDiscoveryManager.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2359 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-09 22:09:20 +00:00
Gaston Dombiak
f1c38d67d7 Adds new test for discovering if a server supports publishing of items. SMACK-150
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2351 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-05 16:57:57 +00:00
Gaston Dombiak
13d1c07741 Adds new test for discovering client's identity. SMACK-149
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2349 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-04 19:54:17 +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
6a9660efef Moved from org.jivesoftware.smackx to org.jivesoftware.smackx.muc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2335 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-06 13:04:16 +00:00
Gaston Dombiak
bafef8947c Moved from org.jivesoftware.smackx to org.jivesoftware.smackx.muc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2334 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-06 03:07:45 +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
5a9bfa3a1c Adds test case for banning, kicking, granting and removing privileges.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2318 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-30 16:43:13 +00:00
Gaston Dombiak
5fdc96acab Adds test case for "Modifying room subject".
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2314 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-18 17:50:34 +00:00
Gaston Dombiak
435fcd22c5 Converted this class to include only the tests that must be run when a room already exists
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2311 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-13 17:46:11 +00:00
Gaston Dombiak
f840527300 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2310 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-13 17:44:06 +00:00
Gaston Dombiak
2f69af2fc0 Initial version
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2301 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-26 02:36:34 +00:00
Gaston Dombiak
e05235984b Changes made due to Form protocol modification
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2287 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-07 19:54:00 +00:00
Gaston Dombiak
b25c9bb454 Adds new test cases
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2282 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:32:37 +00:00
Gaston Dombiak
cf75ce471f Initial version
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2265 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:42:32 +00:00
Gaston Dombiak
da3e7ab55d Replaces message send #getChatID with #setThreadID
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2244 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 16:33:25 +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
a38e26be3a Removes initialization code that was replaced by the automatic system configuration
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2187 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:22:42 +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
Gaston Dombiak
45fbd2e4b7 Added #setUp and #tearDown
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2147 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-15 14:55:19 +00:00
Gaston Dombiak
60ce65d50b Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2143 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 23:12:34 +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
8e83a092db Added support for group chat invitations (SMACK-95).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2135 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-12 04:40:08 +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
fd8c992adc class deleted (name was misspelled)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2115 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-28 03:30:21 +00:00
Gaston Dombiak
61d2cbde93 Initial check-in of XHTML support.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2114 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-28 03:27:14 +00:00
Gaston Dombiak
4ee9e4cee1 Initial check-in of XHTML support.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2113 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-28 03:22:06 +00:00
Gaston Dombiak
d26301a65c modified the example to use unicode values for special spanish chars
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2110 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-28 03:01:54 +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
Gaston Dombiak
62211a89d0 Initial check-in of XHTML support.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2085 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-14 14:46:38 +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
Gaston Dombiak
bceff343af Removed the setters methods from RemoteRosterEntry
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2069 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-26 16:05:57 +00:00
Gaston Dombiak
ca37ceb2f1 changed "local entry" solution to "wrapper class" solution
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2065 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-24 16:05:45 +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
Matt Tucker
5e17d2636f Changes to make compile.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2028 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-16 22:13:58 +00:00
Gaston Dombiak
243c73ef49 Initial check-in of message event support.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2024 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-13 12:59:24 +00:00
Gaston Dombiak
a3c226f1a1 *** empty log message ***
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2003 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-02 18:46:55 +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