org.kuali.hr.time.clock.web
Class ClockWebTest

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.web.ClockWebTest
All Implemented Interfaces:
org.kuali.rice.test.MethodAware

public class ClockWebTest
extends KPMETestCase


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
ClockWebTest()
           
 
Method Summary
 void createTB()
           
 Long maxDocumentId()
           
 Long maxTimeBlockId()
           
 void setWebClient(com.gargoylesoftware.htmlunit.WebClient webClient)
           
 void testClockActionWithGracePeriodRule()
           
 void testClockActionWithoutGracePeriodRule()
          This test is to : 1) make sure the seconds on clockTimestamp and timestamp are preserved when there is no grace period rule.
 void testDistributeTB()
           
 
Methods inherited from class org.kuali.hr.test.KPMETestCase
futureEffectiveDateValidation, getModuleName, getPerTestLifecycles, getSuiteLifecycles, setFieldValue, setUp, 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

ClockWebTest

public ClockWebTest()
Method Detail

maxDocumentId

public Long maxDocumentId()

maxTimeBlockId

public Long maxTimeBlockId()

createTB

public void createTB()

testDistributeTB

public void testDistributeTB()
                      throws Exception
Throws:
Exception

setWebClient

public void setWebClient(com.gargoylesoftware.htmlunit.WebClient webClient)

testClockActionWithoutGracePeriodRule

public void testClockActionWithoutGracePeriodRule()
                                           throws Exception
This test is to : 1) make sure the seconds on clockTimestamp and timestamp are preserved when there is no grace period rule. 2) the clock in / out button is correctly rendered

Throws:
Exception

testClockActionWithGracePeriodRule

public void testClockActionWithGracePeriodRule()
                                        throws Exception
Throws:
Exception


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