org.kuali.hr.lm.balancetransfer
Class BalanceTransferTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.hr.test.KPMETestCase
org.kuali.hr.lm.leaveCalendar.LeaveCalendarWebTestBase
org.kuali.hr.lm.balancetransfer.BalanceTransferTest
- All Implemented Interfaces:
- org.kuali.rice.test.MethodAware
public class BalanceTransferTest
- extends LeaveCalendarWebTestBase
Fields inherited from class org.kuali.rice.test.RiceTestCase |
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles |
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase |
log, method |
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase |
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestData |
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles |
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase |
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USER_PRINCIPAL_ID
public static final String USER_PRINCIPAL_ID
- See Also:
- Constant Field Values
BalanceTransferTest
public BalanceTransferTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class LeaveCalendarWebTestBase
- Throws:
Exception
testTransferWithAccrualRule
public void testTransferWithAccrualRule()
throws Exception
- Throws:
Exception
testAdjustLowerTransferAmount
public void testAdjustLowerTransferAmount()
testAdjustLowerTransferAmountWithForfeiture
public void testAdjustLowerTransferAmountWithForfeiture()
testAdjustRaiseTransferAmount
public void testAdjustRaiseTransferAmount()
testAdjustRaiseTransferAmountWithForfeitureLessThanDifference
public void testAdjustRaiseTransferAmountWithForfeitureLessThanDifference()
testAdjustRaiseTransferAmountWithForfeitureMoreThanDifference
public void testAdjustRaiseTransferAmountWithForfeitureMoreThanDifference()
testSingleLeaveApproveBalanceTransfer
public void testSingleLeaveApproveBalanceTransfer()
throws Exception
- Tests balance transfers triggered by max balance action frequency "leave approve"
Specifically, when a single accrual category has exceeded the max balance defined by the
accrual category's rules, max balance action frequency is leave approve, and action at max balance is transfer.
Would be better placed in LeaveCalendarWorkflowIntegrationTest.
- Throws:
Exception
testMultipleLeaveApproveBalanceTransfer
public void testMultipleLeaveApproveBalanceTransfer()
throws Exception
- Tests balance transfers triggered by max balance action frequency "leave approve"
Specifically, when multiple accrual categories have exceeded the max balance defined by the
accrual category's rules, max balance action frequency is leave approve, and action at max balance is transfer.
- Throws:
Exception
testNoEligibleAccrualCategorysForLeaveApproveBalanceTransfer
public void testNoEligibleAccrualCategorysForLeaveApproveBalanceTransfer()
throws Exception
- Tests leave calendar submit action does not trigger action redirects for balance transfer
submission when no accrual category is eligable for transfer.
- Throws:
Exception
testLookupPage
public void testLookupPage()
throws Exception
- Test the lookup results page, there should not be "edit" actions, only "view" actions
- Throws:
Exception
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.