Smack/smack-extensions/src/test/java/org/jivesoftware/smackx
Florian Schmaus 77e26fc575 Re-work data form API
Apply builder pattern to form fields and replace getVariable() with
getFieldName(). Refer to the field name as "field name" instead of
"variable" everyone, just as XEP-0004 does.

Improve the high-level form API: introduce FilledForm and FillableForm
which perform stronger validation and consistency checks.

Also add FormFieldRegistry to enable processing of 'submit' forms
where the form field types are omitted.

Smack also now does omit the form field type declaration on 'submit'
type forms, as it is allowed by XEP-0004.
2020-05-13 20:14:41 +02:00
..
amp Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
attention extensions: finish conversion to JUnit5, drop JUnit4 2020-04-11 22:10:19 +02:00
blocking Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
bob Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
bytestreams test: remove InitExtensions 2020-04-12 09:34:08 +02: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 Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
geoloc geoloc: GeoLocation constructor should have Builder as sole paramter 2020-04-13 20:39:43 +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 extensions: comment out unfinished jingle util test 2020-04-12 12:07:32 +02:00
jiveproperties test: remove InitExtensions 2020-04-12 09:34:08 +02:00
last_interaction Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
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 Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
muc Re-work data form API 2020-05-13 20:14:41 +02:00
nick extensions/experimental: line separator according to import order 2020-04-12 09:33:14 +02:00
ping test: remove InitExtensions 2020-04-12 09:34:08 +02:00
privacy/provider test: remove InitExtensions 2020-04-12 09:34:08 +02:00
pubsub Re-work data form API 2020-05-13 20:14:41 +02: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
time test: remove InitExtensions 2020-04-12 09:34:08 +02:00
usertune Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
vcardtemp test: remove InitExtensions 2020-04-12 09:34:08 +02:00
xdata Re-work data form API 2020-05-13 20:14:41 +02:00
xdatalayout/packet Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
xdatavalidation Re-work data form API 2020-05-13 20:14:41 +02:00
xhtmlim/provider Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30
ExtensionsInitializerTest.java Replace JUnit4 with JUnit5 in `smack-extensions`. 2020-04-07 15:46:21 +05:30