com.ptc.windchill.uwgm.proesrv.request
Class GetFolderContentRequestTest
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.GetFolderContentRequestTest
- All Implemented Interfaces:
- junit.framework.Test, com.ptc.windchill.uwgm.test.util.UwgmTestConstants
- public class GetFolderContentRequestTest
- extends AbstractUwgmRequestTest
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 |
testName
private String testName
wsDataLoader
private com.ptc.windchill.uwgm.test.fixture.WorkspaceDataLoader wsDataLoader
log
private static Log log
GetFolderContentRequestTest
public GetFolderContentRequestTest()
GetFolderContentRequestTest
public GetFolderContentRequestTest(String name)
testSiteFolder
public void testSiteFolder()
throws Exception
- tests content of FakeFolder /Products
- Throws:
Exception
testRootFolder
public void testRootFolder()
throws Exception
- Throws:
Exception
testProductsFolder
public void testProductsFolder()
throws Exception
- Throws:
Exception
testWorkspacesFolder
public void testWorkspacesFolder()
throws Exception
- Throws:
Exception
testContainerFolder
public void testContainerFolder()
throws Exception
- Throws:
Exception
testWorkspaceFolder
public void testWorkspaceFolder()
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
createGetSiteFolderContentRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createGetSiteFolderContentRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createGetRootFolderContentRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createGetRootFolderContentRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createGetProductsFolderContentRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createGetProductsFolderContentRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createGetWorkspacesFolderContentRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createGetWorkspacesFolderContentRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createGetContainerFolderContentRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createGetContainerFolderContentRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
createGetWorkspaceFolderContentRequest
private com.ptc.windchill.uwgm.soap.uwgm.Request[] createGetWorkspaceFolderContentRequest()
throws com.ptc.cipjava.jxthrowable,
WTException
- Throws:
com.ptc.cipjava.jxthrowable
WTException
verifySiteContents
private void verifySiteContents(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyRootContents
private void verifyRootContents(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyProductsContents
private void verifyProductsContents(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyWorkspacesContents
private void verifyWorkspacesContents(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyContainerContents
private void verifyContainerContents(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
verifyWorkspaceFolderContent
private void verifyWorkspaceFolderContent(com.ptc.windchill.uwgm.soap.uwgm.Message message)
throws WTException
- Throws:
WTException
getReqAttrs
private com.ptc.windchill.uwgm.soap.uwgm.UwgmRequest.RequestedAttributes[] getReqAttrs()
createTestData
private void createTestData()
throws Exception
- Throws:
Exception
createTestDataSet
private void createTestDataSet()
throws Exception
- Throws:
Exception