mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +02:00
Merge pull request #232 from TimothyPitt/PubSub_NotificationType
Pub sub notification type
This commit is contained in:
commit
f69cd55970
4 changed files with 70 additions and 1 deletions
|
@ -97,4 +97,14 @@ public class ConfigureFormTest extends InitExtensions {
|
|||
|
||||
node.getNodeConfiguration();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void checkNotificationType() {
|
||||
ConfigureForm form = new ConfigureForm(DataForm.Type.submit);
|
||||
form.setNotificationType(NotificationType.normal);
|
||||
assertEquals(NotificationType.normal, form.getNotificationType());
|
||||
form.setNotificationType(NotificationType.headline);
|
||||
assertEquals(NotificationType.headline, form.getNotificationType());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue