Package com.agiletec.plugins.jpcontentworkflow.apsadmin.notifier

Examples of com.agiletec.plugins.jpcontentworkflow.apsadmin.notifier.WorkflowNotifierConfigAction


    String result = this.executeConfig("supervisorCoach");
    assertEquals("userNotAllowed", result);
   
    result = this.executeConfig("admin");
    assertEquals(Action.SUCCESS, result);
    WorkflowNotifierConfigAction action = (WorkflowNotifierConfigAction) this.getAction();
    NotifierConfig config = action.getConfig();
    assertFalse(config.isActive());
    assertEquals(24, config.getHoursDelay());
    assertEquals("CODE1", config.getSenderCode());
    //assertEquals("email", config.getMailAttrName());
    assertEquals("04/12/2008", action.getStartDate());
    assertEquals(16, action.getHour());
    assertEquals(8, action.getMinute());
   
    assertFalse(config.isHtml());
                assertEquals("[My Own Portal]: A content changed", config.getSubject());
                assertEquals("Hi {user},<br />these contents require your attention<br /><br />", config.getHeader());
                assertEquals("<br />Content {type} - {descr} - Status {status}<br />", config.getTemplate());
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jpcontentworkflow.apsadmin.notifier.WorkflowNotifierConfigAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.