|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.lm.util.LeaveCalendarTestUtils
public class LeaveCalendarTestUtils
Constructor Summary | |
---|---|
LeaveCalendarTestUtils()
|
Method Summary | |
---|---|
static LeaveCalendarWSForm |
buildLeaveCalendarForm(LeaveCalendarDocument leaveCalendarDocument,
Assignment assignment,
EarnCode earnCode,
org.joda.time.DateTime start,
org.joda.time.DateTime end,
BigDecimal amount,
boolean spanningWeeks)
From the provided set of parameters, build an action form suitable for submitting to the TimeDetailAction servlet. |
static LeaveCalendarWSForm |
buildLeaveCalendarFormForSubmission(LeaveCalendarDocument leaveCalendarDocument,
LeaveSummary leaveSummary)
Builds a simple "mock" leave calendar form primed for action "approveLeaveCalendar". |
static void |
setTimeBlockFormDetails(com.gargoylesoftware.htmlunit.html.HtmlForm form,
LeaveCalendarWSForm tdaf)
Set the attributes on the provided html form to the values found in the provided ActionForm. |
static com.gargoylesoftware.htmlunit.html.HtmlPage |
submitLeaveCalendar(com.gargoylesoftware.htmlunit.WebClient webClient,
String baseUrl,
LeaveCalendarWSForm tdaf)
A method to wrap the submission of the time details. |
static com.gargoylesoftware.htmlunit.html.HtmlPage |
submitLeaveCalendar2(com.gargoylesoftware.htmlunit.WebClient webClient,
String baseUrl,
LeaveCalendarWSForm tdaf)
A method to wrap the submission of the time details. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LeaveCalendarTestUtils()
Method Detail |
---|
public static LeaveCalendarWSForm buildLeaveCalendarForm(LeaveCalendarDocument leaveCalendarDocument, Assignment assignment, EarnCode earnCode, org.joda.time.DateTime start, org.joda.time.DateTime end, BigDecimal amount, boolean spanningWeeks)
leaveCalendarDocument
- assignment
- earnCode
- start
- end
- amount
-
public static LeaveCalendarWSForm buildLeaveCalendarFormForSubmission(LeaveCalendarDocument leaveCalendarDocument, LeaveSummary leaveSummary)
leaveCalendarDocument
- assignment
- earnCode
- start
- end
- amount
-
public static void setTimeBlockFormDetails(com.gargoylesoftware.htmlunit.html.HtmlForm form, LeaveCalendarWSForm tdaf)
form
- The HtmlForm to populate.tdaf
- The ActionForm with values we will use to populate.public static com.gargoylesoftware.htmlunit.html.HtmlPage submitLeaveCalendar(com.gargoylesoftware.htmlunit.WebClient webClient, String baseUrl, LeaveCalendarWSForm tdaf)
baseUrl
- tdaf
-
public static com.gargoylesoftware.htmlunit.html.HtmlPage submitLeaveCalendar2(com.gargoylesoftware.htmlunit.WebClient webClient, String baseUrl, LeaveCalendarWSForm tdaf)
baseUrl
- tdaf
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |