org.kuali.hr.lm.leaveCalendar
Class LeaveCalendarWebTestBase

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.LeaveCalendarWebTestBase
All Implemented Interfaces:
org.kuali.rice.test.MethodAware
Direct Known Subclasses:
LeaveCalendarWorkflowIntegrationTest

public abstract class LeaveCalendarWebTestBase
extends KPMEWebTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.hr.KPMEWebTestCase
KPMEWebTestCase.ClearCacheLifecycle
 
Field Summary
static org.joda.time.DateTime JAN_AS_OF_DATE
           
static String USER_PRINCIPAL_ID
           
 
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
LeaveCalendarWebTestBase()
           
 
Method Summary
 String getBaseDetailURL()
           
 String getLeaveCalendarUrl(String tdocId)
           
 com.gargoylesoftware.htmlunit.html.HtmlPage login(String principalId, String tdocId, boolean assertValid)
          Uses an ID hack to manipulate the current Test user Login.
 com.gargoylesoftware.htmlunit.html.HtmlPage loginAndGetLeaveCalendarHtmlPage(String principalId, String tdocId, boolean assertValid)
          Uses an ID hack to manipulate the current Test user Login.
 void setBaseDetailURL(String baseDetailURL)
           
 void setUp()
           
 void tearDown()
           
 
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
 

Field Detail

JAN_AS_OF_DATE

public static final org.joda.time.DateTime JAN_AS_OF_DATE

USER_PRINCIPAL_ID

public static final String USER_PRINCIPAL_ID
See Also:
Constant Field Values
Constructor Detail

LeaveCalendarWebTestBase

public LeaveCalendarWebTestBase()
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

getLeaveCalendarUrl

public String getLeaveCalendarUrl(String tdocId)

loginAndGetLeaveCalendarHtmlPage

public com.gargoylesoftware.htmlunit.html.HtmlPage loginAndGetLeaveCalendarHtmlPage(String principalId,
                                                                                    String tdocId,
                                                                                    boolean assertValid)
                                                                             throws Exception
Uses an ID hack to manipulate the current Test user Login.

Throws:
Exception

login

public com.gargoylesoftware.htmlunit.html.HtmlPage login(String principalId,
                                                         String tdocId,
                                                         boolean assertValid)
                                                  throws Exception
Uses an ID hack to manipulate the current Test user Login.

Throws:
Exception

getBaseDetailURL

public String getBaseDetailURL()

setBaseDetailURL

public void setBaseDetailURL(String baseDetailURL)


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