com.ptc.windchill.uwgm.proesrv.request
Class CheckinRequestWithAutoPartTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.ptc.windchill.uwgm.test.util.AbstractUwgmTest
com.ptc.windchill.uwgm.proesrv.request.CheckinRequestWithAutoPartTest
- All Implemented Interfaces:
- junit.framework.Test, com.ptc.windchill.uwgm.test.util.UwgmTestConstants
- public class CheckinRequestWithAutoPartTest
- extends com.ptc.windchill.uwgm.test.util.AbstractUwgmTest
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 |
ws
private EPMWorkspace ws
testProduct
private WTContainer testProduct
objectCollection
private WTCollection objectCollection
principal
private WTPrincipal principal
wsDataLoader
private com.ptc.windchill.uwgm.test.fixture.WorkspaceRequestDataLoader wsDataLoader
oidHelper
public final ObjectIdentifierHelper oidHelper
defaultFolder
private Folder defaultFolder
log
private static Log log
CheckinRequestWithAutoPartTest
public CheckinRequestWithAutoPartTest()
CheckinRequestWithAutoPartTest
public CheckinRequestWithAutoPartTest(String methodName)
suite
public static junit.framework.Test suite()
setUp
protected void setUp()
throws Exception
- Throws:
Exception
testCheckinRequestWithAutoPart
public void testCheckinRequestWithAutoPart()
throws Exception
- This method tests if the CheckinRequestWithAutoPart gets executed successfully.
- Throws:
Exception
verifyCheckinSuccess
private boolean verifyCheckinSuccess(WTCollection masters)
throws WTException
- Throws:
WTException
findMasters
private WTCollection findMasters(com.ptc.windchill.uwgm.test.fixture.WorkspaceRequestDataLoader wsDataLoader)
throws WTException
- Throws:
WTException
getWorkspaceObjects
private WTCollection getWorkspaceObjects(EPMWorkspace workspace)
throws WTException
- Throws:
WTException
createCheckinRequestData
private com.ptc.windchill.uwgm.soap.impl.uwgmsvc.Checkin_i createCheckinRequestData()
throws WTException
- Throws:
WTException
createTargetFolderInstructions
private com.ptc.windchill.uwgm.soap.uwgmsvc.CheckinInstruction.Iterator createTargetFolderInstructions()
throws WTException
- Throws:
WTException
createCheckinInstruction
private com.ptc.windchill.uwgm.soap.uwgmsvc.CheckinInstruction createCheckinInstruction(Persistable persistable)
throws WTException
- Throws:
WTException
getFolderedIteration
private com.ptc.windchill.uwgm.soap.uwgmdb.FolderedIteration getFolderedIteration(Persistable persistable)
throws WTException
- Throws:
WTException
getFolder
private com.ptc.windchill.uwgm.soap.impl.uwgmdb.Folder_i getFolder()
throws WTException
- Throws:
WTException
createTransaction
private com.ptc.windchill.uwgm.soap.uwgm.UwgmTransaction createTransaction(com.ptc.windchill.uwgm.soap.impl.uwgmsvc.Checkin_i CheckinReq)
throws WTException,
com.ptc.cipjava.jxthrowable
- Throws:
WTException
com.ptc.cipjava.jxthrowable
createTransactionResponse
private void createTransactionResponse(com.ptc.windchill.uwgm.soap.uwgm.UwgmTransaction uwgmTransaction)
throws WTException,
com.ptc.cipjava.jxthrowable
- Throws:
WTException
com.ptc.cipjava.jxthrowable
getWorkspace
private com.ptc.windchill.uwgm.soap.impl.uwgmdb.Workspace_i getWorkspace()
throws WTException
- Throws:
WTException
getEpmIteration
private com.ptc.windchill.uwgm.soap.uwgmdb.EpmIteration getEpmIteration(EPMDocument wtEpmDoc)
throws WTException
- Throws:
WTException
getPartIteration
com.ptc.windchill.uwgm.soap.uwgmdb.PartIteration getPartIteration(WTPart wtPart)
throws WTException
- Throws:
WTException
getIterationsIterator
private com.ptc.windchill.uwgm.soap.uwgmdb.Iteration.Iterator getIterationsIterator(WTCollection iterations)
throws WTException
- Throws:
WTException
tearDown
protected void tearDown()
throws WTException
- Throws:
WTException
main
public static void main(String[] args)