当前位置: 首页>>代码示例>>Java>>正文


Java RandomConfigurationSupport类代码示例

本文整理汇总了Java中org.springframework.xd.test.RandomConfigurationSupport的典型用法代码示例。如果您正苦于以下问题:Java RandomConfigurationSupport类的具体用法?Java RandomConfigurationSupport怎么用?Java RandomConfigurationSupport使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


RandomConfigurationSupport类属于org.springframework.xd.test包,在下文中一共展示了RandomConfigurationSupport类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setUp

import org.springframework.xd.test.RandomConfigurationSupport; //导入依赖的package包/类
@BeforeClass
public static void setUp(){
    RandomConfigurationSupport randomConfigurationSupport = new RandomConfigurationSupport();
    application = new SingleNodeApplication().run();
    SingleNodeIntegrationTestSupport singleNodeIntegrationTestSupport = new SingleNodeIntegrationTestSupport(application);
    singleNodeIntegrationTestSupport.addModuleRegistry(new SingletonModuleRegistry(ModuleType.processor, moduleName));
}
 
开发者ID:lijb,项目名称:sina-stock-transformer,代码行数:8,代码来源:SinaStockTransformerIntegrationTest.java

示例2: setUp

import org.springframework.xd.test.RandomConfigurationSupport; //导入依赖的package包/类
/**
 * Start the single node container, binding random unused ports, etc. to not conflict with any other instances
 * running on this host. Configure the ModuleRegistry to include the project module.
 */
@BeforeClass
public static void setUp() {

    RandomConfigurationSupport randomConfigSupport = new RandomConfigurationSupport();
    application = new SingleNodeApplication().run();
    SingleNodeIntegrationTestSupport singleNodeIntegrationTestSupport = new SingleNodeIntegrationTestSupport
            (application);
    singleNodeIntegrationTestSupport.addModuleRegistry(new SingletonModuleRegistry(ModuleType.processor,
            moduleName));

}
 
开发者ID:spring-projects,项目名称:spring-xd-samples,代码行数:16,代码来源:MovingAverageIntegrationTests.java

示例3: setUp

import org.springframework.xd.test.RandomConfigurationSupport; //导入依赖的package包/类
/**
 * Start the single node container, binding random unused ports, etc. to not conflict with any other instances
 * running on this host. Configure the ModuleRegistry to include the project module.
 */
@BeforeClass
public static void setUp() {
	RandomConfigurationSupport randomConfigSupport = new RandomConfigurationSupport();
	application = new SingleNodeApplication().run();
	SingleNodeIntegrationTestSupport singleNodeIntegrationTestSupport = new SingleNodeIntegrationTestSupport
			(application);
	singleNodeIntegrationTestSupport.addModuleRegistry(new SingletonModuleRegistry(ModuleType.source,
			"feed"));
}
 
开发者ID:spring-projects,项目名称:spring-xd-samples,代码行数:14,代码来源:FeedSourceModuleIntegrationTest.java

示例4: setUp

import org.springframework.xd.test.RandomConfigurationSupport; //导入依赖的package包/类
/**
 * Start the single node container, binding random unused ports, etc. to not conflict with any other instances
 * running on this host. Configure the ModuleRegistry to include the project module.
 *
 * XD_HOME must be set to a valid install location so that the message bus libraries can be copied over
 */
@BeforeClass
public static void setUp() {
    RandomConfigurationSupport randomConfigSupport = new RandomConfigurationSupport();
    application = new SingleNodeApplication().run();
    SingleNodeIntegrationTestSupport singleNodeIntegrationTestSupport = new SingleNodeIntegrationTestSupport
            (application);
    singleNodeIntegrationTestSupport.addModuleRegistry(new SingletonModuleRegistry(ModuleType.processor,
            moduleName));
}
 
开发者ID:spring-projects,项目名称:spring-xd-samples,代码行数:16,代码来源:MovingAverageIntegrationTest.java

示例5: setUp

import org.springframework.xd.test.RandomConfigurationSupport; //导入依赖的package包/类
/**
 * Start the single node container, binding random unused ports, etc. to not conflict with any other instances
 * running on this host. Configure the ModuleRegistry to include the project module.
 */
@BeforeClass
public static void setUp() {
	RandomConfigurationSupport randomConfigSupport = new RandomConfigurationSupport();
	application = new SingleNodeApplication().run();
	SingleNodeIntegrationTestSupport singleNodeIntegrationTestSupport = new SingleNodeIntegrationTestSupport
			(application);
	singleNodeIntegrationTestSupport.addModuleRegistry(new SingletonModuleRegistry(ModuleType.processor,
			moduleName));

}
 
开发者ID:spring-projects,项目名称:spring-xd-samples,代码行数:15,代码来源:ExampleModuleIntegrationTest.java

示例6: setUp

import org.springframework.xd.test.RandomConfigurationSupport; //导入依赖的package包/类
/**
 * Start the single node container, binding random unused ports, etc. to not conflict with any other instances
 * running on this host. Configure the ModuleRegistry to include the project module.
 */
@BeforeClass
public static void setUp() {
	RandomConfigurationSupport randomConfigSupport = new RandomConfigurationSupport();
	application = new SingleNodeApplication().run();
	SingleNodeIntegrationTestSupport singleNodeIntegrationTestSupport = new SingleNodeIntegrationTestSupport
			(application);
	singleNodeIntegrationTestSupport.addModuleRegistry(new SingletonModuleRegistry(ModuleType.processor,
			"myTupleProcessor"));

}
 
开发者ID:spring-projects,项目名称:spring-xd-samples,代码行数:15,代码来源:MyTupleProcessorTest.java


注:本文中的org.springframework.xd.test.RandomConfigurationSupport类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。