| 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.
|
Method Summary | |
final protected void | assertContains(String expected, String actual) | final protected void | assertContains(String message, String expected, String actual) | final protected void | assertContainsIgnoreCase(String expected, String actual) | final protected void | assertContainsIgnoreCase(String message, String expected, String actual) | protected void | assertEquals(byte[] b1, byte[] b2) | final protected void | assertEqualsOrdered(Object one, Object two) | final protected void | assertEqualsOrdered(Object one, Object two, EqualityComparator comparator) | final protected void | assertEqualsUnordered(Object one, Object two) | final protected void | assertEqualsUnordered(Object one, Object two, EqualityComparator comparator) | final protected void | assertEqualsUnorderedUncounted(Object one, Object two) | final protected void | assertEqualsUnorderedUncounted(Object one, Object two, EqualityComparator comparator) | final protected void | assertEqualsVerbose(Object one, Object two) | final protected void | assertEqualsVerbose(Object one, Object two, Stringifier stringifier) | final protected void | assertEqualsVerbose(Object one, Object two, boolean showObjects) | final protected void | assertEqualsVerbose(String message, Object one, Object two) | final protected void | assertEqualsVerbose(String message, Object one, Object two, Stringifier stringifier) | final protected void | assertEqualsVerbose(String message, Object one, Object two, boolean showObjects) | final protected void | assertEqualsVerbose(String message, Object one, Object two, Stringifier stringifier, boolean showObjects) | protected void | assertNotEquals(int i1, int i2) | protected void | assertNotEquals(Object o1, Object o2) | final protected void | assertSameOrdered(Object one, Object two) | final protected void | assertSameUnordered(Object one, Object two) | final protected void | assertSameUnorderedUncounted(Object one, Object two) | protected void | assertSerializable(Object obj) | protected void | assertSerializable(Object obj, boolean checkEquals, boolean checkHashCode) | protected synchronized void | assertTimeDirection() | protected void | beforeTimeout() | protected void | checkComparator(Object smaller, Object bigger, Object equalToBigger, Comparator c) | protected boolean | cleanTempDir() | final protected void | disableAllUntil(Date theDate) Disable ALL tests until the given date. | final protected void | disableAllUntil(String theDate) Disable ALL tests until the given date. | final protected void | disableAllUntil(String theDate, String[] platforms) Disable ALL tests until the given date. | final protected void | disableTestUntil(String method, String date) Disable the given test method until the given date. | final protected void | disableTestUntil(String method, String date, String[] platforms) Disable the given test method until the given date. | final protected void | disableTestUntil(String method, Date date) Disable the given test method until the given date. | protected void | doDumpServerDetails() | final protected void | fail(Throwable t) | final protected void | fail(String message, Throwable t) | final protected File | getDataDirectory() | final protected synchronized DataDirectoryHelper | getDataDirectoryHelper() | final protected File | getDataFile(String fileName) | final protected File | getTempDirectory() | final protected synchronized TempDirectoryHelper | getTempDirectoryHelper() | final protected File | getTempFile(String fileName) | protected int | getThreadDumpCount() | protected long | getThreadDumpInterval() | public int | getTimeoutValueInSeconds() | final protected boolean | isAllDisabled() | public void | runBare() | public void | setDumpThreadsOnTimeout(boolean dump) | public void | setNumThreadDumps(int dumps) | public void | setThreadDumpInterval(long interval) | public void | setTimeoutThreshold(long threshold) |
TCTestCase | public TCTestCase()(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) | | |
assertEqualsUnordered | final protected void assertEqualsUnordered(Object one, Object two)(Code) | | |
assertEqualsUnorderedUncounted | final protected void assertEqualsUnorderedUncounted(Object one, Object two)(Code) | | |
assertEqualsVerbose | final protected void assertEqualsVerbose(Object one, Object two, boolean showObjects)(Code) | | |
assertEqualsVerbose | final protected void assertEqualsVerbose(String message, Object one, Object two, boolean showObjects)(Code) | | |
assertNotEquals | protected void assertNotEquals(int i1, int i2)(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) | | |
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) | | |
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) | | |
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) | | |
|
|