org.kuali.hr.time.clock.location.validation
Class ClockLocationRuleTest

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.test.KPMETestCase
                  extended by org.kuali.hr.time.clock.location.validation.ClockLocationRuleTest
All Implemented Interfaces:
org.kuali.rice.test.MethodAware

public class ClockLocationRuleTest
extends KPMETestCase

A really basic unit test testing persistence and searching over persisted business objects.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.hr.test.KPMETestCase
KPMETestCase.ClearCacheLifecycle
 
Field Summary
 
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
 
Constructor Summary
ClockLocationRuleTest()
           
 
Method Summary
 void clearBusinessObjects(Class clazz)
           
 ClockLocationRule createClr(String ipAddress, Long workArea, String principalId, Long jobNumber)
           
 void deleteCLR(ClockLocationRule clr)
           
 void processRuleWithIPNoWarning(ClockLog clockLog, String ipAddress)
           
 void processRuleWithIPWithWarning(ClockLog clockLog, String ipAddress)
           
 void setUp()
           
 void testClockLocationIPAddress()
           
 void testClockLocationRuleFetch()
           
 void testClockLocationRuleProcessing()
           
 void testFindMatching()
           
 void testSave()
           
 
Methods inherited from class org.kuali.hr.test.KPMETestCase
futureEffectiveDateValidation, getModuleName, getPerTestLifecycles, getSuiteLifecycles, setFieldValue, tearDown
 
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

ClockLocationRuleTest

public ClockLocationRuleTest()
Method Detail

setUp

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

createClr

public ClockLocationRule createClr(String ipAddress,
                                   Long workArea,
                                   String principalId,
                                   Long jobNumber)

deleteCLR

public void deleteCLR(ClockLocationRule clr)

testSave

public void testSave()
              throws Exception
Throws:
Exception

testFindMatching

public void testFindMatching()
                      throws Exception
Throws:
Exception

testClockLocationRuleFetch

public void testClockLocationRuleFetch()
                                throws Exception
Throws:
Exception

testClockLocationRuleProcessing

public void testClockLocationRuleProcessing()

testClockLocationIPAddress

public void testClockLocationIPAddress()

processRuleWithIPNoWarning

public void processRuleWithIPNoWarning(ClockLog clockLog,
                                       String ipAddress)

processRuleWithIPWithWarning

public void processRuleWithIPWithWarning(ClockLog clockLog,
                                         String ipAddress)

clearBusinessObjects

public void clearBusinessObjects(Class clazz)


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