Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] How to run XMPP tests locally?

Hi Scott,

So, for example, for two users and a chat room called 'ecf' defined on target server, the system properties would look like this:

-Dusername0=user1@xxxxxxxx
-Dpassword0=password0
-Dusername1=user2@xxxxxxxx
-Dpassword1=password1
-Dchat.room.name=ecf

thanks for the list, I missed the chat room property. Most tests work now.

The following tests still fail:
- RemoteServiceTest.testGetServiceReferences
- RemoteServiceTest.testGetServiceReferencesWithFilter
There seems to be a problem with GUIDs being used where XMPPIDs are expected, but I'm not sure yet what the actual problem is.

- ChatTest.testSendMessageProperties
Only fails when run as part of the test suite. When I re-run only the single test case, it succeeds. I've not tried to debug this one yet.

Also, the tests in XMPPSearchTest expect specific user names to be configured on the XMPP server. After replacing the names with users that exist on my test server, these tests succeed.

Thanks,
Jörg

--
Dipl.-Wirt.Inf. Jörg Rathlev        rathlev@xxxxxxxxxxxxxxxxxxxxxxxxx
Zentrum für Architektur und                    Fon: +49-40-42883-2306
Gestaltung von IT-Systemen (AGIS)              Fax: +49-40-42883-2303
MIN-Fakultät, Department Informatik            Sec: +49-40-42883-2413
Universität Hamburg          http://swt-www.informatik.uni-hamburg.de


Back to the top