use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.NotificationRow in project kie-wb-common by kiegroup.
the class NotificationValueValidatorTest method testR120011201T133402PT3S.
@Test
public void testR120011201T133402PT3S() {
NotificationRow value = new NotificationRow();
value.setExpiresAt("R1/2001-12-01T13:34-02/PT3S");
boolean result = validator.isValid(value, context);
assertTrue(result);
assertTrue(errorMessages.isEmpty());
}
use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.NotificationRow in project kie-wb-common by kiegroup.
the class NotificationValueValidatorTest method testR1P1M14d.
@Test
public void testR1P1M14d() {
NotificationRow value = new NotificationRow();
value.setExpiresAt("R1/P1M14D");
boolean result = validator.isValid(value, context);
assertTrue(result);
assertTrue(errorMessages.isEmpty());
}
use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.NotificationRow in project kie-wb-common by kiegroup.
the class NotificationValueValidatorTest method test15ms.
@Test
public void test15ms() {
NotificationRow value = new NotificationRow();
value.setExpiresAt("15ms");
boolean result = validator.isValid(value, context);
assertTrue(result);
assertTrue(errorMessages.isEmpty());
}
use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.NotificationRow in project kie-wb-common by kiegroup.
the class NotificationValueValidatorTest method testISO8601WithTZ00ZRepeatable10AndPeriodAndTZ0230Value.
@Test
public void testISO8601WithTZ00ZRepeatable10AndPeriodAndTZ0230Value() {
NotificationRow notification = new NotificationRow();
notification.setExpiresAt("R10/2019-07-14T13:34+02:30/P33M");
boolean result = validator.isValid(notification, context);
assertTrue(result);
assertTrue(errorMessages.isEmpty());
}
use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.NotificationRow in project kie-wb-common by kiegroup.
the class NotificationValueValidatorTest method testR10PT5m30s.
@Test
public void testR10PT5m30s() {
NotificationRow value = new NotificationRow();
value.setExpiresAt("R10/PT5m30s");
boolean result = validator.isValid(value, context);
assertTrue(result);
assertTrue(errorMessages.isEmpty());
}
Aggregations