• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java AddonDependencies类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



AddonDependencies类属于org.jboss.forge.arquillian包,在下文中一共展示了AddonDependencies类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: 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()
{
    AddonArchive archive = ShrinkWrap.create(AddonArchive.class)
                .addBeansXML()
                .addClass(WindupArchitectureTest.class)
                .addAsResource(new File("src/test/xml/javaclassignore.windup.xml"));
    return archive;
}
 
开发者ID:windup,项目名称:windup,代码行数:19,代码来源:IgnoreJavaClassTest.java


示例17: 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(
                            TestRuleIterationOverDefaultListVariableProvider.class,
                            TestSimple1Model.class,
                            TestSimple2Model.class);
    return archive;
}
 
开发者ID:windup,项目名称:windup,代码行数:18,代码来源:RuleIterationOverDefaultListVariableTest.java


示例18: getDeployment

import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
            @AddonDependency(name = "org.jboss.windup.config:windup-config"),
            @AddonDependency(name = "org.jboss.windup.config:windup-config-xml"),
            @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-base"),
            @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()
                .addAsResource("xml/FileContentXmlExample.windup.xml");

    return archive;
}
 
开发者ID:windup,项目名称:windup,代码行数:19,代码来源:FileContentTest.java


示例19: getDeployment

import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
            @AddonDependency(name = "org.jboss.windup.config:windup-config"),
            @AddonDependency(name = "org.jboss.windup.config:windup-config-xml"),
            @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-base"),
            @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()
                .addAsResource("xml/FileXmlExample.windup.xml");

    return archive;
}
 
开发者ID:windup,项目名称:windup,代码行数:19,代码来源:FileTest.java


示例20: getDeployment

import org.jboss.forge.arquillian.AddonDependencies; //导入依赖的package包/类
@Deployment
@AddonDependencies({
    @AddonDependency(name = "org.jboss.windup.config:windup-config"),
    @AddonDependency(name = "org.jboss.forge.furnace.container:cdi")
})
public static AddonArchive getDeployment()
{
    final AddonArchive archive = ShrinkWrap
        .create(AddonArchive.class)
        .addClasses(TestIterationPayloadTestRuleProvider.class, TestChildModel.class, TestParentModel.class)
        .addBeansXML()
        .addAsResource(new File("src/test/java/org/jboss/windup/config/tags/test2.tags.xml"))
        .addAsAddonDependencies(
            AddonDependencyEntry.create("org.jboss.windup.config:windup-config"),
            AddonDependencyEntry.create("org.jboss.forge.furnace.container:cdi")
        );
    return archive;
}
 
开发者ID:windup,项目名称:windup,代码行数:19,代码来源:TagServiceHolderTest.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ParameterStyle类代码示例发布时间:2022-05-22
下一篇:
Java S22PacketMultiBlockChange类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap