|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.util.TimeDetailTestUtils
public class TimeDetailTestUtils
Constructor Summary | |
---|---|
TimeDetailTestUtils()
|
Method Summary | |
---|---|
static TimeDetailActionFormBase |
buildDetailActionForm(TimesheetDocument timeshetDocument,
Assignment assignment,
EarnCode earnCode,
org.joda.time.DateTime start,
org.joda.time.DateTime end,
BigDecimal amount,
boolean acrossDays,
String timeblockId,
boolean spanningWeeks)
From the provided set of parameters, build an action form suitable for submitting to the TimeDetailAction servlet. |
static List<String> |
setTimeBlockFormDetails(com.gargoylesoftware.htmlunit.html.HtmlForm form,
TimeDetailActionFormBase tdaf)
Set the attributes on the provided html form to the values found in the provided ActionForm. |
static com.gargoylesoftware.htmlunit.html.HtmlPage |
submitTimeDetails(String principalId,
String baseUrl,
TimeDetailActionFormBase tdaf)
A method to wrap the submission of the time details. |
static com.gargoylesoftware.htmlunit.html.HtmlPage |
submitTimeDetails(String baseUrl,
TimeDetailActionFormBase 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 TimeDetailTestUtils()
Method Detail |
---|
public static TimeDetailActionFormBase buildDetailActionForm(TimesheetDocument timeshetDocument, Assignment assignment, EarnCode earnCode, org.joda.time.DateTime start, org.joda.time.DateTime end, BigDecimal amount, boolean acrossDays, String timeblockId, boolean spanningWeeks)
timeshetDocument
- assignment
- earnCode
- start
- end
- amount
- acrossDays
- timeblockId
-
public static List<String> setTimeBlockFormDetails(com.gargoylesoftware.htmlunit.html.HtmlForm form, TimeDetailActionFormBase tdaf)
form
- The HtmlForm to populate.tdaf
- The ActionForm with values we will use to populate.
public static com.gargoylesoftware.htmlunit.html.HtmlPage submitTimeDetails(String baseUrl, TimeDetailActionFormBase tdaf)
baseUrl
- tdaf
-
public static com.gargoylesoftware.htmlunit.html.HtmlPage submitTimeDetails(String principalId, String baseUrl, TimeDetailActionFormBase tdaf)
baseUrl
- tdaf
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |