Java Doc for TransparentTestBase.java in  » Net » Terracotta » com » tctest » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Terracotta » com.tctest 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.tc.object.BaseDSOTestCase
   com.tctest.TransparentTestBase

All known Subclasses:   com.tctest.spring.SingletonWithInterceptor_Test,  com.tctest.WorkQueuesTest8,  com.tctest.CollectionsWrappersTest,  com.tctest.ConcurrentReadLockTest,  com.tctest.EhcacheEviction13Test,  com.tctest.ConcurrentHashMapLoadTest,  com.tctest.IllegalMonitorStateTest,  com.tctest.LinkedBlockingQueueSingleNodeTest,  com.tctest.restart.system.ObjectDataL1ReconnectCrashTest,  com.tctest.ArrayTest,  com.tctest.StackMutateValidateTest,  com.tctest.StringBufferTest,  com.tctest.GenericSetTest,  com.tctest.ProxyTest,  com.tctest.ReentrantLockCrashTest,  com.tctest.RAMDirectoryTest,  com.tctest.ConcurrentHashMapMultipleNodesTest,  com.tctest.AtomicIntegerTest,  com.tctest.PartialCollectionsCloneTest,  com.tctest.ClassInMapTest,  com.tctest.TreeSetTest,  com.tctest.InterruptTest,  com.tctest.TreeMapActivePassiveTest,  com.tctest.restart.system.ObjectDataTest,  com.tctest.JavaUtilArraysTest,  com.tctest.NestedReadOnlyTransactionTest,  com.tctest.spring.LogicalBean_Test,  com.tctest.TransparencyExceptionTest,  com.tctest.LinkedHashMapTest,  com.tctest.BigIntegerTest,  com.tctest.CustomClassAdapterTest,  com.tctest.IBatisSimpleDaoTest,  com.tctest.TransparentWaitNotifyTest,  com.tctest.GenericList15Test,  com.tctest.MutableInstrumentedEnumTest,  com.tctest.FutureTaskTest,  com.tctest.CacheEvictor124Test,  com.tctest.TransientFieldsTest,  com.tctest.HashMapBatchTxnTest,  com.tctest.JavaUtilConcurrentCloneTest,  com.tctest.FastHashMapTest,  com.tctest.spring.ErrorReporting_Test,  com.tctest.transparency.ClassNotPortableTest,  com.tctest.LinkedBlockingQueueProxyCrashTest,  com.tctest.ReflectionFieldTest,  com.tctest.MapOfMapsL1ReconnectTest,  com.tctest.spring.ActiveBean_Test,  com.tctest.SimplePrimitiveArrayTest,  com.tctest.AddIncludeClassFromBootJarTest,  com.tctest.RootClassChangeTest,  com.tctest.AccessibleObjectTest,  com.tctest.ReentrantReadWriteLockCrashTest,  com.tctest.MapClearDeadLocksSleepycatTest,  com.tctest.TransparentTHashSetTest,  com.tctest.spring.WebAppContext_Test,  com.tctest.spring.JmxSupport_Test,  com.tctest.BatchCollectionRetrieveTest,  com.tctest.MapValuesIteratorFaultBreadthTest,  com.tctest.EnumMapTest,  com.tctest.OnLoadTest,  com.tctest.LiteralValueRootTest,  com.tctest.GenericQueueTest,  com.tctest.JMXHeartBeatTest,  com.tctest.HashSetSubclassTest,  com.tctest.transparency.ShareExceptionsTest,  com.tctest.GreedyLocksSystemTest,  com.tctest.EnumTest,  com.tctest.LiteralAutoLockTest,  com.tctest.MapLocalStateTest,  com.tctest.ArrayMutateValidateTest,  com.tctest.SubtypeMatchingTest,  com.tctest.TreeMapRandomCrashTest,  com.tctest.restart.system.ObjectDataSynchronousWriteTest,  com.tctest.LogOutputTest,  com.tctest.WorkQueueTest6,  com.tctest.IllegalReconnectTest,  com.tctest.DuplicateRootNameTest,  com.tctest.LinkedBlockingQueueL1ReconnectCrashTest,  com.tctest.PhysicalInstrumentedMethodsTest,  com.tctest.BigIntegerDecimalTest,  com.tctest.LinkedHashMapClassAdapterTest,  com.tctest.LinkedBlockingQueueActivePassiveTest,  com.tctest.modules.lucene_2_0_0.SimpleLuceneDistributedIndexTest,  com.tctest.InterfaceTest,  com.tctest.WorkQueuesTest1,  com.tctest.CloneExceptionTest,  com.tctest.StringArrayCopyMethodsTest,  com.tctest.ConcurrentHashMapSyncTest,  com.tctest.UnsharedClassAsRootTest,  com.tctest.WorkQueuesTest4,  com.tctest.MissingClassApplyTest,  com.tctest.NamedLockUpgradeFailureTest,  com.tctest.TransparentVectorTest,  com.tctest.wicket.DistributedWicketTest,  com.tctest.WorkQueueTest7,  com.tctest.ShadowRootTest,  com.tctest.TransparentListTest,  com.tctest.spring.MultipleContexts_Test,  com.tctest.BlockingCache124Test,  com.tctest.RootReplacementTest,  com.tctest.ConcurrentLinkedListTest,  com.tctest.ReflectionArrayTest,  com.tctest.transparency.SubclassCloneTest,  com.tctest.WorkQueueTest2,  com.tctest.DistributedWaitTest,  com.tctest.restart.system.ObjectDataSynchronousWriteL1ReconnectTest,  com.tctest.WaitNotifySystemTest,  com.tctest.ResolveTwoActiveServersTest,  com.tctest.TransparentSetL1ReconnectCrashTest,  com.tctest.spring.AdviceClustering_Test,  com.tctest.LinkedHashMapMutateValidateTest,  com.tctest.LinkedBlockingQueueMultiThreadTest,  com.tctest.AutoLockVectorTest,  com.tctest.WorkQueueTest8,  com.tctest.MassCloneTest,  com.tctest.ListLocalStateTest,  com.tctest.ConcurrentHashMapTest,  com.tctest.ConcurrentLockSystemTest,  com.tctest.NonPortableGraphTest,  com.tctest.CloneTest,  com.tctest.NullLiteralArrayElementRegressionTest,  com.tctest.TransparencyTest,  com.tctest.DistributedWaitCrashTest,  com.tctest.WorkQueuesTest2,  com.tctest.TransparentLinkedListTest,  com.tctest.WorkQueueTest1,  com.tctest.LogicalIteratorTest,  com.tctest.AutoSynchTest,  com.tctest.HibernateSimpleTest,  com.tctest.AtomicLongTest,  com.tctest.DistributedMethodCallExpressionTest,  com.tctest.NullLiteralReferencesTest,  com.tctest.DistributedMethodCallTest,  com.tctest.NullRootTest,  com.tctest.transparency.SubClassOfThreadGotRootTest,  com.tctest.GenericDateTest,  com.tctest.AutolockedDistributedMethodCallTest,  com.tctest.LinkedBlockingQueueCrashTest,  com.tctest.GenericListTest,  com.tctest.ServerCrashingTestBase,  com.tctest.transparency.InstrumentEverythingTest,  com.tctest.perf.collections.AbstractPerfTestBase,  com.tctest.BatchRootFaultTest,  com.tctest.restart.system.ObjectDataProxyConnectCrashTest,  com.tctest.RandomIOClassesTest,  com.tctest.TransparencySpeedTest,  com.tctest.TreeMapBuggyComparatorTest,  com.tctest.CacheLoadPerformanceTest,  com.tctest.ClientMemoryReaperTest,  com.tctest.BlockingCache130Test,  com.tctest.ClusterMembershipEventJMXTest,  com.tctest.ByteCodePerformanceTest,  com.tctest.TransparentSetTest,  com.tctest.AnnotationTest,  com.tctest.spring.SingletonCrashTest,  com.tctest.GenericURLTest,  com.tctest.SynchronizedTest,  com.tctest.LRUMapTest,  com.tctest.restart.system.ObjectDataL1ReconnectActivePassiveTest,  com.tctest.ReflectionPerformanceTest,  com.tctest.ConcentratedClassTest,  com.tctest.SingleVMWaitNotifyTest,  com.tctest.LinkedHashMapSynchronousWriteTest,  com.tctest.ArrayCopyTest,  com.tctest.StateClassOnPassiveLosesInfoActivePassiveTest,  com.tctest.WorkQueueTest5,  com.tctest.AutoLockMapTest,  com.tctest.TransparentTransientTest,  com.tctest.LinkedBlockingQueueL1ReconnectActivePassiveTest,  com.tctest.spring.Singleton2_Test,  com.tctest.InterfaceInstrumentTest,  com.tctest.FastReadSlowWriteTest,  com.tctest.PrimitiveArrayTest,  com.tctest.EhcacheEvictionTest,  com.tctest.BundleClassExportTest,  com.tctest.IBatisSimpleTest,  com.tctest.GetRootFirstTest,  com.tctest.NestedPhysicalTransactionTest,  com.tctest.longrunning.LargeGraphTester,  com.tctest.EhcacheManagerTest,  com.tctest.ReentrantLockTest,  com.tctest.FileSharingTest,  com.tctest.ClearableTest,  com.tctest.InstrumentedConstructorTest,  com.tctest.GCTestBase,  com.tctest.TreeSetMutateValidateTest,  com.tctest.WorkQueueTest3,  com.tctest.longrunning.LongrunningGCTester,  com.tctest.transparency.InnerClassInstrumentationTest,  com.tctest.SyntheticFaultTest,  com.tctest.WorkQueueTest4,  com.tctest.SubtypeInstrumentTest,  com.tctest.spring.SimpleTransparentTestBase,  com.tctest.SetLocalStateTest,  com.tctest.LinkedBlockingQueueTest,  com.tctest.NonPortableInstancesTest,  com.tctest.ClientMemoryReaperSynchronousWriteTest,  com.tctest.LockStatisticsJMXTest,  com.tctest.TransparentTHashMapTest,  com.tctest.ShareableJavaLangObjectTest,  com.tctest.ClientDetectionTest,  com.tctest.ShareInnerOfInnerClassTest,  com.tctest.CacheEvictor130Test,  com.tctest.spring.AppContextEvents_Test,  com.tctest.transparency.InstrumentNothingTest,  com.tctest.NewObjectCreationRaceTest,  com.tctest.NestedTransactionTest,  com.tctest.MapOfMapsTest,  com.tctest.ShadowVariableTest,  com.tctest.ConcurrentHashMapSwapingTest,  com.tctest.NullReferenceTest,  com.tctest.EnumActivePassiveTest,  com.tctest.NestedConcurrentLockTest,  com.tctest.spring.InitializingBean_Test,  com.tctest.EnumSetTest,  com.tctest.CyclicBarrierTest,  com.tctest.ShareCurrencyTest,  com.tctest.UnsharedHashtableTest,  com.tctest.SerialVersionUIDTest,  com.tctest.WorkQueuesTest3,  com.tctest.ReentrantReadWriteLockTest,  com.tctest.TimeExpiryMapTest,  com.tctest.GenericMapTest,  com.tctest.RootInMapClassTest,  com.tctest.restart.system.ObjectDataRandomCrashTest,  com.tctest.LinkedQueueTest,
TransparentTestBase
abstract public class TransparentTestBase extends BaseDSOTestCase implements TransparentTestIface,TestConfigurator(Code)


