use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.Expiration in project kie-wb-common by kiegroup.
the class ExpirationTypeOracleTest method testMonthRepeatableUntilStateChangesNotification.
@Test
public void testMonthRepeatableUntilStateChangesNotification() {
Expiration result = oracle.guess("R/P33M");
assertEquals(Expiration.TIME_PERIOD, result);
}
use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.Expiration in project kie-wb-common by kiegroup.
the class ExpirationTypeOracleTest method testNotificationAndTZ0245.
@Test
public void testNotificationAndTZ0245() {
Expiration result = oracle.guess("2019-07-14T13:34-02:45");
assertEquals(Expiration.DATETIME, result);
}
use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.Expiration in project kie-wb-common by kiegroup.
the class ExpirationTypeOracleTest method testDurations.
@Test
public void testDurations() {
Expiration result = oracle.guess("P1Y2M5DT4H5M8S6MS");
assertEquals(Expiration.EXPRESSION, result);
}
use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.Expiration in project kie-wb-common by kiegroup.
the class ExpirationTypeOracleTest method test1DigExpiresAtNotificationRow.
@Test
public void test1DigExpiresAtNotificationRow() {
Expiration result = oracle.guess("1d");
assertEquals(Expiration.EXPRESSION, result);
}
use of org.kie.workbench.common.stunner.bpmn.client.forms.fields.model.Expiration in project kie-wb-common by kiegroup.
the class ExpirationTypeOracleTest method testRepeatingIntervalsY.
@Test
public void testRepeatingIntervalsY() {
Expiration result = oracle.guess("R2/P1YT20H13M");
assertEquals(Expiration.EXPRESSION, result);
}
Aggregations