com.ptc.windchill.uwgm.common.pdm
Class PDMShareAndCheckoutHelperTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.ptc.windchill.uwgm.test.util.AbstractUwgmTest
com.ptc.windchill.uwgm.common.pdm.PDMShareAndCheckoutHelperTest
- All Implemented Interfaces:
- junit.framework.Test, com.ptc.windchill.uwgm.test.util.UwgmTestConstants
- public class PDMShareAndCheckoutHelperTest
- extends com.ptc.windchill.uwgm.test.util.AbstractUwgmTest
Unit test for DataShareUtilities and SandBoxUtilities
Nested classes inherited from class com.ptc.windchill.uwgm.test.util.AbstractUwgmTest |
|
Fields inherited from class com.ptc.windchill.uwgm.test.util.AbstractUwgmTest |
|
Fields inherited from class junit.framework.TestCase |
|
Fields inherited from interface com.ptc.windchill.uwgm.test.util.UwgmTestConstants |
UWGM_CLIENT_CACHE_ID, UWGM_CLIENT_NAME, UWGM_CLIENT_VERSION, UWGM_TEST_ASSEMBLY_CHILDREN_NOS, UWGM_TEST_BOOLEAN, UWGM_TEST_DEFAULT_FOLDER_PATH, UWGM_TEST_DEFAULT_LIFECYCLE_NAME, UWGM_TEST_DEFAULT_LIFECYCLE_PROP_NAME, UWGM_TEST_DEFAULT_TEAMTEMPLATE_NAME, UWGM_TEST_DOC_NAME_PREFIX, UWGM_TEST_DOC_NOS, UWGM_TEST_FAMILY_INSTANCE_NOS, UWGM_TEST_FLOAT, UWGM_TEST_FOLDER_NAME_PREFIX, UWGM_TEST_GENERIC_NAME_PREFIX, UWGM_TEST_INSTANCE_NAME_PREFIX, UWGM_TEST_INTEGER, UWGM_TEST_PART_NAME_PREFIX, UWGM_TEST_PART_NOS, UWGM_TEST_PRODUCT1_NAME, UWGM_TEST_PROJECT1_NAME, UWGM_TEST_STRING, UWGM_TEST_WORKSPACE_NAME_PREFIX |
Methods inherited from class com.ptc.windchill.uwgm.test.util.AbstractUwgmTest |
getTestResult, reportError, reportFailure, run |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
principal
private WTPrincipal principal
projectContainer
private WTContainer projectContainer
wsPDMLinkDataLoader
private com.ptc.windchill.uwgm.test.fixture.WorkspaceDataLoader wsPDMLinkDataLoader
wsProjectDataLoader
private com.ptc.windchill.uwgm.test.fixture.WorkspaceDataLoader wsProjectDataLoader
pdmLinkParts
private WTCollection pdmLinkParts
pdmLinkDocs
private WTCollection pdmLinkDocs
pdmLinkPartsAndDocs
private WTCollection pdmLinkPartsAndDocs
projectPartsAndDocs
private WTCollection projectPartsAndDocs
allPartsAndDocs
private WTCollection allPartsAndDocs
log
private static Log log
PDMShareAndCheckoutHelperTest
public PDMShareAndCheckoutHelperTest(String methodName)
setUp
protected void setUp()
throws Exception
- Throws:
Exception
tearDown
protected void tearDown()
throws Exception
- Throws:
Exception
testGetShareCandidates
public void testGetShareCandidates()
throws Exception
- Throws:
Exception
testGetPDMCheckoutCandidates
public void testGetPDMCheckoutCandidates()
throws Exception
- Throws:
Exception
testShare
public void testShare()
throws Exception
- Throws:
Exception
testPdmCheckout
public void testPdmCheckout()
throws Exception
- Throws:
Exception
getWorkspaceDataLoaderWithData
private com.ptc.windchill.uwgm.test.fixture.WorkspaceDataLoader getWorkspaceDataLoaderWithData(WTContainer container,
WTCollection wtParts,
WTCollection wtDocs,
WTCollection wtPartsAndDocs,
WTCollection wtAll)
throws Exception
- Throws:
Exception
releaseData
private void releaseData(com.ptc.windchill.uwgm.test.fixture.WorkspaceDataLoader wsDataLoader)
throws Exception
- Throws:
Exception
checkCandidates
private void checkCandidates(WTCollection candidates,
String candidateType)
throws Exception
- Throws:
Exception