Field Summary
final public static  intDEFAULT_ADAPTED_MUTATOR_COUNT
    
final public static  intDEFAULT_ADAPTED_VALIDATOR_COUNT
    
final public static  intDEFAULT_CLIENT_COUNT
    
final public static  intDEFAULT_INTENSITY
    
final public static  intDEFAULT_VALIDATOR_COUNT
    
protected  DistributedTestRunnerrunner
    


Method Summary
protected  booleancanRun()
    
protected  booleancanRunActivePassive()
    
protected  booleancanRunCrash()
    
protected  booleancanRunNormal()
    
protected  booleancanRunProxyConnect()
    
protected  booleancanSkipL1ReconnectCheck()
    
protected  TerracottaConfigBuildercreateConfigBuilder(int port, int adminPort)
    
protected  voiddoDumpServerDetails()
    
public  voiddoSetUp(TransparentTestIface t)
    
protected  booleanenableL1Reconnect()
    
protected  booleanenableManualProxyConnectControl()
    
abstract protected  ClassgetApplicationClass()
    
protected  ApplicationConfigBuildergetApplicationConfigBuilder()
    
public  TVSConfigurationSetupManagerFactorygetConfigFactory()
    
public  DSOClientConfigHelpergetConfigHelper()
    
protected  MapgetOptionalAttributes()
    
