org.kuali.hr.lm.leaveCalendar.validation
Class LeaveCalendarValidationServiceTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.hr.KPMEWebTestCase
                  extended by org.kuali.hr.lm.leaveCalendar.validation.LeaveCalendarValidationServiceTest
All Implemented Interfaces:
org.kuali.rice.test.MethodAware

public class LeaveCalendarValidationServiceTest
extends KPMEWebTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.hr.KPMEWebTestCase
KPMEWebTestCase.ClearCacheLifecycle
 
Field Summary
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, LOG, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
LeaveCalendarValidationServiceTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testGetWarningTextForLeaveBlocks()
           
 void testValidateAvailableLeaveBalance()
           
 void testValidateEditLeaveBlockMaxUsageRuleCaseOne()
           
 void testValidateEditLeaveBlockMaxUsageRuleCaseThree()
           
 void testValidateEditLeaveBlockMaxUsageRuleCaseTwo()
           
 void testValidateLeaveNonSpanEqualsMaxUsageRule()
           
 void testValidateLeaveNonSpanOverMaxUsageRule()
           
 void testValidateLeaveSpanEqualMaxUsageRule()
           
 void testValidateLeaveSpanOverMaxUsageRule()
           
 void testValidateLeaveSpanUnderMaxUsageRule()
           
 
Methods inherited from class org.kuali.hr.KPMEWebTestCase
getBaseURL, getContext, getModuleName, getPerTestLifecycles, getPort, getSuiteLifecycles, getTempDir, getWebClient, setWebClient
 
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
 

Constructor Detail

LeaveCalendarValidationServiceTest

public LeaveCalendarValidationServiceTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class KPMEWebTestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class KPMEWebTestCase
Throws:
Exception

testValidateAvailableLeaveBalance

public void testValidateAvailableLeaveBalance()
                                       throws Exception
Throws:
Exception

testValidateLeaveSpanOverMaxUsageRule

public void testValidateLeaveSpanOverMaxUsageRule()
                                           throws Exception
Throws:
Exception

testValidateLeaveSpanUnderMaxUsageRule

public void testValidateLeaveSpanUnderMaxUsageRule()
                                            throws Exception
Throws:
Exception

testValidateLeaveSpanEqualMaxUsageRule

public void testValidateLeaveSpanEqualMaxUsageRule()
                                            throws Exception
Throws:
Exception

testValidateLeaveNonSpanOverMaxUsageRule

public void testValidateLeaveNonSpanOverMaxUsageRule()
                                              throws Exception
Throws:
Exception

testValidateLeaveNonSpanEqualsMaxUsageRule

public void testValidateLeaveNonSpanEqualsMaxUsageRule()
                                                throws Exception
Throws:
Exception

testValidateEditLeaveBlockMaxUsageRuleCaseOne

public void testValidateEditLeaveBlockMaxUsageRuleCaseOne()
                                                   throws Exception
Throws:
Exception

testValidateEditLeaveBlockMaxUsageRuleCaseTwo

public void testValidateEditLeaveBlockMaxUsageRuleCaseTwo()
                                                   throws Exception
Throws:
Exception

testValidateEditLeaveBlockMaxUsageRuleCaseThree

public void testValidateEditLeaveBlockMaxUsageRuleCaseThree()
                                                     throws Exception
Throws:
Exception

testGetWarningTextForLeaveBlocks

public void testGetWarningTextForLeaveBlocks()
                                      throws Exception
Throws:
Exception


Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.