wt.epm.retriever
Class FamilyTableRetrieverPerformanceTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.ptc.windchill.uwgm.test.util.AbstractUwgmTest
              extended bywt.epm.retriever.FamilyTableRetrieverPerformanceTest
All Implemented Interfaces:
junit.framework.Test, com.ptc.windchill.uwgm.test.util.UwgmTestConstants

public class FamilyTableRetrieverPerformanceTest
extends com.ptc.windchill.uwgm.test.util.AbstractUwgmTest

Unit test of FamilyTableRetriver performance


Nested Class Summary
 
Nested classes inherited from class com.ptc.windchill.uwgm.test.util.AbstractUwgmTest
 
Field Summary
private  WTHashSet ft
           
private  WTHashSet ft2
           
private  int instanceNumber
           
private static Log log
          logging
private  EPMWorkspace ws
           
 
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
 
Constructor Summary
FamilyTableRetrieverPerformanceTest()
           
FamilyTableRetrieverPerformanceTest(String testName)
           
 
Method Summary
private  void printResults(String msg, long start)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testFamilyTableRetrieverPerformance()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instanceNumber

private final int instanceNumber
See Also:
Constant Field Values

ft2

private WTHashSet ft2

ft

private WTHashSet ft

ws

private EPMWorkspace ws

log

private static Log log
logging

Constructor Detail

FamilyTableRetrieverPerformanceTest

public FamilyTableRetrieverPerformanceTest()

FamilyTableRetrieverPerformanceTest

public FamilyTableRetrieverPerformanceTest(String testName)
Method Detail

setUp

protected void setUp()

tearDown

protected void tearDown()

testFamilyTableRetrieverPerformance

public void testFamilyTableRetrieverPerformance()

printResults

private void printResults(String msg,
                          long start)