protected  ProxyConnectManagergetProxyConnectManager()
    
public  DistributedTestRunnerConfiggetRunnerConfig()
    
 StringgetServerPortProp()
    
protected  TestConfigObjectgetTestConfigObject()
    
public  TransparentAppConfiggetTransparentAppConfig()
    
public  voidinitializeTestRunner()
    
public  voidinitializeTestRunner(boolean isMutateValidateTest)
    
final protected synchronized  Stringmode()
    
public  voidsetApplicationConfigBuilder(ApplicationConfigBuilder builder)
    
protected  voidsetJavaHome()
    
protected  voidsetJvmArgsL1Reconnect(ArrayList jvmArgs)
    
protected  voidsetUp()
    
final protected  voidsetUpControlledServer(TestTVSConfigurationSetupManagerFactory factory, DSOClientConfigHelper helper, int serverPort, int adminPort, String configFile)
    
final protected  voidsetUpControlledServer(TestTVSConfigurationSetupManagerFactory factory, DSOClientConfigHelper helper, int serverPort, int adminPort, String configFile, List jvmArgs)
    
protected  voidsetUpExternalProcess(TestTVSConfigurationSetupManagerFactory factory, DSOClientConfigHelper helper, int serverPort, int adminPort, String configFile, List jvmArgs)
    
