Spring Integration

org.springframework.integration.test.util
Class TestUtils

java.lang.Object
  extended by org.springframework.integration.test.util.TestUtils

public abstract class TestUtils
extends Object

Author:
Mark Fisher, Iwein Fuld

Nested Class Summary
static class TestUtils.TestApplicationContext
           
 
Constructor Summary
TestUtils()
           
 
Method Summary
static ThreadPoolTaskScheduler createTaskScheduler(int poolSize)
           
static TestUtils.TestApplicationContext createTestApplicationContext()
           
static Object getPropertyValue(Object root, String propertyPath)
           
static
<T> T
getPropertyValue(Object root, String propertyPath, Class<T> type)
           
static MessageHandler handlerExpecting(org.hamcrest.Matcher<Message> messageMatcher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtils

public TestUtils()
Method Detail

getPropertyValue

public static Object getPropertyValue(Object root,
                                      String propertyPath)

getPropertyValue

public static <T> T getPropertyValue(Object root,
                                     String propertyPath,
                                     Class<T> type)

createTestApplicationContext

public static TestUtils.TestApplicationContext createTestApplicationContext()

createTaskScheduler

public static ThreadPoolTaskScheduler createTaskScheduler(int poolSize)

handlerExpecting

public static MessageHandler handlerExpecting(org.hamcrest.Matcher<Message> messageMatcher)

Spring Integration

Copyright © 2010. All Rights Reserved.