com.ptc.windchill.uwgm.proesrv.request
Class FindIterationsRequestTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.ptc.windchill.uwgm.test.util.AbstractUwgmTest
com.ptc.windchill.uwgm.proesrv.request.AbstractUwgmRequestTest
com.ptc.windchill.uwgm.proesrv.request.FindIterationsRequestTest
- All Implemented Interfaces:
- junit.framework.Test, com.ptc.windchill.uwgm.test.util.UwgmTestConstants
- public class FindIterationsRequestTest
- extends AbstractUwgmRequestTest
Unit test for FindIterationsRequest
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.proesrv.request.AbstractUwgmRequestTest |
createUwgmIterations, createUwgmIterations, createUwgmIterations, createUwgmWorkspace, createUwgmWorkspace, createUwgmWorkspace, getWorkspaceObjects, getWorkspaceObjectsMap, performUwgmRequestTest, printIterations, printRequest, printWorkspace, setUp, verifyResponseMessages, verifyTransactionMessages |
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, tearDown, 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 |
log
private static Log log
testName
private String testName
wsDataLoader
private com.ptc.windchill.uwgm.test.fixture.WorkspaceDataLoader wsDataLoader
testDocs
private EPMDocument[] testDocs
testParts
private WTPart[] testParts
generic
private EPMDocument generic
instances
private WTCollection instances
FindIterationsRequestTest
public FindIterationsRequestTest()
FindIterationsRequestTest
public FindIterationsRequestTest(String name)
testFindIterationsByCadName
public void testFindIterationsByCadName()
throws Exception
- Throws:
Exception
testFindPartIteration
public void testFindPartIteration()
throws Exception
- Throws:
Exception
testFindEpmGenericOf
public void testFindEpmGenericOf()
throws Exception
- Throws:
Exception
testFindEpmInstanceOf
public void testFindEpmInstanceOf()
throws Exception
- Throws:
Exception
testFindEpmHelperOf
public void testFindEpmHelperOf()
throws Exception
- Throws:
Exception
testFindEpmHelperOfForNonFTMemberRequest
public void testFindEpmHelperOfForNonFTMemberRequest()
throws Exception
- Throws:
Exception
createRequests
protected com.ptc.windchill.uwgm.soap.uwgm.Request[] createRequests()
throws com.ptc.cipjava.jxthrowable,
WTException
- Specified by:
createRequests
in class AbstractUwgmRequestTest
- Throws:
com.ptc.cipjava.jxthrowable
WTException
verifySuccessMessage
protected void verifySuccessMessage(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Overrides:
verifySuccessMessage
in class AbstractUwgmRequestTest
- Throws:
WTException
createFindIterationsByCadNameRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createFindIterationsByCadNameRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createFindPartIterationRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createFindPartIterationRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createFindEpmGenericOfRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createFindEpmGenericOfRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createFindEpmInstanceOfRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createFindEpmInstanceOfRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createFindEpmHelperOfRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createFindEpmHelperOfRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createFindEpmHelperOfForNonFTMemberRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createFindEpmHelperOfForNonFTMemberRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
verifyFoundCadName
private void verifyFoundCadName(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyFoundPartNumber
private void verifyFoundPartNumber(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyFoundGenericName
private void verifyFoundGenericName(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyFoundInstanceNames
private void verifyFoundInstanceNames(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyFoundMemberNames
private void verifyFoundMemberNames(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyNotFounds
private void verifyNotFounds(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
getEpmReqAttrs
private com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes[] getEpmReqAttrs()
getPartReqAttrs
private com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes[] getPartReqAttrs()
createTestData
private void createTestData()
throws Exception
- Throws:
Exception
createFamilyTestData
private void createFamilyTestData()
throws Exception
- Throws:
Exception