See: Description
| Class | Description |
|---|---|
| BridgeMembershipDUnitTest |
Tests the BridgeMembership API including BridgeMembershipListener.
|
| BridgeMembershipSelectorDUnitTest |
Same as BridgeMembershipDUnitTest but uses selector in server
|
| BridgeTestCase |
Provides helper methods for testing BridgeServers and bridge clients.
|
| BridgeTestCase.BridgeServerCacheLoader |
Create a bridgeserver that has a value for every key queried and a unique
key/value in the specified Region that uniquely identifies each instance.
|
| BridgeWriterDUnitTest |
Tests the BridgeWriter API, including interaction with Region.
|
| BridgeWriterSelectorDUnitTest |
Same as BridgeWriterDUnitTest but uses selector in server
|
| Bug34387DUnitTest |
Test create + localDestroy for bug 34387
|
| Bug34948DUnitTest |
Test to make sure cache values are lazily deserialized
|
| Bug34948DUnitTest.HomeBoy | |
| Bug35214DUnitTest |
Make sure entry expiration does not happen during gii for bug 35214
|
| Bug38013DUnitTest |
Test to make sure PR cache values are lazily deserialized
|
| Bug38013DUnitTest.HomeBoy | |
| Bug38741DUnitTest |
Class to fix bug reported by customer, see
bug 38741 for details
|
| Bug38741DUnitTest.SerializationCountingKey | |
| Bug38741DUnitTest.SerializationCountingValue | |
| CacheCloseTest |
Test to make sure cache close is working.
|
| CachedAllEventsDUnitTest |
Make sure that create are distributed and done in
remote regions that are CACHED_ALL_EVENTS*.
|
| CacheListenerTestCase |
An abstract class whose test methods test the functionality of
CacheListeners that are invoked locally. |
| CacheLoaderTestCase |
An abstract class whose test methods test the functionality of
CacheLoaders that are invoked locally. |
| CacheLogRollTest |
Test to make sure cache close is working.
|
| CacheMapTxnDUnitTest | |
| CacheRegionsReliablityStatsCheckTest | |
| CacheSerializableRunnable |
A helper class that provides the
SerializableRunnable
class, but uses a CacheSerializableRunnable.run2() method instead that throws CacheException. |
| CacheStatisticsTest |
Tests the
CacheStatistics that are maintained by a Region and a Region.Entry. |
| CacheTestCase |
The abstract superclass of tests that require the creation of a
Cache. |
| CacheWriterTestCase |
An abstract class whose test methods test the functionality of
CacheWriters that are invoked locally. |
| CacheXml30Test |
Tests the functionality of loading a declarative caching file when
a
Cache is created. |
| CacheXml30Test.CacheLoaderWithDeclarables |
A
CacheLoader that is Declarable and
has some interesting parameters. |
| CacheXml30Test.EvictionObjectSizer | |
| CacheXml30Test.ExceptionalCacheListener |
A cache listener whose constructor throws an exception
|
| CacheXml30Test.MyTestCacheListener |
A
CacheListener that is
Declarable, but not Declarable2. |
| CacheXml30Test.MyTestCacheWriter |
A
CacheWriter that is
Declarable, but not Declarable2. |
| CacheXml30Test.MyTestTransactionListener |
A
TransactionListener that is
Declarable, but not Declarable2. |
| CacheXml30Test.NotDeclarableCacheListener |
A cache listener that is not
Declarable |
| CacheXml30Test.TestBridgeClient | |
| CacheXml30Test.TestDeclarable | |
| CacheXml40Test |
Tests the declarative caching functionality introduced in GemFire
4.0.
|
| CacheXml41Test |
Tests the declarative caching functionality introduced in GemFire 4.1.
|
| CacheXml45Test |
Tests the declarative caching functionality introduced in GemFire
5.0 (i.e.
|
| CacheXml45Test.MySecondTestCacheListener |
A
CacheListener that is
Declarable, but not Declarable2. |
| CacheXml45Test.MySecondTestTransactionListener |
A
TransactionListener that is
Declarable, but not Declarable2. |
| CacheXml51Test |
Tests the declarative caching functionality introduced in the GemFire
5.0 (i.e.
|
| CacheXml55Test |
Tests the declarative caching functionality introduced in the GemFire
5.0 (i.e.
|
| CacheXml57Test |
Tests 5.7 cache.xml features.
|
| CacheXml57Test.Expiry1 | |
| CacheXml57Test.Expiry2 | |
| CacheXml57Test.Expiry3 | |
| CacheXml57Test.Expiry4 | |
| CacheXml57Test.Expiry5 | |
| CacheXml57Test.MyLoadProbe | |
| CacheXml58Test |
Tests 5.8 cache.xml features.
|
| CacheXml60Test |
Tests 6.0 cache.xml features.
|
| CacheXml60Test.BadSerializer | |
| CacheXml60Test.DS1 | |
| CacheXml60Test.DS2 | |
| CacheXml60Test.GoodSerializer | |
| CacheXml60Test.NotDataSerializable | |
| CacheXml61Test |
Tests 6.1 cache.xml features.
|
| CacheXml65Test |
Tests 6.5 cache.xml features.
|
| CacheXml66Test |
Tests 7.0 cache.xml feature : Fixed Partitioning.
|
| CacheXml66Test.TestTXListener | |
| CacheXml70Test | |
| CacheXml70Test.ConflictResolver | |
| CacheXml70Test.MyAsyncEventListener | |
| CacheXml75Test | |
| CallbackArgDUnitTest |
Test the getCallbackArgument in light of bug 34075.
|
| CertifiableTestCacheListener | |
| ClearMultiVmCallBkDUnitTest | |
| ClearMultiVmDUnitTest | |
| ClientServerCCEDUnitTest |
concurrency-control tests for client/server
|
| ConcurrentLeaveDuringGIIDUnitTest | |
| DiskDistributedNoAckAsyncOverflowRegionTest | |
| DiskDistributedNoAckAsyncRegionTest | |
| DiskDistributedNoAckRegionTestCase | |
| DiskDistributedNoAckSyncOverflowRegionTest | |
| DiskRegionTest |
Tests the functionality of cache regions whose contents may be
written to disk.
|
| DiskRegionTestImpl |
An instance of this class is delegated to by test classes that test
disk regions.
|
| DistAckMapMethodsDUnitTest | |
| DistributedAckOverflowRegionCCECompressionDUnitTest |
Tests Distributed Ack Overflow Region with ConcurrencyChecksEnabled and compression.
|
| DistributedAckOverflowRegionCCEDUnitTest | |
| DistributedAckOverflowRegionCCEOffHeapDUnitTest |
Tests Distributed Ack Overflow Region with ConcurrencyChecksEnabled and OffHeap memory.
|
| DistributedAckPersistentRegionCCECompressionDUnitTest |
Tests Distributed Ack Persistent Region with ConcurrencyChecksEnabled and compression.
|
| DistributedAckPersistentRegionCCEDUnitTest | |
| DistributedAckPersistentRegionCCEOffHeapDUnitTest |
Tests Distributed Ack Persistent Region with ConcurrencyChecksEnabled and OffHeap memory.
|
| DistributedAckRegionCCEDUnitTest | |
| DistributedAckRegionCCEOffHeapDUnitTest |
Tests Distributed Ack Region with ConcurrencyChecksEnabled and OffHeap memory.
|
| DistributedAckRegionCompressionDUnitTest |
Tests Distributed Ack Region with compression.
|
| DistributedAckRegionOffHeapDUnitTest |
Tests Distributed Ack Region with OffHeap memory.
|
| DistributedAckRegionTest |
This class tests the functionality of a cache
region
that has a scope of distributed ACK. |
| DistributedNoAckRegionCCEDUnitTest | |
| DistributedNoAckRegionCCEOffHeapDUnitTest |
Tests Distributed Ack Region with ConcurrencyChecksEnabled and OffHeap memory.
|
| DistributedNoAckRegionCompressionDUnitTest |
Tests Distributed NoAck Region with compression.
|
| DistributedNoAckRegionOffHeapDUnitTest |
Tests Distributed NoAck Region with OffHeap memory.
|
| DistributedNoAckRegionTest |
This class tests the functionality of a cache
region
that has a scope of distributed no
ACK. |
| DynamicRegionDUnitTest |
Test to make sure dynamic regions work
|
| GatewayConnectionDUnitTest |
Tests the WAN Gateway functionality.
|
| GatewayDUnitTest |
Tests the WAN Gateway functionality.
|
| GatewayDUnitTest.ControlListener | |
| GatewayDUnitTest.TxControlListener | |
| GlobalLockingTest |
This class tests distributed locking of global region entries.
|
| GlobalRegionCCEDUnitTest |
This test is only for GLOBAL REPLICATE Regions.
|
| GlobalRegionCCEOffHeapDUnitTest |
Tests Global Region with ConcurrencyChecksEnabled and OffHeap memory.
|
| GlobalRegionCompressionDUnitTest |
Tests Global Region with compression.
|
| GlobalRegionOffHeapDUnitTest |
Tests Global Region with OffHeap memory.
|
| GlobalRegionTest |
This class tests the functionality of a cache
region
that has a scope of global. |
| LocalRegionTest |
Tests the functionality of a
locally scoped
cache Region including its callbacks. |
| LRUEvictionControllerDUnitTest |
Tests the basic functionality of the lru eviction
controller and its statistics.
|
| LRUEvictionControllerTest |
Tests the basic functionality of the lru eviction
controller and its statistics.
|
| MemLRUEvictionControllerTest |
Tests the basic functionality of the memory lru eviction{@link controller
and its statistics.
|
| MultiVMRegionTestCase |
Abstract superclass of
Region tests that involve more than
one VM. |
| OffHeapLRUEvictionControllerDUnitTest |
Tests the basic functionality of the lru eviction
controller and its statistics using off-heap regions.
|
| PartitionedRegionCompressionDUnitTest |
Tests Partitioned Region with compression.
|
| PartitionedRegionDUnitTest |
This class tests the functionality of a cache
region
that has a scope of distributed ACK
and partition-attributes. |
| PartitionedRegionMembershipListenerDUnitTest | |
| PartitionedRegionOffHeapDUnitTest |
Tests Partitioned Region with OffHeap memory.
|
| PRBucketSynchronizationDUnitTest |
concurrency-control tests for client/server
|
| PreloadedRegionTestCase |
This class tests the functionality of a cache
region
that has a scope of distributed ACK. |
| ProxyDUnitTest |
Make sure that operations are distributed and done in
regions remote from a PROXY
|
| PutAllCallBkRemoteVMDUnitTest | |
| PutAllCallBkSingleVMDUnitTest | |
| PutAllMultiVmDUnitTest | |
| QueueMsgDUnitTest |
Test to make sure message queuing works.
|
| ReconnectDUnitTest | |
| RegionAttributesTestCase |
An abstract class whose test methods test the functionality of a
RegionAttributes, AttributesFactory, and AttributesMutator. |
| RegionAttributesTestCase.TestExpiry | |
| RegionExpirationTest |
Test Region expiration - both time-to-live and idle timeout.
|
| RegionMembershipListenerDUnitTest |
Test
RegionMembershipListener |
| RegionReliabilityDistAckTest |
Tests region reliability defined by MembershipAttributes using
DISTRIBUTED_ACK scope.
|
| RegionReliabilityDistNoAckTest |
Tests region reliability defined by MembershipAttributes using
DISTRIBUTED_NO_ACK scope.
|
| RegionReliabilityGlobalTest |
Tests region reliability defined by MembershipAttributes using
GLOBAL scope.
|
| RegionReliabilityListenerTest |
Tests the functionality of the
RegionRoleListener class. |
| RegionReliabilityTestCase |
Tests region reliability defined by MembershipAttributes.
|
| RegionTestCase |
An abstract class whose test methods test the functionality of a
region regardless of its scope.
|
| ReliabilityTestCase |
Provides functionality helpful to testing Reliability and RequiredRoles.
|
| RequiredRolesTest |
Tests the functionality of the
RequiredRoles class. |
| RolePerformanceTest |
Tests the performance of Regions when Roles are assigned.
|
| RRSynchronizationDUnitTest |
concurrency-control tests for client/server
|
| SearchAndLoadTest |
This class tests various search load and write scenarios for distributed regions
|
| SlowRecDUnitTest |
Test to make sure slow receiver queuing is working
|
| SlowRecDUnitTest.ControlListener | |
| TestCacheCallback |
An abstract superclass of implementation of GemFire cache callbacks
that are used for testing.
|
| TestCacheListener |
A
CacheListener used in testing. |
| TestCacheLoader |
A
CacheLoader used in testing. |
| TestCacheWriter |
A
CacheWriter used in testing. |
| TestDiskRegion |
A little test program for testing (and debugging) disk regions.
|
| TestHeapLRU |
Tests populating a region with data that is ever-increasing in
size.
|
| TestPdxSerializer | |
| TestTransactionListener |
A
TransactionListener used in testing. |
| TestTransactionWriter | |
| TXDistributedTest | |
| TXDistributedTest.TXTroubleMaker | |
| TXOrderDUnitTest |
Test the order of operations done on the farside of a tx.
|
| TXRestrictionsTest | |
| UniversalMembershipListenerAdapterDUnitTest |
Tests the UniversalMembershipListenerAdapter.
|
| UniversalMembershipListenerAdapterSelectorDUnitTest |
Same as UniversalMembershipListenerAdapterDUnitTest but uses selector in server
|
| Exception | Description |
|---|---|
| CacheSerializableRunnable.CacheSerializableRunnableException |
An exception that wraps a
CacheException |
| CacheXml30Test.TestException |
Contains unit tests that form a "compatibility test suite" of sorts for the GemFire 3.0 distributed caching API. It was developed using a "clean room" technique in which someone other than the cache API implementation wrote the unit tests. These tests are intended to find bugs in both the implementation and the documentation of the cache API.
In hopes of keeping the tests organized, there is a hierarchy of
abstract TestCase classes. Each class in the hierarchy
contains tests for a certain class (RegionTestCase, for example) or group of
classes (RegionAttributesTestCase, for
example).
Below are descriptions of functionality and scenarios that need to be tested by unit tests.
Search Load and Write Unit tests
RegionTestCase.testBadRegionAccess()CacheLoaderTestCase.testCacheLoader()LocalRegionTest.testLocalLoaderNetSearch()LocalRegionTest.testLocalCreateModifiedCallbackArgument() CacheWriterTestCase.testCacheWriterBeforeCreate()LocalRegionTest.testLocalUpdateModifiedCallbackArgument() CacheWriterTestCase.testCacheWriterBeforeUpdate()CacheWriterTestCase.testCacheWriterBeforeUpdate()RegionTestCase.testContainsKey()MultiVMRegionTestCase.testLocalCacheLoader()MultiVMRegionTestCase.testRemoteCacheLoader()netSearch was called. We
rely on tests like GlobalRegionTest.testRemoteFetch() to
demonstrate that it was.MultiVMRegionTestCase.testLocalCacheLoader()GlobalRegionTest.testRemoteFetch()MultiVMRegionTestCase.testRemoteCacheWriter()MultiVMRegionTestCase.testRemoteCacheWriter()MultiVMRegionTestCase.testRemoteLoaderNetSearch()MultiVMRegionTestCase.testRemoteCacheWriter()MultiVMRegionTestCase.testLocalAndRemoteCacheWriters()Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.