added failing ClientCacheTest

This commit is contained in:
David Turanski
2011-07-07 09:53:15 -04:00
parent 56c25da97c
commit 3d5f14cc3b
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package org.springframework.data.gemfire.client;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("client-cache.xml")
public class ClientCacheTest {
@Test
public void test() {
}
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gfe="http://www.springframework.org/schema/gemfire"
xsi:schemaLocation="http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire-1.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean class="org.springframework.data.gemfire.client.ClientCacheFactoryBean">
<property name="pool" ref="pool"/>
</bean>
<gfe:pool id="pool">
<gfe:locator host="localhost" port="12345"/>
</gfe:pool>
</beans>