org.kuali.rice.kew.docmentlink
Class DocumentLinkTest

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.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.kew.test.KEWTestCase
                          extended by org.kuali.rice.kew.docmentlink.DocumentLinkTest
All Implemented Interfaces:
MethodAware

public class DocumentLinkTest
extends KEWTestCase

This is a description of what this class does - g1zhang don't forget to fill this in.

Author:
Kuali Rice Team (kuali-rice@googlegroups.com)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.test.KEWTestCase
KEWTestCase.ClearCacheLifecycle
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
moduleName
 
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
DocumentLinkTest()
           
 
Method Summary
protected  void setUpAfterDataLoad()
          Default implementation does nothing.
 void testAddDuplicatedLinkBTW2DocsFailure()
           
 void testAddIncomplelteLinkBTW2DocsFailure()
           
 void testAddLinkBTW2DocsSucess()
           
 void testDocLinktoItself()
           
 void testGetAllLinksFromOrgnDocFailure()
           
 void testGetAllLinksFromOrgnDocSucess()
           
 void testGetLinkBTW2DocsFailure()
           
 void testGetLinkBTW2DocsSucess()
           
 void testRemoveAllLinksFromOrgnDocSucess()
           
 void testRemoveLinkBTW2DocsSucess()
           
 
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getRoleIdForName, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
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

DocumentLinkTest

public DocumentLinkTest()
Method Detail

setUpAfterDataLoad

protected void setUpAfterDataLoad()
                           throws Exception
Description copied from class: KEWTestCase
Default implementation does nothing. Subclasses should override this method if they want to perform setup work inside of a database transaction.

Overrides:
setUpAfterDataLoad in class KEWTestCase
Throws:
Exception

testAddLinkBTW2DocsSucess

public void testAddLinkBTW2DocsSucess()
                               throws Exception
Throws:
Exception

testAddDuplicatedLinkBTW2DocsFailure

public void testAddDuplicatedLinkBTW2DocsFailure()
                                          throws Exception
Throws:
Exception

testAddIncomplelteLinkBTW2DocsFailure

public void testAddIncomplelteLinkBTW2DocsFailure()
                                           throws Exception
Throws:
Exception

testGetLinkBTW2DocsSucess

public void testGetLinkBTW2DocsSucess()
                               throws Exception
Throws:
Exception

testGetLinkBTW2DocsFailure

public void testGetLinkBTW2DocsFailure()
                                throws Exception
Throws:
Exception

testGetAllLinksFromOrgnDocSucess

public void testGetAllLinksFromOrgnDocSucess()
                                      throws Exception
Throws:
Exception

testGetAllLinksFromOrgnDocFailure

public void testGetAllLinksFromOrgnDocFailure()
                                       throws Exception
Throws:
Exception

testRemoveLinkBTW2DocsSucess

public void testRemoveLinkBTW2DocsSucess()
                                  throws Exception
Throws:
Exception

testRemoveAllLinksFromOrgnDocSucess

public void testRemoveAllLinksFromOrgnDocSucess()
                                         throws Exception
Throws:
Exception

testDocLinktoItself

public void testDocLinktoItself()
                         throws Exception
Throws:
Exception


Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.