1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 02:27:58 +01:00
Smack/smack-java8-full/src
Florian Schmaus d33a5a23c3 [core] Introduce Builder.failOnUnknownStates() and unit tests
The previous approach of emitting a severe log message when a
state (descriptor) was unknown was misleading. There are valid cases
where some states are not known, if, for example, a module was
explicitly disabled.

Using Builder.failOnUnknownStates() in unit tests is far cleaner, as
the existence of unknown states is tested in a controlled environment:
one where are states are supposed to be known.
2021-07-06 14:06:39 +02:00
..
javadoc/org/jivesoftware/smack/full/doc-files Introduce Smack's Modular Connection Architecture 2020-04-04 13:03:31 +02:00
main/java/org/jivesoftware/smack/full Rework WebSocket code 2021-01-25 19:56:54 +01:00
test [core] Introduce Builder.failOnUnknownStates() and unit tests 2021-07-06 14:06:39 +02:00