本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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();
}