Java Doc for TCTestCase.java in  » Net » Terracotta » com » tc » test » 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.tc.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.tc.test.TCTestCase

All known Subclasses:   com.tc.util.SetMapPerformanceTest,  com.tc.objectserver.persistence.sleepycat.SleepycatMapStoreTest,  com.tctest.InstrumentedJavaLangStringTest,  com.tc.config.schema.repository.StandardApplicationsRepositoryTest,  com.tc.config.schema.defaults.FromSchemaDefaultValueProviderTest,  com.tc.net.protocol.transport.ClientMessageTransportTest,  com.tc.util.HexDumpTest,  com.tc.net.groups.TribesGroupManagerTest,  com.tc.test.ClassBasedDirectoryTreeTest,  com.tc.test.TCTestCaseDisableSingleTest,  com.tc.io.TCByteBufferOutputStreamTest,  com.tc.object.tools.BootJarSignatureTest,  com.tc.simulator.distrunner.SetupTest,  com.tc.object.msg.CommitTransactionMessageTest,  com.tc.object.BaseDSOTestCase,  com.tc.net.protocol.transport.ConnectionIDTest,  com.tctest.spring.aop.DelegatingProxyAopProxy_Test,  com.tc.objectserver.managedobject.ManagedObjectSerializationPerformanceTest,  com.tc.net.protocol.tcm.HydrateHandlerTest,  com.tc.test.BitChangeNotReflected,  com.tc.util.SettableValueTest,  com.tc.config.schema.repository.ChildBeanRepositoryTest,  com.tctest.HashtableAutoLockTest,  com.tc.util.diff.BasicObjectDifferenceTest,  com.tc.util.diff.DifferenceBuilderTest,  com.tc.process.LinkedJavaProcessTest,  com.tc.io.TCByteBufferInputStreamTest,  com.tc.test.server.appserver.deployment.AbstractDeploymentTest,  com.tc.l2.state.StateManagerTest,  com.tc.config.schema.dynamic.XPathBasedConfigItemTestBase,  com.tc.objectserver.managedobject.bytecode.PhysicalStateClassLoaderTest,  com.tc.util.diff.DifferenceTest,  com.tc.util.StandardStringifierTest,  com.tc.objectserver.persistence.sleepycat.SleepycatCollectionsTest,  com.tctest.restart.unit.DSOServerRestartTester,  com.tc.util.SettableIntValueTest,  com.tc.net.util.InetSocketAddressListTest,  com.tc.objectserver.handler.ProcessTransactionHandlerTest,  com.tc.util.stringification.PrettyPrintUtilsTest,  com.tc.config.schema.L2ConfigForL1Test,  com.tc.config.schema.beanfactory.TerracottaDomainConfigurationDocumentBeanFactoryTest,  com.tc.config.schema.dynamic.NullConfigItemListenerTest,  com.tctest.spring.aop.SubclassingProxyAopProxy_Test,  com.tc.objectserver.persistence.sleepycat.SleepycatSequenceTest,  com.tc.objectserver.core.impl.BackReferencesTest,  com.tc.runtime.MemoryPoolsTest,  com.tc.object.cache.LRUEvictionPolicyTest,  com.tc.config.schema.dynamic.ObjectArrayXPathBasedConfigItemTest,  com.tc.test.transactions.StandardTransactionalObjectTest,  com.tc.config.schema.ConfigurationModelTest,  com.tc.util.EqualsEqualityComparatorTest,  com.tc.objectserver.impl.ManagedObjectPersistorImplTest,  com.tc.management.stats.AggregateIntegerTest,  com.tc.objectserver.tx.ServerTransactionIDTest,  com.tc.util.TimeMovesForwardTest,  com.tc.io.serializer.TCObjectInputOutputStreamTest,  com.tc.objectserver.handshakemanager.ServerClientHandshakeManagerTest,  com.tc.util.runtime.ThreadDumpTest,  com.tc.util.io.BlankLineSkippingBufferedReaderTest,  com.tc.object.msg.JMXMessageTest,  com.tc.net.protocol.transport.MessageTransportTest,  com.tc.config.schema.dynamic.XPathBasedConfigItemTest,  com.tc.util.SameObjectEqualityComparatorTest,  com.tc.async.impl.OrderedSinkTest,  com.tc.objectserver.persistence.sleepycat.TransactionPersistorTest,  com.tc.util.AssertTest,  com.tc.config.schema.listen.ConfigurationChangeListenerSetTest,  com.tc.util.OidLongArrayTest,  com.tc.objectserver.impl.InMemoryManagedObjectStoreTest,  com.tc.util.diff.PrimitiveDifferenceTest,  com.tc.objectserver.persistence.impl.GlobalTransactionIDBatchRequestHandlerTest,  com.tc.util.SettableBoolValueTest,  com.tc.util.concurrent.MonitorUtilsTest,  com.tc.runtime.TCMemoryManagerImplTest,  com.tc.util.ToStringStringifierTest,  com.tc.object.msg.RequestManagedObjectMessageImplTest,  com.tc.util.ObjectIDSetTest,  com.tc.objectserver.impl.TransactionStoreTest,  com.tc.config.schema.LicenseTypeTest,  com.tc.config.schema.beanfactory.BeanWithErrorsTest,  com.tctest.spring.aop.FastAopProxy_Test,  com.tc.test.restart.RestartTestEnvironmentTest,  com.tc.object.handshakemanager.ClientHandshakeManagerTest,  com.tc.object.bytecode.JavaUtilConcurrentLinkedBlockingQueueIteratorClassAdapterTest,  com.tc.config.schema.listen.NullConfigurationChangeListenerTest,  com.tc.net.protocol.transport.ServerStackProviderTest,  com.tc.object.cache.CacheManagerTest,  com.tc.objectserver.persistence.sleepycat.SleepycatSerializationTest,  com.tc.config.schema.context.StandardConfigContextTest,  com.tc.objectserver.tx.GlobalTransactionDescriptorTest,  com.tc.test.collections.CollectionComparerTestBase,  com.tc.util.AbstractIdentifierTest,  com.tc.util.StartupLockTest,  com.tc.config.schema.setup.TestTVSConfigurationSetupManagerFactoryTest,  com.tc.util.diff.DifferenceContextTest,  com.tc.objectserver.core.api.ManagedObjectTest,  com.tc.simulator.container.CommandLineContainerBuilderConfigTest,  com.tc.objectserver.uuid.UUIDTest,  com.tc.objectserver.tx.TransactionSequencerTest,  com.tc.config.schema.utils.StandardXmlObjectComparatorTest,  com.tc.net.protocol.tcm.MessageChannelTest,  com.tc.objectserver.tx.TransactionalObjectManagerTest,  com.tc.reporter.ArchiveUtilTest,  com.tc.net.core.SimpleServerTest,  com.tc.config.schema.dynamic.CompoundConfigItemListenerTest,  com.tc.util.StackTest,  com.tc.bootjar.java.util.HashMapTCTest,  com.tc.object.RemoteObjectManagerImplTest,  com.tc.bootjar.ParameterizedTypesTest,  com.tc.objectserver.tx.TransactionBatchManagerImplTest,  com.tc.cluster.ClusterTest,  com.tc.config.schema.repository.StandardBeanRepositoryTest,  com.tcverify.DSOVerifierTest,  com.tc.config.schema.ConfigObjectTestBase,  com.tc.objectserver.persistence.sleepycat.DBEnvironmentTest,
TCTestCase
public class TCTestCase extends TestCase (Code)
A base for all Terracotta tests.



