Refactored and cleaned up Javadoc.
This commit is contained in:
@@ -35,7 +35,7 @@ import com.gemstone.gemfire.cache.server.CacheServer;
|
||||
/**
|
||||
* The CacheServerIntegrationTest class is a test suite of test cases testing the functionality of GemFire Cache Servers
|
||||
* configured using the Spring Data GemFire XML namespace.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.server.CacheServerFactoryBean
|
||||
|
||||
@@ -25,7 +25,7 @@ import com.gemstone.gemfire.cache.client.ClientRegionShortcut;
|
||||
/**
|
||||
* The ClientRegionShortcutConverterTest class is a test suite of test cases testing the contract and functionality
|
||||
* of the ClientRegionShortcutConverter class
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.ClientRegionShortcutConverter
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
/**
|
||||
* The ColocatedRegionIntegrationTest class is a test suite class containing test cases for JIRA issue SGF-195,
|
||||
* concerning colocated Regions in GemFire.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @link https://jira.springsource.org/browse/SGF-195
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -35,7 +35,7 @@ import com.gemstone.gemfire.cache.DiskStore;
|
||||
* The DiskStoreBeanUsingPropertyPlaceholdersIntegrationTest class is a test suite of integration tests testing the use
|
||||
* of Spring PropertyPlaceholders to configure and initialize a Disk Store bean's properties using property placeholders
|
||||
* in the SDG XML namespace <disk-store> bean definition attributes.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.junit.Test;
|
||||
/**
|
||||
* The DiskStoreFactoryBeanTest class is a test suite of test cases testing the contract and functionality of the
|
||||
* DiskStoreFactoryBean class.
|
||||
* <p/>
|
||||
*
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -26,7 +26,7 @@ import com.gemstone.gemfire.internal.GemFireVersion;
|
||||
/**
|
||||
* The GemfireUtilsTest class is a test suite of test cases testing the contract and functionality of the GemfireUtils
|
||||
* abstract utility class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.GemfireUtils
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
/**
|
||||
* The InvalidRegionDataPolicyShortcutsIntegrationTest class is a test suite of test cases testing and setting up
|
||||
* some invalid, or illegal uses of the Region data-policy and/or shortcut XML namespace attributes.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @since 1.4.0
|
||||
|
||||
@@ -39,7 +39,7 @@ import org.springframework.util.Assert;
|
||||
* The LazyWiringDeclarableSupportIntegrationTest class is a test suite of integration test cases testing
|
||||
* a LazyWiringDeclarableSupport object/component's wiring configuration and initialization in
|
||||
* a Spring container context.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.springframework.data.gemfire.support.SpringContextBootstrappingInitia
|
||||
* of the LazyWiringDeclarableSupport class. This test class focuses on testing isolated units of functionality
|
||||
* in the Declarable class directly, mocking any dependencies as appropriate, in order for the class to uphold
|
||||
* it's contract.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
|
||||
@@ -34,7 +34,7 @@ import com.gemstone.gemfire.cache.RegionShortcut;
|
||||
/**
|
||||
* The PartitionedRegionFactoryBeanTest class is a test suite of test cases testing the component functionality
|
||||
* and correct behavior of the PartitionedRegionFactoryBean class.
|
||||
* <p/>
|
||||
*
|
||||
*
|
||||
* @author David Turanski
|
||||
* @author John Blum
|
||||
|
||||
@@ -32,7 +32,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
/**
|
||||
* The LookupSubRegionTest class is a test suite of test cases testing the contract and functionality of Region lookups
|
||||
* using Spring Data GemFire configuration and GemFire native cache.xml.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.context.ApplicationContext
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.gemstone.gemfire.cache.PartitionResolver;
|
||||
/**
|
||||
* The PartitionAttributesFactoryBeanTest class is test suite of test cases testing the contract and functionality of
|
||||
* the PartitionAttributesFactoryBean class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.PartitionAttributesFactoryBean
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.gemstone.gemfire.cache.RegionFactory;
|
||||
/**
|
||||
* The PartitionedRegionFactoryBeanTest class is a test suite of test cases testing the component functionality
|
||||
* and correct behavior of the PartitionedRegionFactoryBean class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
|
||||
@@ -38,7 +38,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
|
||||
/**
|
||||
* The PdxDiskStoreTest class is a test suite containing tests to reproduce the issue in JIRA SGF-197.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @link https://jira.springsource.org/browse/SGF-197
|
||||
* @see org.junit.Test
|
||||
@@ -130,6 +130,7 @@ public class PdxDiskStoreIntegrationTest {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public static class KeyHolder<T extends Serializable> extends AbstractHolderSupport {
|
||||
|
||||
private T key;
|
||||
@@ -178,6 +179,7 @@ public class PdxDiskStoreIntegrationTest {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public static class ValueHolder<T extends Serializable> extends AbstractHolderSupport {
|
||||
|
||||
private T value;
|
||||
|
||||
@@ -36,7 +36,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
/**
|
||||
* The RegionShortcutsIntegrationTest class is a test suite of test cases testing the use of RegionShortcuts in the
|
||||
* Spring Data GemFire XML Namespace!
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
|
||||
@@ -55,7 +55,7 @@ import com.gemstone.gemfire.internal.cache.GemFireCacheImpl;
|
||||
/**
|
||||
* The RegionFactoryBeanTest class is a test suite of test cases testing the contract and functionality of the
|
||||
* RegionFactoryBean class.
|
||||
* <p/>
|
||||
*
|
||||
* @author David Turanski
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.RegionFactoryBean
|
||||
|
||||
@@ -37,7 +37,7 @@ import com.gemstone.gemfire.cache.Scope;
|
||||
/**
|
||||
* The RegionLookupIntegrationTests class is a test suite of test cases testing the lookup functionality for various
|
||||
* peer Region types.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.context.ConfigurableApplicationContext
|
||||
|
||||
@@ -25,7 +25,7 @@ import com.gemstone.gemfire.cache.RegionShortcut;
|
||||
/**
|
||||
* The RegionShortcutConverterTest class is a test suite of test cases testing the contract and functionality of the
|
||||
* RegionShortcutConverter class
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.RegionShortcutConverter
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.gemstone.gemfire.cache.RegionFactory;
|
||||
/**
|
||||
* The ReplicatedRegionFactoryBeanTest class is a test suite of test cases testing the component functionality
|
||||
* and correct behavior of the ReplicatedRegionFactoryBean class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
|
||||
@@ -47,7 +47,7 @@ import com.gemstone.gemfire.cache.SubscriptionAttributes;
|
||||
* The SubRegionIntegrationTest class is a test suite of test cases testing the functionality of SubRegions in GemFire
|
||||
* configured with Spring Data GemFire's XML namespace configuration meta-data. This test class tests a complex
|
||||
* SubRegion configuration in order to ensure functional completeness.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
@@ -58,6 +58,7 @@ import com.gemstone.gemfire.cache.SubscriptionAttributes;
|
||||
*/
|
||||
@ContextConfiguration("complex-subregion.xml")
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@SuppressWarnings("unused")
|
||||
public class SubRegionIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -46,7 +46,7 @@ import com.gemstone.gemfire.cache.util.CacheWriterAdapter;
|
||||
/**
|
||||
* The ClientRegionWithCacheLoaderWriterTest class is a test suite of test cases testing the addition of CacheLoaders
|
||||
* and CacheWriters to a client, local Region inside a GemFire Cache.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
|
||||
@@ -38,14 +38,13 @@ import com.gemstone.gemfire.cache.client.ClientCache;
|
||||
/**
|
||||
* The ClientSubRegionTest class is a test suite of test cases testing SubRegion functionality from a client
|
||||
* GemFire Cache.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
* @see org.springframework.test.context.ContextConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringJUnit4ClassRunner
|
||||
* @since 1.4.0
|
||||
* @since 7.0.1 (GemFire)
|
||||
*/
|
||||
@ContextConfiguration("clientcache-with-subregion-config.xml")
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.w3c.dom.Node;
|
||||
/**
|
||||
* The AbstractRegionParserTest class is a test suite of test cases testing the contract and functionality of the
|
||||
* AbstractRegionParser class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
|
||||
@@ -35,7 +35,7 @@ import com.gemstone.gemfire.cache.server.ClientSubscriptionConfig;
|
||||
/**
|
||||
* The CacheServerNamespaceTest class is a test suite of test cases testing the functionality of the SDG XML namespace
|
||||
* when configuring a GemFire Cache Servers and Client Subscription.
|
||||
* <p/>
|
||||
*
|
||||
* @author Costin Leau
|
||||
* @author David Turanski
|
||||
* @author John Blum
|
||||
@@ -49,6 +49,7 @@ import com.gemstone.gemfire.cache.server.ClientSubscriptionConfig;
|
||||
*/
|
||||
@ContextConfiguration(locations="server-ns.xml", initializers=GemfireTestApplicationContextInitializer.class)
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@SuppressWarnings("unused")
|
||||
public class CacheServerNamespaceTest {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -35,7 +35,7 @@ import com.gemstone.gemfire.pdx.PdxSerializer;
|
||||
/**
|
||||
* The CacheUsingPdxNamespaceTest class is a test suite of test case testing the Spring Data GemFire XML namespace
|
||||
* when PDX is configured in GemFire.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
/**
|
||||
* The ClientRegionUsingDataPolicyAndShortcutTest class is a test suite of test case testing a client Region
|
||||
* bean definition with both data-policy and shortcut specified.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @since 1.3.3
|
||||
|
||||
@@ -34,7 +34,7 @@ import com.gemstone.gemfire.internal.cache.lru.MemLRUCapacityController;
|
||||
/**
|
||||
* The EvictionAttributesFactoryBeanTest class is a test suite of test cases testing the contract and functionality
|
||||
* of the EvictionAttributesFactoryBean class used to create Region Eviction configuration settings.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.config.EvictionAttributesFactoryBean
|
||||
|
||||
@@ -37,7 +37,6 @@ import org.springframework.data.gemfire.TestUtils;
|
||||
import org.springframework.data.gemfire.test.GemfireTestBeanPostProcessor;
|
||||
import org.springframework.data.gemfire.wan.GatewaySenderFactoryBean;
|
||||
|
||||
import com.gemstone.gemfire.cache.Cache;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import com.gemstone.gemfire.cache.asyncqueue.AsyncEvent;
|
||||
import com.gemstone.gemfire.cache.asyncqueue.AsyncEventListener;
|
||||
@@ -51,14 +50,15 @@ import com.gemstone.gemfire.cache.wan.GatewayTransportFilter;
|
||||
|
||||
/**
|
||||
* This test is only valid for GF 7.0 and above
|
||||
* <p/>
|
||||
*
|
||||
* @author David Turanski
|
||||
* @author John Blum
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class GemfireV7GatewayNamespaceTest extends RecreatingContextTest {
|
||||
|
||||
/* (non-Javadoc)
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.data.gemfire.RecreatingContextTest#location()
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -38,7 +38,7 @@ import com.gemstone.gemfire.internal.datasource.ConfigProperty;
|
||||
/**
|
||||
* The JndiBindingsPropertyPlaceholderTest class is a test suite of test cases testing the configuration of a GemFire
|
||||
* Cache JNDI DataSource using property placeholders.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.context.ApplicationContext
|
||||
|
||||
@@ -22,7 +22,6 @@ import static org.junit.Assert.assertTrue;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
@@ -31,7 +30,7 @@ import com.gemstone.gemfire.internal.datasource.GemFireBasicDataSource;
|
||||
|
||||
/**
|
||||
* This test requires a real cache
|
||||
* <p/>
|
||||
*
|
||||
* @author David Turanski
|
||||
* @author John Blum
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@ import com.gemstone.gemfire.internal.cache.PartitionedRegion;
|
||||
/**
|
||||
* The PdxDiskStoreAwareBeanFactoryPostProcessorTest class is a test suite of test cases testing the functionality
|
||||
* of the PdxDiskStoreAwareBeanFactoryPostProcessor class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
|
||||
@@ -36,7 +36,7 @@ import com.gemstone.gemfire.internal.cache.lru.LRUCapacityController;
|
||||
/**
|
||||
* The RegionEvictionAttributesNamespaceTest class is a test suite of test cases testing the use of Eviction settings
|
||||
* (EvictionAttributes) in the SDG XML namespace.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @since 1.3.4
|
||||
*/
|
||||
|
||||
@@ -33,14 +33,14 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
* Spring container BeanDefinition representing a GemFire Region having SubRegions. This test suite is meant to
|
||||
* ensure the correct behavior of and provide regression coverage for, JIRA issue SGF-178, "parent attribute causes
|
||||
* endless loop in hashCode".
|
||||
* <p/>
|
||||
*
|
||||
* The 'parent' attribute was added to the parent Region's BeanDefinition, referring to the parent Region's
|
||||
* BeanDefinition itself, before it recurses to parse the SubRegion elements, which is then used by the
|
||||
* AbstractRegionParser.doParseInternal method to set the parent property of the SubRegion's BeanDefinition.
|
||||
* <p/>
|
||||
*
|
||||
* Calling hashCode on a parent Region's BeanDefinition that has a parent 'attribute' referring to the parent Region's
|
||||
* BeanDefinition itself, causes infinite recursion and an eventual StackOverflowError.
|
||||
* <p/>
|
||||
*
|
||||
* <code>
|
||||
* java.lang.StackOverflowError
|
||||
* at java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:345)
|
||||
@@ -68,10 +68,10 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
* at org.springframework.core.AttributeAccessorSupport.hashCode(AttributeAccessorSupport.java:99)
|
||||
* at org.springframework.beans.factory.support.AbstractBeanDefinition.hashCode(AbstractBeanDefinition.java:1052)
|
||||
* </code>
|
||||
* <p/>
|
||||
*
|
||||
* This also causes problems for tools like Spring Tool Suite, which use the BeanDefinitions from the Spring container
|
||||
* context as meta-data in the IDE.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
|
||||
@@ -37,7 +37,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
/**
|
||||
* The SubRegionNamespaceTest class is a test suite of test cases testing the contract and functionality of
|
||||
* Region/SubRegion creation in a GemFire Cache.
|
||||
* <p/>
|
||||
*
|
||||
* @author David Turanski
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
|
||||
@@ -36,7 +36,7 @@ import com.gemstone.gemfire.cache.util.CacheListenerAdapter;
|
||||
|
||||
/**
|
||||
* The SubRegionSubElementNamespaceTest class...
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.test.context.ContextConfiguration
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.xml.sax.SAXParseException;
|
||||
/**
|
||||
* The SubRegionWithInvalidDataPolicyTest class is a test suite of test cases testing the data-policy and persistent
|
||||
* attributes settings are consistent for GemFire SubRegion bean definitions.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.test.context.junit4.SpringJUnit4ClassRunner
|
||||
|
||||
@@ -41,7 +41,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
|
||||
/**
|
||||
* The RegionsTest class is a test suite of test cases testing the contract and functionality of the Regions class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John J. Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.data.mapping.context.MappingContext;
|
||||
* The DefaultGemfireEntityInformationTest class is a test suite of test cases testing the contract and functionality
|
||||
* of the DefaultGemfireEntityInformation class used to extract entity information during persistence/mapping operations
|
||||
* during data access to the underlying data store (GemFire).
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.repository.query.DefaultGemfireEntityInformation
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.springframework.data.gemfire.mapping.Region;
|
||||
|
||||
/**
|
||||
* The Algorithm interface define abstract data type modeling a computer algorithm.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.annotation.Id
|
||||
* @see org.springframework.data.gemfire.mapping.Region
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.springframework.data.gemfire.repository.GemfireRepository;
|
||||
/**
|
||||
* The AlgorithmRepository class is a Data Access Object (DAO) for accessing and persistent data/state about Algorithms
|
||||
* to a GemFire Cache/Region.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.GemfireRepository
|
||||
* @since 1.4.0
|
||||
|
||||
@@ -35,7 +35,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
* The AlgorithmRepositoryTest class is a test suite of test cases testing the contract and functionality of GemFire's
|
||||
* Repository extension when using a plain old Java interface for defining the application domain object/entity type,
|
||||
* rather than a Java class, that is the subject of the persistence operations.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
|
||||
@@ -28,13 +28,14 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
/**
|
||||
* The AnimalRepositoryTest class is a test suite of test cases testing the functionality behind PR #55 involving
|
||||
* persisting application domain object/entities to multiple Regions in GemFire's Cache.
|
||||
* <p/>
|
||||
*
|
||||
* @author Stuart Williams
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
* @see org.springframework.test.context.ContextConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringJUnit4ClassRunner
|
||||
* @since 1.4.0
|
||||
* @link https://github.com/spring-projects/spring-data-gemfire/pull/55
|
||||
*/
|
||||
@ContextConfiguration("AnimalRepositoryTest-context.xml")
|
||||
|
||||
@@ -20,11 +20,11 @@ import org.springframework.data.gemfire.mapping.Region;
|
||||
|
||||
/**
|
||||
* The GuestUser class represents an authorized restricted user of a service or computer system, etc.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.mapping.Region
|
||||
* @see org.springframework.data.gemfire.repository.sample.User
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Region("/Local/Guest/Users")
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -22,11 +22,11 @@ import org.springframework.data.gemfire.repository.GemfireRepository;
|
||||
|
||||
/**
|
||||
* The GuestUserRepository class is a DAO for accessing and persisting GuestUsers.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.GemfireRepository
|
||||
* @see org.springframework.data.gemfire.repository.sample.GuestUser
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public interface GuestUserRepository extends GemfireRepository<GuestUser, String> {
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
/**
|
||||
* The IncompatibleRegionKeyEntityIdAnimalRepositoryTest class is a test suite of test cases testing the functionality
|
||||
* behind PR #55 involving persisting application domain object/entities to multiple Regions in GemFire's Cache.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.context.ConfigurableApplicationContext
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* The Plant class is a very simple ADT modeling a plant for SDG Repository testing purposes.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.annotation.Id
|
||||
* @see org.springframework.data.gemfire.mapping.Region
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.data.gemfire.repository.Query;
|
||||
/**
|
||||
* The PlantRepository class is a Repository extension for accessing and storing Plants.
|
||||
* Note, this Spring GemFire Repository extension incorrectly maps Plants to the Plants Region on purpose
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.GemfireRepository
|
||||
* @see org.springframework.data.gemfire.repository.Query
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
/**
|
||||
* The PlantRepositoryTest class is a test suite of test cases testing the functionality behind PR #55 involving
|
||||
* persisting application domain object/entities to multiple Regions in GemFire's Cache.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.context.ConfigurableApplicationContext
|
||||
|
||||
@@ -21,11 +21,11 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* The Programmer class is a User representing/modeling a software engineer/developer.
|
||||
* <p/>
|
||||
*
|
||||
* @author John J. Blum
|
||||
* @see org.springframework.data.gemfire.mapping.Region
|
||||
* @see org.springframework.data.gemfire.repository.sample.User
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Region("Programmers")
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -23,11 +23,11 @@ import org.springframework.data.gemfire.repository.GemfireRepository;
|
||||
/**
|
||||
* The ProgrammerRepository class is a Data Access Object (DAO) for Programmer domain objects supporting basic CRUD
|
||||
* and Query operations.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.GemfireRepository
|
||||
* @see org.springframework.data.gemfire.repository.sample.Programmer
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public interface ProgrammerRepository extends GemfireRepository<Programmer, String> {
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.data.gemfire.repository.Query;
|
||||
/**
|
||||
* The RabbitRepository class is a Spring Data GemFire Repository extension for accessing and persistent Rabbits
|
||||
* from/to an underlying data store (GemFire).
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.mapping.Region
|
||||
* @see org.springframework.data.gemfire.repository.GemfireRepository
|
||||
|
||||
@@ -20,11 +20,11 @@ import org.springframework.data.gemfire.mapping.Region;
|
||||
|
||||
/**
|
||||
* The RootUser class represents an authorized administrative user of a service or computer system, etc.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.mapping.Region
|
||||
* @see org.springframework.data.gemfire.repository.sample.User
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Region("/Local/Admin/Users")
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -22,11 +22,11 @@ import org.springframework.data.gemfire.repository.GemfireRepository;
|
||||
|
||||
/**
|
||||
* The RootUserRepository class is a DAO for accessing and persisting RootUsers.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.GemfireRepository
|
||||
* @see org.springframework.data.gemfire.repository.sample.RootUser
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public interface RootUserRepository extends GemfireRepository<RootUser, String> {
|
||||
|
||||
@@ -41,7 +41,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
/**
|
||||
* The SubRegionRepositoryTest class is a test suite of test cases testing the use of GemFire Repositories on GemFire
|
||||
* Cache Subregions.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
@@ -53,7 +53,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
* @see com.gemstone.gemfire.cache.Region
|
||||
* @link https://jira.springsource.org/browse/SGF-251
|
||||
* @link https://jira.springsource.org/browse/SGF-252
|
||||
* @since 1.0.0
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@ContextConfiguration("subregionRepository.xml")
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
|
||||
@@ -25,12 +25,12 @@ import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* The User class represents an authorized user of a service or computer system, etc.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.lang.Comparable
|
||||
* @see org.springframework.data.annotation.Id
|
||||
* @see org.springframework.data.gemfire.mapping.Region
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Region("Users")
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -22,12 +22,12 @@ import org.springframework.data.gemfire.repository.GemfireRepository;
|
||||
|
||||
/**
|
||||
* The UserRepository class is a DAO for accessing and persisting Users.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.GemfireRepository
|
||||
* @see org.springframework.data.gemfire.repository.Query
|
||||
* @see org.springframework.data.gemfire.repository.sample.User
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public interface UserRepository extends GemfireRepository<User, String> {
|
||||
|
||||
@@ -39,14 +39,13 @@ import com.gemstone.gemfire.cache.Region;
|
||||
/**
|
||||
* The RepositoryQueriesTest class is a test suite of test cases testing the GemFire Query capability of Spring Data
|
||||
* GemFire Repositories.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
* @see org.springframework.test.context.ContextConfiguration
|
||||
* @see org.springframework.test.context.junit4.SpringJUnit4ClassRunner
|
||||
* @since 1.3.3 (Spring Data GemFire)
|
||||
* @since 7.0.1 (GemFire)
|
||||
* @since 1.3.3
|
||||
*/
|
||||
@ContextConfiguration("userRepositoryQueriesIntegrationTest.xml")
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
|
||||
@@ -39,7 +39,7 @@ import com.gemstone.gemfire.cache.RegionAttributes;
|
||||
|
||||
/**
|
||||
* Unit tests for {@link GemfireRepositoryFactory}.
|
||||
* <p/>
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.support.GemfireRepositoryFactory
|
||||
|
||||
@@ -28,7 +28,7 @@ import com.gemstone.gemfire.cache.client.ClientRegionShortcut;
|
||||
/**
|
||||
* The ClientRegionShortcutWrapperTest class is a test suite of test cases testing the contract and functionality of the
|
||||
* ClientRegionShortcutWrapper enum class type.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.support.ClientRegionShortcutWrapper
|
||||
|
||||
@@ -28,7 +28,7 @@ import com.gemstone.gemfire.cache.RegionShortcut;
|
||||
/**
|
||||
* The RegionShortcutWrapperTest class is a test suite of test cases testing the contract and functionality of the
|
||||
* RegionShortcutWrapper enum class type.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.data.gemfire.support.RegionShortcutWrapper
|
||||
|
||||
@@ -54,7 +54,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
/**
|
||||
* The SpringContextBootstrappingInitializerTest class is a test suite of test cases testing the integrated
|
||||
* functionality of the SpringContextBootstrappingInitializer class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.springframework.context.ConfigurableApplicationContext
|
||||
@@ -64,8 +64,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
* @see com.gemstone.gemfire.cache.CacheFactory
|
||||
* @see com.gemstone.gemfire.cache.CacheLoader
|
||||
* @see com.gemstone.gemfire.cache.Region
|
||||
* @since 1.3.4 (Spring Data GemFire)
|
||||
* @since 7.0.1 (GemFire)
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class SpringContextBootstrappingInitializerIntegrationTest {
|
||||
|
||||
@@ -43,14 +43,14 @@ import org.springframework.util.ObjectUtils;
|
||||
* and functionality of the SpringContextBootstrappingInitializer class. This test class focuses on testing isolated
|
||||
* units of functionality in the Initializer class directly, mocking any dependencies as appropriate, in order for the
|
||||
* class to uphold it's contract.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
* @see org.springframework.context.ConfigurableApplicationContext
|
||||
* @see org.springframework.data.gemfire.support.SpringContextBootstrappingInitializer
|
||||
* @see org.springframework.data.gemfire.support.SpringContextBootstrappingInitializerIntegrationTest
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class SpringContextBootstrappingInitializerTest {
|
||||
|
||||
@@ -25,12 +25,12 @@ import org.springframework.util.Assert;
|
||||
/**
|
||||
* The TestUserDao class is an implementation of the UserDao Data Access Object (DAO) interface for performing
|
||||
* data access and persistence operations on Users.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.sample.User
|
||||
* @see org.springframework.data.gemfire.support.sample.UserDao
|
||||
* @see org.springframework.stereotype.Repository
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Repository("userDao")
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -23,12 +23,12 @@ import org.springframework.util.Assert;
|
||||
/**
|
||||
* The TestUserService class is an implementation of the UserService service interface for performing service operations
|
||||
* on Users.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.sample.User
|
||||
* @see org.springframework.data.gemfire.support.sample.UserService
|
||||
* @see org.springframework.stereotype.Service
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Service("userService")
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -24,13 +24,13 @@ import org.springframework.context.annotation.ImportResource;
|
||||
import org.springframework.data.gemfire.support.SpringContextBootstrappingInitializerIntegrationTest;
|
||||
|
||||
/**
|
||||
* The UserApplicationConfiguration class is a configuration component for confguring the user's application.
|
||||
* <p/>
|
||||
* The UserApplicationConfiguration class is a configuration component for configuring the user's application.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.context.annotation.Bean
|
||||
* @see org.springframework.context.annotation.Configuration
|
||||
* @see org.springframework.context.annotation.ImportResource
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Configuration
|
||||
@ImportResource({ "classpath:org/springframework/data/gemfire/support/sample/initializer-gemfire-context.xml" })
|
||||
|
||||
@@ -18,10 +18,10 @@ package org.springframework.data.gemfire.support.sample;
|
||||
|
||||
/**
|
||||
* The UserDao interface is a contract for implementing objects containing data access functionality for Users.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.sample.User
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
public interface UserDao {
|
||||
}
|
||||
|
||||
@@ -18,10 +18,10 @@ package org.springframework.data.gemfire.support.sample;
|
||||
|
||||
/**
|
||||
* The UserService interface is a contract for implementing objects to service Users.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.gemfire.repository.sample.User
|
||||
* @since 1.3.4
|
||||
* @since 1.4.0
|
||||
*/
|
||||
public interface UserService {
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.gemstone.gemfire.cache.wan.GatewayTransportFilter;
|
||||
|
||||
/**
|
||||
* The StubGatewaySenderFactory class for testing purposes.
|
||||
* <p/>
|
||||
*
|
||||
* @author David Turanski
|
||||
* @see com.gemstone.gemfire.cache.wan.GatewaySenderFactory
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ import javax.sql.DataSource;
|
||||
|
||||
/**
|
||||
* The DataSourceAdapter class is an implementation of the DataSource interface with unsupported operations by default.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see java.sql.Connection
|
||||
* @see javax.sql.DataSource
|
||||
|
||||
@@ -39,7 +39,7 @@ import com.gemstone.gemfire.cache.util.Gateway;
|
||||
/**
|
||||
* The AsyncEventQueueFactoryBeanTest class is a test suite of test cases testing the contract and functionality
|
||||
* of the AsyncEventQueueFactoryBean class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.mockito.Mockito
|
||||
|
||||
@@ -41,7 +41,7 @@ import com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue;
|
||||
* The AsyncEvenntQueueWithListenerTest class is a test suite of test cases testing the circular references between
|
||||
* an Async Event Queue and a registered AsyncEventListener that refers back to the Async Event Queue on which the
|
||||
* listener registered.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.junit.Test
|
||||
* @see org.junit.runner.RunWith
|
||||
@@ -103,7 +103,7 @@ public class AsyncEventQueueWithListenerIntegrationTest {
|
||||
/**
|
||||
* The QueueAsyncEventListener class is an implementation of the AsyncEventListener interface that contains
|
||||
* a reference to the AsyncEventQueue upon which it is registered.
|
||||
* <p/>
|
||||
*
|
||||
* @see com.gemstone.gemfire.cache.asyncqueue.AsyncEvent
|
||||
* @see com.gemstone.gemfire.cache.asyncqueue.AsyncEventListener
|
||||
* @see com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueue
|
||||
|
||||
@@ -35,7 +35,7 @@ import com.gemstone.gemfire.cache.wan.GatewaySenderFactory;
|
||||
/**
|
||||
* The GatewaySenderFactoryBeanTest class is a test suite of test cases testing the contract and functionality of the
|
||||
* GatewaySenderFactoryBean class.
|
||||
* <p/>
|
||||
*
|
||||
* @author John Blum
|
||||
* @see com.gemstone.gemfire.cache.Cache
|
||||
* @see com.gemstone.gemfire.cache.wan.GatewaySender
|
||||
|
||||
Reference in New Issue
Block a user