final protected  voidsetUpForMultipleExternalProcesses(TestTVSConfigurationSetupManagerFactory factory, DSOClientConfigHelper helper, int[] dsoPorts, int[] jmxPorts, int[] l2GroupPorts, int[] proxyPorts, String[] serverNames, File[] configFiles)
    
protected  voidsetupActivePassiveTest(ActivePassiveTestSetupManager setupManager)
    
protected  voidsetupConfig(TestTVSConfigurationSetupManagerFactory configFactory)
    
protected  voidsetupProxyConnectTest(ProxyConnectManager mgr)
    
protected  voidstartServerControlsAndProxies()
    
protected  voidtearDown()
    
public  voidtest()
    
protected  booleanuseExternalProcess()
    
protected  FilewriteMinimalConfig(int port, int adminPort)
    

Field Detail
DEFAULT_ADAPTED_MUTATOR_COUNT
final public static int DEFAULT_ADAPTED_MUTATOR_COUNT(Code)



DEFAULT_ADAPTED_VALIDATOR_COUNT
final public static int DEFAULT_ADAPTED_VALIDATOR_COUNT(Code)



DEFAULT_CLIENT_COUNT
final public static int DEFAULT_CLIENT_COUNT(Code)



DEFAULT_INTENSITY
final public static int DEFAULT_INTENSITY(Code)



DEFAULT_VALIDATOR_COUNT
final public static int DEFAULT_VALIDATOR_COUNT(Code)



runner
protected DistributedTestRunner runner(Code)





Method Detail
canRun
protected boolean canRun()(Code)



canRunActivePassive
protected boolean canRunActivePassive()(Code)



canRunCrash
protected boolean canRunCrash()(Code)



canRunNormal
protected boolean canRunNormal()(Code)



canRunProxyConnect
protected boolean canRunProxyConnect()(Code)



canSkipL1ReconnectCheck
protected boolean canSkipL1ReconnectCheck()(Code)



createConfigBuilder
protected TerracottaConfigBuilder createConfigBuilder(int port, int adminPort)(Code)



doDumpServerDetails
protected void doDumpServerDetails()(Code)



doSetUp
public void doSetUp(TransparentTestIface t) throws Exception(Code)



enableL1Reconnect
protected boolean enableL1Reconnect()(Code)



enableManualProxyConnectControl
protected boolean enableManualProxyConnectControl()(Code)



getApplicationClass
abstract protected Class getApplicationClass()(Code)