Constructor Summary
public  TCTestCase()
    
public  TCTestCase(String arg0)
    

Method Summary
final protected  voidassertContains(String expected, String actual)
    
final protected  voidassertContains(String message, String expected, String actual)
    
final protected  voidassertContainsIgnoreCase(String expected, String actual)
    
final protected  voidassertContainsIgnoreCase(String message, String expected, String actual)
    
protected  voidassertEquals(byte[] b1, byte[] b2)
    
final protected  voidassertEqualsOrdered(Object one, Object two)
    
final protected  voidassertEqualsOrdered(Object one, Object two, EqualityComparator comparator)
    
final protected  voidassertEqualsUnordered(Object one, Object two)
    
final protected  voidassertEqualsUnordered(Object one, Object two, EqualityComparator comparator)
    
final protected  voidassertEqualsUnorderedUncounted(Object one, Object two)
    
final protected  voidassertEqualsUnorderedUncounted(Object one, Object two, EqualityComparator comparator)
    
final protected  voidassertEqualsVerbose(Object one, Object two)
    
final protected  voidassertEqualsVerbose(Object one, Object two, Stringifier stringifier)
    
final protected  voidassertEqualsVerbose(Object one, Object two, boolean showObjects)
    
final protected  voidassertEqualsVerbose(String message, Object one, Object two)
    
