Smack/smack-extensions/src/test/java/org/jivesoftware/smackx
Martin Fidczuk ffd027cc7d
Use XMPP connection as local SOCKS5 address
The default local address is often just "the first address found in the list of addresses read from the OS" and this might mean an internal IP address that cannot reach external servers. So wherever possible use the same IP address being used to connect to the XMPP server because this local address has a better chance of being suitable.

This MR adds the above behaviour, and two UTs to test that we use the local XMPP connection IP when connected, and the previous behaviour when not.
2023-04-26 10:00:23 +01:00
..
amp [core] Align behavior of getParserFor(InputStream) and getParserFor(Reader) 2021-11-30 10:49:55 +01:00
attention Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
blocking Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
bob Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
bytestreams Use XMPP connection as local SOCKS5 address 2023-04-26 10:00:23 +01:00
caps Re-work data form API 2020-05-13 20:14:41 +02:00
commands/provider Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
delay/provider test: remove InitExtensions 2020-04-12 09:34:08 +02:00
filetransfer test: remove InitExtensions 2020-04-12 09:34:08 +02:00
forward Make Forwarded a generic type 2020-09-23 17:48:04 +02:00
geoloc [geoloc] Do not use Time IQ for timezone operations 2021-05-02 17:16:58 +02:00
iqlast test: remove InitExtensions 2020-04-12 09:34:08 +02:00
iqversion test: remove InitExtensions 2020-04-12 09:34:08 +02:00
jingle Merge branch '4.4' 2023-03-17 18:20:20 +01:00
jiveproperties test: remove InitExtensions 2020-04-12 09:34:08 +02:00
last_interaction Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
mediaelement Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
message_correct Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
mood Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
muc Re-work data form API 2020-05-13 20:14:41 +02:00
nick Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
ping Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
privacy/provider test: remove InitExtensions 2020-04-12 09:34:08 +02:00
pubsub Merge branch '4.4' 2021-12-13 21:51:42 +01:00
receipts test: remove InitExtensions 2020-04-12 09:34:08 +02:00
rsm/provider test: remove InitExtensions 2020-04-12 09:34:08 +02:00
shim/provider Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
softwareinfo Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
time [time] Use IqBuilder pattern and improve API 2021-05-02 17:16:58 +02:00
usertune Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
vcardtemp test: remove InitExtensions 2020-04-12 09:34:08 +02:00
xdata Accept an empty string as the label value 2021-10-20 10:12:29 +01:00
xdatalayout/packet Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
xdatavalidation Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
xhtmlim/provider [core] Align behavior of getParserFor(InputStream) and getParserFor(Reader) 2021-11-30 10:49:55 +01:00
ExtensionsInitializerTest.java Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30