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


Java AddonDependencies类代码示例

本文整理汇总了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;
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:25,代码来源:NewComponentInstanceTest.java

示例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());
}
 
开发者ID:windup,项目名称:windup-rulesets,代码行数:19,代码来源:WindupRulesTest.java

示例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();
}
 
开发者ID:forge,项目名称:angularjs-addon,代码行数:17,代码来源:InspectionResultProcessorTest.java

示例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;
}
 
开发者ID:forge,项目名称:furnace,代码行数:18,代码来源:StrictModeDisabledTest.java

示例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;
}
 
开发者ID:forge,项目名称:furnace,代码行数:18,代码来源:StrictModeEnabledByDefaultTest.java

示例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;
}
 
开发者ID:forge,项目名称:furnace,代码行数:18,代码来源:AddonDependenciesDeploymentsTest.java

示例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);
}
 
开发者ID:windup,项目名称:windup,代码行数:19,代码来源:WindupArchitectureSourceWithBadPOMTest.java

示例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;
}
 
开发者ID:windup,项目名称:windup,代码行数:17,代码来源:RuleIterationWhenTest.java

示例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;
}
 
开发者ID:windup,项目名称:windup,代码行数:19,代码来源:RuleIterationOverDefaultSingleVariableTest.java

示例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"));
}
 
开发者ID:windup,项目名称:windup,代码行数:20,代码来源:WindupMultiAppBasicTest.java

示例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;
}
 
开发者ID:windup,项目名称:windup,代码行数:18,代码来源:XMLFileWithoutClassification1Test.java

示例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"));
}
 
开发者ID:windup,项目名称:windup,代码行数:18,代码来源:WindupArchitectureScanPackagesTest.java

示例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;
}
 
开发者ID:windup,项目名称:windup,代码行数:18,代码来源:XMLTransformationTest.java

示例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;
}
 
开发者ID:windup,项目名称:windup,代码行数:21,代码来源:GroovyExtensionXmlRulesTest.java

示例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;
}
 
开发者ID:windup,项目名称:windup,代码行数:19,代码来源:RulesetMetadataTest.java


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