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


Java TestProbeBuilder.addTest方法代码示例

本文整理汇总了Java中org.ops4j.pax.exam.TestProbeBuilder.addTest方法的典型用法代码示例。如果您正苦于以下问题:Java TestProbeBuilder.addTest方法的具体用法?Java TestProbeBuilder.addTest怎么用?Java TestProbeBuilder.addTest使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.ops4j.pax.exam.TestProbeBuilder的用法示例。


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

示例1: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( DmTest.class );
	probe.addTest( TestUtils.class );
	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( IMessagingConfiguration.class );
	probe.addTest( ItConfigurationBean.class );

	probe.addTest( MyHandler.class );
	probe.addTest( MyTargetResolver.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:17,代码来源:AutonomicTest.java

示例2: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( DmTest.class );
	probe.addTest( TestUtils.class );
	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( IMessagingConfiguration.class );
	probe.addTest( ItConfigurationBean.class );

	probe.addTest( MyHandler.class );
	probe.addTest( MyTargetResolver.class );

	// Classes from the agent
	probe.addTest( Agent.class );
	probe.addTest( AgentUtils.class );
	probe.addTest( PluginMock.class );
	probe.addTest( HeartbeatTask.class );
	probe.addTest( AgentMessageProcessor.class );
	probe.addTest( UserDataHelper.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:25,代码来源:AgentInitializationTest.java

示例3: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( DmWithAgentInMemoryTest.class );
	probe.addTest( TestUtils.class );

	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( IMessagingConfiguration.class );
	probe.addTest( ItConfigurationBean.class );

	probe.addTest( MyHandler.class );
	probe.addTest( MyTargetResolver.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:18,代码来源:AgentInMemoryWithRealRecipesTest.java

示例4: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( DmTest.class );
	probe.addTest( TestApplicationTemplate.class );
	probe.addTest( TestApplication.class );
	probe.addTest( TestManagerWrapper.class );
	probe.addTest( TestUtils.class );

	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( IMessagingConfiguration.class );
	probe.addTest( ItConfigurationBean.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:18,代码来源:DelayedAgentInitializationTest.java

示例5: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@Override
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( RabbitMqWithSslConfigurationWithoutUserData.class );
	probe.addTest( AbstractAgentInMemoryTest.class );
	probe.addTest( DmWithAgentInMemoryTest.class );
	probe.addTest( InMemoryTargetResolver.class );
	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( IMessagingConfiguration.class );
	probe.addTest( ItConfigurationBean.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:17,代码来源:AgentInMemoryWithRabbitMqAndSslTest.java

示例6: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( DmTest.class );
	probe.addTest( TestUtils.class );

	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( IMessagingConfiguration.class );
	probe.addTest( ItConfigurationBean.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:15,代码来源:LocalDockerWithAgentChecksTest.java

示例7: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( DmTest.class );
	probe.addTest( TestUtils.class );

	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( ItConfigurationBean.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:14,代码来源:KarafCommandsRequirementsTest.java

示例8: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( DmWithAgentInMemoryTest.class );
	probe.addTest( TestUtils.class );

	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( IMessagingConfiguration.class );
	probe.addTest( ItConfigurationBean.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:15,代码来源:ScopedInstanceShouldBeAbleToExportVariablesTest.java

示例9: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( DmWithAgentInMemoryTest.class );
	probe.addTest( InMemoryTargetResolver.class );
	probe.addTest( TestUtils.class );

	probe.addTest( AbstractIntegrationTest.class );
	probe.addTest( IMessagingConfiguration.class );
	probe.addTest( ItConfigurationBean.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:16,代码来源:AbstractAgentInMemoryTest.java

示例10: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@Override
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( RabbitMqNonLocalConfiguration.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:11,代码来源:AgentInMemoryWithRabbitMqAndNonDefaultsTest.java

示例11: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@Override
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( InMemoryConfiguration.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:11,代码来源:AgentInMemoryWithInMemoryTest.java

示例12: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@Override
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( HttpConfiguration.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:11,代码来源:AgentInMemoryWithHttpTest.java

示例13: probeConfiguration

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@Override
@ProbeBuilder
public TestProbeBuilder probeConfiguration( TestProbeBuilder probe ) {

	// We need to specify the classes we need
	// and that come from external modules.
	probe.addTest( RabbitMqConfiguration.class );

	return probe;
}
 
开发者ID:roboconf,项目名称:roboconf-platform,代码行数:11,代码来源:AgentInMemoryWithRabbitMqTest.java

示例14: getTestProbeBuilder

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
private static TestProbeBuilder getTestProbeBuilder(ExamSystem examSystem) throws IOException {
    TestProbeBuilder testProbeBuilder = examSystem.createProbe();
    testProbeBuilder.addTest( AgroalProbe.class );
    return testProbeBuilder;
}
 
开发者ID:agroal,项目名称:agroal,代码行数:6,代码来源:BasicOSGiTests.java

示例15: setupContainer

import org.ops4j.pax.exam.TestProbeBuilder; //导入方法依赖的package包/类
@Before
public void setupContainer() throws Exception {
    final Dummy dummy = new Dummy();

    final ReactorManager manager = ReactorManager.getInstance();

    final ExamReactor reactor = manager.prepareReactor(Dummy.class, dummy);

    final TestProbeBuilder probe = manager.createProbeBuilder(this);

    final TestAddress address = probe.addTest(Dummy.class, "dummy");

    manager.storeTestMethod(address, null);

    reactor.addProbe(probe);

    stagedReactor = manager.stageReactor();
}
 
开发者ID:jboss-fuse,项目名称:fuse-karaf,代码行数:19,代码来源:CredentialStoreStartupFailureIntegrationTest.java


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