本文整理汇总了Java中org.jboss.forge.arquillian.archive.AddonArchive类的典型用法代码示例。如果您正苦于以下问题:Java AddonArchive类的具体用法?Java AddonArchive怎么用?Java AddonArchive使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AddonArchive类属于org.jboss.forge.arquillian.archive包,在下文中一共展示了AddonArchive类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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.archive.AddonArchive; //导入依赖的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.archive.AddonArchive; //导入依赖的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.archive.AddonArchive; //导入依赖的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/test.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,代码来源:TagsRulesTest.java
示例5: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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();
return archive;
}
开发者ID:windup,项目名称:windup,代码行数:17,代码来源:ToFileModelTest.java
示例6: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.ui:windup-ui"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.graph:windup-graph"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@AddonDependency(name = "org.jboss.windup.utils:windup-utils"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi"),
@AddonDependency(name = "org.jboss.forge.addon:maven"),
@AddonDependency(name = "org.jboss.forge.addon:ui-test-harness"),
})
public static AddonArchive getDeployment()
{
AddonArchive archive = ShrinkWrap
.create(AddonArchive.class)
.addBeansXML()
.addAsResource(WindupCommandTest.class.getResource(TEST_OLD_WINDUP), TEST_OLD_WINDUP);
return archive;
}
开发者ID:windup,项目名称:windup,代码行数:20,代码来源:WindupUpdateRulesetCommandTest.java
示例7: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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);
return archive;
}
开发者ID:windup,项目名称:windup,代码行数:18,代码来源:MavenInfoMissingBinaryModeTest.java
示例8: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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(
TestPayloadModel.class,
TestSimple2Model.class,
IterationPayLoadPassTest.class,
TestIterationPayLoadNotPassProvider.class,
TestIterationPayLoadPassProvider.class);
return archive;
}
开发者ID:windup,项目名称:windup,代码行数:20,代码来源:IterationPayLoadPassTest.java
示例9: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的package包/类
@Deployment(order = 3)
public static AddonArchive getDeployment()
{
AddonArchive archive = ShrinkWrap
.create(AddonArchive.class)
.addBeansXML()
.addClasses(MockContext.class,
MockContextConsumer.class,
MockContextPayload.class,
MockContextPayloadImpl.class)
.addAsAddonDependencies(
)
.addAsLocalServices(ClassLoaderAdapterWhitelistLoaderPassthroughTest.class);
return archive;
}
开发者ID:forge,项目名称:furnace,代码行数:17,代码来源:ClassLoaderAdapterWhitelistLoaderPassthroughTest.java
示例10: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.utils:windup-utils"),
@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(TestMavenExampleRuleProvider.class,
TestJavaExampleRuleProvider.class,
TestXmlExampleRuleProvider1.class,
TestXmlExampleRuleProvider2.class,
TestXmlExampleRuleProvider3.class,
TestGremlinQueryOnlyRuleProvider.class,
TestXmlMetaFacetModel.class,
TestSomeModel.class,
TestWindupConfigurationExampleRuleProvider.class);
return archive;
}
开发者ID:windup,项目名称:windup,代码行数:24,代码来源:QueryConditionTest.java
示例11: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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
示例12: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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
示例13: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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.tests:test-util"),
@AddonDependency(name = "org.jboss.windup.reporting:windup-reporting"),
@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)
.addClass(TestServletAnnotationRuleProvider.class)
.addAsResource(new File("src/test/groovy/GroovyExampleRule.windup.groovy"))
.addAsResource(new File("src/test/xml/XmlExample.windup.xml"))
.addAsResource(new File("src/test/xml/exampleuserscript.xml"), EXAMPLE_USERSCRIPT_INPUT)
.addAsResource(new File("src/test/xml/exampleconversion.xsl"));
}
开发者ID:windup,项目名称:windup,代码行数:25,代码来源:WindupArchitectureSourceModeTest.java
示例14: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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
示例15: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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-java-project"),
@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"))
.addAsResource(new File("src/test/xml/DuplicateTestRules.windup.xml"))
.addAsResource(new File("src/test/xml/rules/embedded-libraries/embedded-cache-libraries.windup.xml"))
.addAsResource(new File("src/test/xml/rules/embedded-libraries/embedded-framework-libraries.windup.xml"));
}
开发者ID:windup,项目名称:windup,代码行数:24,代码来源:WindupArchitectureDuplicateTest.java
示例16: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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(
TestRuleIterationOverTypesProvider.class,
TestRuleIterationOverTypesWithExceptionProvider.class,
TestSimple1Model.class,
TestSimple2Model.class);
return archive;
}
开发者ID:windup,项目名称:windup,代码行数:19,代码来源:RuleIterationOverTypesTest.java
示例17: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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
示例18: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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.utils:windup-utils"),
@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,代码行数:21,代码来源:WindupArchitectureTestKeepArchivesAndGraphTest.java
示例19: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的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.config:windup-config-groovy"),
@AddonDependency(name = "org.jboss.windup.tests:test-util"),
@AddonDependency(name = "org.jboss.forge.furnace.container:cdi"),
})
public static AddonArchive getDeployment()
{
return ShrinkWrap.create(AddonArchive.class)
.addBeansXML()
.addClass(WindupArchitectureTest.class);
}
开发者ID:windup,项目名称:windup,代码行数:18,代码来源:UnparsablesReportTest.java
示例20: getDeployment
import org.jboss.forge.arquillian.archive.AddonArchive; //导入依赖的package包/类
@Deployment
@AddonDependencies({
@AddonDependency(name = "org.jboss.windup.config:windup-config"),
@AddonDependency(name = "org.jboss.windup.config:windup-config-groovy"),
@AddonDependency(name = "org.jboss.windup.exec:windup-exec"),
@AddonDependency(name = "org.jboss.windup.rules.apps:windup-rules-java"),
@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()
.addClass(TestHintsClassificationsTestRuleProvider.class)
.addAsResource(new File("src/test/resources/groovy/GroovyClassificationsAndHints.windup.groovy"),
GROOVY_CLASSIFICATION_AND_HINT_WINDUP_FILE)
.addAsResource(new File("src/test/resources/groovy/GroovyClassificationsAndHints.rhamt.groovy"),
GROOVY_CLASSIFICATION_AND_HINT_RHAMT_FILE);
}
开发者ID:windup,项目名称:windup,代码行数:21,代码来源:GroovyExtensionJavaRulesTest.java
注:本文中的org.jboss.forge.arquillian.archive.AddonArchive类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论