Skip to content

Fishbowler/smack-sint-adhoc-example

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages