本文整理汇总了Java中org.jboss.forge.arquillian.AddonDependencies类的典型用法代码示例。如果您正苦于以下问题:Java AddonDependencies类的具体用法?Java AddonDependencies怎么用?Java AddonDependencies使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AddonDependencies类属于org.jboss.forge.arquillian包,在下文中一共展示了AddonDependencies类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.forge.addon:maven"),
@AddonDependency(name = "org.jboss.forge.addon:projects"),
@AddonDependency(name = "org.jboss.forge.addon:ui"),
@AddonDependency(name = "org.jboss.forge.addon:ui-test-harness"),
@AddonDependency(name = "org.jboss.forge.addon:shell-test-harness"),
@AddonDependency(name = "io.fabric8.forge:camel")
})
public static AddonArchive getDeployment() {
AddonArchive archive = ShrinkWrap
.create(AddonArchive.class)
.addBeansXML()
.addAsAddonDependencies(
AddonDependencyEntry.create("org.jboss.forge.furnace.container:cdi"),
AddonDependencyEntry.create("org.jboss.forge.addon:ui"),
AddonDependencyEntry.create("org.jboss.forge.addon:ui-test-harness"),
AddonDependencyEntry.create("org.jboss.forge.addon:shell-test-harness"),
AddonDependencyEntry.create("org.jboss.forge.addon:projects"),
AddonDependencyEntry.create("org.jboss.forge.addon:maven"),
AddonDependencyEntry.create("io.fabric8.forge:camel")
);
return archive;
}
示例2: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.config:windup-config-xml"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java-ee"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java-project"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-xml"),
@AddonDependency(name = "org.jboss.windup.reporting:windup-reporting"),
@AddonDependency(name = "org.jboss.windup.utils:windup-utils"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi")
})
public static AddonArchive getDeployment()
{
return ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addPackage(WindupRulesTest.class.getPackage());
}
示例3: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.forge.addon:projects"),
@AddonDependency(name = "org.jboss.forge.addon:maven"),
@AddonDependency(name = "org.jboss.forge.addon:scaffold-spi"),
@AddonDependency(name = "org.jboss.forge.addon:javaee"),
@AddonDependency(name = "org.jboss.forge.addon:templates"),
@AddonDependency(name = "org.jboss.forge.addon:text"),
@AddonDependency(name = "org.jboss.forge.addon:convert"),
@AddonDependency(name = "org.jboss.forge.addon:parser-java"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi")
})
public static AddonArchive getDeployment()
{
return Deployments.getDeployment();
}
示例4: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = INCOMPATIBLE, version = INCOMPATIBLE_VERSION,
listener = {
TestRepositoryDeploymentListener.class,
FurnaceVersion_2_14_0_DeploymentListener.class,
FurnaceDisableStrictModeDeploymentListener.class
}, timeout = 5000
),
@AddonDependency(name = COMPATIBLE, version = COMPATIBLE_VERSION, listener = TestRepositoryDeploymentListener.class)
})
public static AddonArchive getDeployment() throws Exception
{
AddonArchive archive = ShrinkWrap.create(AddonArchive.class);
archive.addAsLocalServices(StrictModeDisabledTest.class);
return archive;
}
示例5: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = INCOMPATIBLE, version = INCOMPATIBLE_VERSION, optional = true,
shouldThrowException = DeploymentException.class,
listener = {
TestRepositoryDeploymentListener.class,
FurnaceVersion_2_14_0_DeploymentListener.class
}, timeout = 5000
),
@AddonDependency(name = COMPATIBLE, version = COMPATIBLE_VERSION, listener = TestRepositoryDeploymentListener.class)
})
public static AddonArchive getDeployment() throws Exception
{
AddonArchive archive = ShrinkWrap.create(AddonArchive.class);
archive.addAsLocalServices(StrictModeEnabledByDefaultTest.class);
return archive;
}
示例6: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDeployments({
@AddonDeployment(name = TEST_ONE_DEP_A, version = "1.0.0.Final", listener = TestRepositoryDeploymentListener.class),
@AddonDeployment(name = TEST_NO_DEP, version = "1.0.0.Final", listener = TestRepositoryDeploymentListener.class, imported = true)
})
@Dependencies({
@AddonDependency(name = TEST_ONE_DEP, version = "1.0.0.Final", listener = TestRepositoryDeploymentListener.class),
})
@AddonDependencies({
@AddonDependency(name = TEST_ONE_DEP_LIB, version = "1.0.0.Final", listener = TestRepositoryDeploymentListener.class, imported = false)
})
public static AddonArchive getDeployment() throws Exception
{
AddonArchive archive = ShrinkWrap.create(AddonArchive.class);
archive.addAsLocalServices(AddonDependenciesDeploymentsTest.class);
return archive;
}
示例7: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.config:windup-config-xml"),
@AddonDependency(name = "org.jboss.windup.graph:windup-graph"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java-ee"),
@AddonDependency(name = "org.jboss.windup.utils:windup-utils"),
@AddonDependency(name = "org.jboss.windup.reporting:windup-reporting"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi"),
})
public static AddonArchive getDeployment()
{
return ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addClass(WindupArchitectureTest.class)
.addClass(TestServletAnnotationRuleProvider.class);
}
示例8: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.config:windup-config"),
@AddonDependency(name = "org.jboss.windup.graph:windup-graph"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi")
})
public static AddonArchive getDeployment()
{
final AddonArchive archive = ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addClasses(
TestWhenProvider.class,
TestWhenModel.class);
return archive;
}
示例9: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.config:windup-config"),
@AddonDependency(name = "org.jboss.windup.graph:windup-graph"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi")
})
public static AddonArchive getDeployment()
{
final AddonArchive archive = ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addClasses(
TestRuleIterationOverDefaultSingleVariableProvider.class,
TestRuleIterationOverDefaultSingleVariableWithExceptionProvider.class,
TestSimple1Model.class,
TestSimple2Model.class);
return archive;
}
示例10: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.graph:windup-graph"),
@AddonDependency(name = "org.jboss.windup.reporting:windup-reporting"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java-ee"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-tattletale"),
@AddonDependency(name = "org.jboss.windup.tests:test-util"),
@AddonDependency(name = "org.jboss.windup.config:windup-config-groovy"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi"),
})
public static AddonArchive getDeployment()
{
return ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addClass(WindupArchitectureTest.class)
.addAsResource(new File("src/test/groovy/GroovyExampleRule.windup.groovy"));
}
示例11: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.config:windup-config"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-xml"),
@AddonDependency(name = "org.jboss.windup.reporting:windup-reporting"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi")
})
public static AddonArchive getDeployment()
{
final AddonArchive archive = ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addAsResource("simpleXSLT.xsl")
.addAsResource("xmlfile-withoutclassification.windup.xml");
return archive;
}
示例12: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.graph:windup-graph"),
@AddonDependency(name = "org.jboss.windup.reporting:windup-reporting"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.windup.utils:windup-utils"),
@AddonDependency(name = "org.jboss.windup.config:windup-config-groovy"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi"),
})
public static AddonArchive getDeployment()
{
return ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addClass(WindupArchitectureTest.class)
.addAsResource(new File("src/test/groovy/GroovyExampleRule.windup.groovy"));
}
示例13: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.config:windup-config"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-base"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-xml"),
@AddonDependency(name = "org.jboss.windup.reporting:windup-reporting"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi")
})
public static AddonArchive getDeployment()
{
final AddonArchive archive = ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addAsResource("simpleXSLT.xsl");
return archive;
}
示例14: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.config:windup-config"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-xml"),
@AddonDependency(name = "org.jboss.windup.config:windup-config-groovy"),
@AddonDependency(name = "org.jboss.windup.reporting:windup-reporting"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi")
})
public static AddonArchive getDeployment()
{
final AddonArchive archive = ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addAsResource(new File("src/test/resources/groovy/GroovyXmlFileClassificationsAndHints.windup.groovy"),
GROOVY_WINDUP_FILE)
.addAsResource(new File("src/test/resources/groovy/GroovyXmlFileClassificationsAndHints.rhamt.groovy"),
GROOVY_RHAMT_FILE);
return archive;
}
示例15: getDeployment
import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi"),
@AddonDependency(name = "org.jboss.windup.config:windup-config"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
})
public static AddonArchive getDeployment()
{
final AddonArchive archive = ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addClasses(ExecutedProviders.class,
MetadataTestRuleProvider1.class,
MetadataTestRuleProvider2.class,
MetadataTestRuleProvider3.class,
MetadataTestRuleProvider5.class,
MetadataTestRulesetMetadata.class);
return archive;
}