final protected  voidassertEqualsVerbose(String message, Object one, Object two, Stringifier stringifier)
    
final protected  voidassertEqualsVerbose(String message, Object one, Object two, boolean showObjects)
    
final protected  voidassertEqualsVerbose(String message, Object one, Object two, Stringifier stringifier, boolean showObjects)
    
protected  voidassertNotEquals(int i1, int i2)
    
protected  voidassertNotEquals(Object o1, Object o2)
    
final protected  voidassertSameOrdered(Object one, Object two)
    
final protected  voidassertSameUnordered(Object one, Object two)
    
final protected  voidassertSameUnorderedUncounted(Object one, Object two)
    
protected  voidassertSerializable(Object obj)
    
protected  voidassertSerializable(Object obj, boolean checkEquals, boolean checkHashCode)
    
protected synchronized  voidassertTimeDirection()
    
protected  voidbeforeTimeout()
    
protected  voidcheckComparator(Object smaller, Object bigger, Object equalToBigger, Comparator c)
    
protected  booleancleanTempDir()
    
final protected  voiddisableAllUntil(Date theDate)
     Disable ALL tests until the given date.
final protected  voiddisableAllUntil(String theDate)
     Disable ALL tests until the given date.
final protected  voiddisableAllUntil(String theDate, String[] platforms)
     Disable ALL tests until the given date.
final protected  voiddisableTestUntil(String method, String date)
     Disable the given test method until the given date.
final protected  voiddisableTestUntil(String method, String date, String[] platforms)
     Disable the given test method until the given date.
final protected  voiddisableTestUntil(String method, Date date)
     Disable the given test method until the given date.
protected  voiddoDumpServerDetails()
    
final protected  voidfail(Throwable t)
    
final protected  voidfail(String message, Throwable t)
    
final protected  FilegetDataDirectory()
    
final protected synchronized  DataDirectoryHelpergetDataDirectoryHelper()
    
final protected  FilegetDataFile(String fileName)
    
final protected  FilegetTempDirectory()
    
final protected synchronized  TempDirectoryHelpergetTempDirectoryHelper()
    
final protected  FilegetTempFile(String fileName)
    
protected  intgetThreadDumpCount()
    
protected  longgetThreadDumpInterval()
    
public  intgetTimeoutValueInSeconds()
    
final protected  booleanisAllDisabled()
    
public  voidrunBare()
    
public  voidsetDumpThreadsOnTimeout(boolean dump)
    
public  voidsetNumThreadDumps(int dumps)
    
public  voidsetThreadDumpInterval(long interval)
    
public  voidsetTimeoutThreshold(long threshold)
    


Constructor Detail
TCTestCase
public TCTestCase()(Code)



TCTestCase
public TCTestCase(String arg0)(Code)




Method Detail
assertContains
final protected void assertContains(String expected, String actual)(Code)



assertContains
final protected void assertContains(String message, String expected, String actual)(Code)



assertContainsIgnoreCase
final protected void assertContainsIgnoreCase(String expected, String actual)(Code)



assertContainsIgnoreCase
final protected void assertContainsIgnoreCase(String message, String expected, String actual)(Code)



assertEquals
protected void assertEquals(byte[] b1, byte[] b2)(Code)



assertEqualsOrdered
final protected void assertEqualsOrdered(Object one, Object two)(Code)



assertEqualsOrdered
final protected void assertEqualsOrdered(Object one, Object two, EqualityComparator comparator)(Code)



assertEqualsUnordered
final protected void assertEqualsUnordered(Object one, Object two)(Code)



assertEqualsUnordered
final protected void assertEqualsUnordered(Object one, Object two, EqualityComparator comparator)(Code)



assertEqualsUnorderedUncounted
final protected void assertEqualsUnorderedUncounted(Object one, Object two)(Code)



assertEqualsUnorderedUncounted
final protected void assertEqualsUnorderedUncounted(Object one, Object two, EqualityComparator comparator)(Code)



