Removed assert on functionId !=null in GemfireFunctionProxyFactoryBean

This commit is contained in:
David Turanski
2012-11-26 16:00:34 -05:00
parent 1fbf96db3b
commit 9b73562e22
2 changed files with 5 additions and 13 deletions

View File

@@ -43,24 +43,15 @@ public class FunctionExecutionClientCacheTests {
ApplicationContext context;
@Test
public void testContextCreated() throws Exception {
//String name ="testClientOnRegionFunction";
String name ="testClientOnServerFunction";
// GemfireFunctionProxyFactoryBean factoryBean = (GemfireFunctionProxyFactoryBean)context.getBean("&"+name);
public void testContextCreated() throws Exception {
ClientCache cache = context.getBean("gemfireCache",ClientCache.class);
Pool pool = context.getBean("gemfirePool",Pool.class);
assertEquals("gemfirePool", pool.getName());
assertEquals(1, cache.getDefaultPool().getServers().size());
assertEquals(pool.getServers().get(0), cache.getDefaultPool().getServers().get(0));
context.getBean("r1",Region.class);
//ComponentScan s;
//FilterType f;
}
}