Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.14 KB

README.md

File metadata and controls

24 lines (15 loc) · 1.14 KB

smack-sint-adhoc-example

An example test that demonstrates an inability to set an jid-multi to an empty list

Run tests

This is designed to be run against a locally installed Openfire. Specifically, at time of writing:

Run it locally (or in Docker) using the openfire.sh script and the -demoboot option.

To run tests:

  • set your hosts file to map example.org to 127.0.0.1
  • check the pom.xml, that the <configuration> section of the exec-maven-plugin plugin matches your settings
  • run mvn exec:java

This is an example Run/Debug configuration (which you can use in Intellij):

  • Main class: org.igniterealtime.smack.inttest.SmackIntegrationTestFramework
  • VM options: -Dsinttest.service=example.org -Dsinttest.adminAccountUsername=admin -Dsinttest.adminAccountPassword=admin -Dsinttest.securityMode=disabled -Dsinttest.enabledTests=AdHocCommandIntegrationTest