getApplicationConfigBuilder
protected ApplicationConfigBuilder getApplicationConfigBuilder()(Code)



getConfigFactory
public TVSConfigurationSetupManagerFactory getConfigFactory()(Code)



getConfigHelper
public DSOClientConfigHelper getConfigHelper()(Code)



getOptionalAttributes
protected Map getOptionalAttributes()(Code)



getProxyConnectManager
protected ProxyConnectManager getProxyConnectManager()(Code)



getRunnerConfig
public DistributedTestRunnerConfig getRunnerConfig()(Code)



getServerPortProp
String getServerPortProp()(Code)



getTestConfigObject
protected TestConfigObject getTestConfigObject()(Code)



getTransparentAppConfig
public TransparentAppConfig getTransparentAppConfig()(Code)



initializeTestRunner
public void initializeTestRunner() throws Exception(Code)



initializeTestRunner
public void initializeTestRunner(boolean isMutateValidateTest) throws Exception(Code)



mode
final protected synchronized String mode()(Code)



setApplicationConfigBuilder
public void setApplicationConfigBuilder(ApplicationConfigBuilder builder)(Code)



setJavaHome
protected void setJavaHome()(Code)



setJvmArgsL1Reconnect
protected void setJvmArgsL1Reconnect(ArrayList jvmArgs)(Code)



setUp
protected void setUp() throws Exception(Code)



setUpControlledServer
final protected void setUpControlledServer(TestTVSConfigurationSetupManagerFactory factory, DSOClientConfigHelper helper, int serverPort, int adminPort, String configFile) throws Exception(Code)



setUpControlledServer
final protected void setUpControlledServer(TestTVSConfigurationSetupManagerFactory factory, DSOClientConfigHelper helper, int serverPort, int adminPort, String configFile, List jvmArgs) throws Exception(Code)



setUpExternalProcess
protected void setUpExternalProcess(TestTVSConfigurationSetupManagerFactory factory, DSOClientConfigHelper helper, int serverPort, int adminPort, String configFile, List jvmArgs) throws Exception(Code)



setUpForMultipleExternalProcesses
final protected void setUpForMultipleExternalProcesses(TestTVSConfigurationSetupManagerFactory factory, DSOClientConfigHelper helper, int[] dsoPorts, int[] jmxPorts, int[] l2GroupPorts, int[] proxyPorts, String[] serverNames, File[] configFiles) throws Exception(Code)



setupActivePassiveTest
protected void setupActivePassiveTest(ActivePassiveTestSetupManager setupManager)(Code)



setupConfig
protected void setupConfig(TestTVSConfigurationSetupManagerFactory configFactory)(Code)



setupProxyConnectTest
protected void setupProxyConnectTest(ProxyConnectManager mgr)(Code)



startServerControlsAndProxies
protected void startServerControlsAndProxies() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



test
public void test() throws Exception(Code)



useExternalProcess
protected boolean useExternalProcess()(Code)



writeMinimalConfig
protected File writeMinimalConfig(int port, int adminPort)(Code)



Methods inherited from com.tc.object.BaseDSOTestCase
final protected synchronized TestTVSConfigurationSetupManagerFactory configFactory() throws ConfigurationSetupException(Code)(Java Doc)
final protected synchronized DSOClientConfigHelper configHelper() throws ConfigurationSetupException(Code)(Java Doc)
final protected TestTVSConfigurationSetupManagerFactory createCentralizedConfigFactory() throws ConfigurationSetupException(Code)(Java Doc)
final protected DSOClientConfigHelper createClientConfigHelper() throws ConfigurationSetupException(Code)(Java Doc)
final protected TestTVSConfigurationSetupManagerFactory createDistributedConfigFactory() throws ConfigurationSetupException(Code)(Java Doc)
final protected L1TVSConfigurationSetupManager createL1ConfigManager() throws ConfigurationSetupException(Code)(Java Doc)
final protected synchronized L1TVSConfigurationSetupManager l1Manager() throws ConfigurationSetupException(Code)(Java Doc)
final protected void makeClientUsePort(int whichPort) throws ConfigurationSetupException(Code)(Java Doc)
public void runBare() throws Throwable(Code)(Java Doc)
protected void tearDown() throws Exception(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.