assertEqualsVerbose
final protected void assertEqualsVerbose(Object one, Object two)(Code)



assertEqualsVerbose
final protected void assertEqualsVerbose(Object one, Object two, Stringifier stringifier)(Code)



assertEqualsVerbose
final protected void assertEqualsVerbose(Object one, Object two, boolean showObjects)(Code)



assertEqualsVerbose
final protected void assertEqualsVerbose(String message, Object one, Object two)(Code)



assertEqualsVerbose
final protected void assertEqualsVerbose(String message, Object one, Object two, Stringifier stringifier)(Code)



assertEqualsVerbose
final protected void assertEqualsVerbose(String message, Object one, Object two, boolean showObjects)(Code)



assertEqualsVerbose
final protected void assertEqualsVerbose(String message, Object one, Object two, Stringifier stringifier, boolean showObjects)(Code)



assertNotEquals
protected void assertNotEquals(int i1, int i2)(Code)



assertNotEquals
protected void assertNotEquals(Object o1, Object o2)(Code)



assertSameOrdered
final protected void assertSameOrdered(Object one, Object two)(Code)



assertSameUnordered
final protected void assertSameUnordered(Object one, Object two)(Code)



assertSameUnorderedUncounted
final protected void assertSameUnorderedUncounted(Object one, Object two)(Code)



assertSerializable
protected void assertSerializable(Object obj)(Code)



assertSerializable
protected void assertSerializable(Object obj, boolean checkEquals, boolean checkHashCode)(Code)



assertTimeDirection
protected synchronized void assertTimeDirection()(Code)



beforeTimeout
protected void beforeTimeout() throws Throwable(Code)



checkComparator
protected void checkComparator(Object smaller, Object bigger, Object equalToBigger, Comparator c)(Code)



cleanTempDir
protected boolean cleanTempDir()(Code)



disableAllUntil
final protected void disableAllUntil(Date theDate)(Code)
Disable ALL tests until the given date. This method should be called in the constructor of your unit test



disableAllUntil
final protected void disableAllUntil(String theDate)(Code)
Disable ALL tests until the given date. This method should be called in the constructor of your unit test



disableAllUntil
final protected void disableAllUntil(String theDate, String[] platforms)(Code)
Disable ALL tests until the given date. This method should be called in the constructor of your unit test Only specified platforms ("windows", "linux", "solaris") will take effect.



disableTestUntil
final protected void disableTestUntil(String method, String date)(Code)
Disable the given test method until the given date. This method should be called in the constructor of your unit test



disableTestUntil
final protected void disableTestUntil(String method, String date, String[] platforms)(Code)
Disable the given test method until the given date. This method should be called in the constructor of your unit test. Only specified platforms ("windows", "linux", "solaris") take effect.



disableTestUntil
final protected void disableTestUntil(String method, Date date)(Code)
Disable the given test method until the given date. This method should be called in the constructor of your unit test



doDumpServerDetails
protected void doDumpServerDetails()(Code)



fail
final protected void fail(Throwable t)(Code)



fail
final protected void fail(String message, Throwable t)(Code)



getDataDirectory
final protected File getDataDirectory() throws IOException(Code)



getDataDirectoryHelper
final protected synchronized DataDirectoryHelper getDataDirectoryHelper()(Code)



getDataFile
final protected File getDataFile(String fileName) throws IOException(Code)



getTempDirectory
final protected File getTempDirectory() throws IOException(Code)



getTempDirectoryHelper
final protected synchronized TempDirectoryHelper getTempDirectoryHelper()(Code)



getTempFile
final protected File getTempFile(String fileName) throws IOException(Code)



getThreadDumpCount
protected int getThreadDumpCount()(Code)



getThreadDumpInterval
protected long getThreadDumpInterval()(Code)



getTimeoutValueInSeconds
public int getTimeoutValueInSeconds()(Code)
Returns the timeout value



isAllDisabled
final protected boolean isAllDisabled()(Code)



runBare
public void runBare() throws Throwable(Code)



setDumpThreadsOnTimeout
public void setDumpThreadsOnTimeout(boolean dump)(Code)



setNumThreadDumps
public void setNumThreadDumps(int dumps)(Code)



setThreadDumpInterval
public void setThreadDumpInterval(long interval)(Code)



setTimeoutThreshold
public void setTimeoutThreshold(long threshold)(Code)



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