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.KPMEWebTestCase
                  extended by org.kuali.hr.time.clock.web.ClockWebTest
All Implemented Interfaces:
org.kuali.rice.test.MethodAware

public class ClockWebTest
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
ClockWebTest()
           
 
Method Summary
 void createTB()
           
 Long maxDocumentId()
           
 Long maxTimeBlockId()
           
 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 testClockInOutWithTimezone()
           
 void testDistributeTB()
           
 void updateWebClient()
           
 
Methods inherited from class org.kuali.hr.KPMEWebTestCase
getBaseURL, getContext, getModuleName, getPerTestLifecycles, getPort, getSuiteLifecycles, getTempDir, getWebClient, setUp, setWebClient, 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

updateWebClient

public void updateWebClient()

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

testClockInOutWithTimezone

public void testClockInOutWithTimezone()
                                throws Exception
Throws:
Exception


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