org.jboss.forge.arquillian.AddonDependency Java Examples
The following examples show how to use
org.jboss.forge.arquillian.AddonDependency.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WindupArchitectureJEEExampleTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@Deployment @AddonDependencies({ @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) .addAsResource(new File("src/test/groovy/GroovyExampleRule.windup.groovy")); }
Example #2
Source File: WindupArchitectureScanPackagesTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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")); }
Example #3
Source File: WindupArchitectureCatchallTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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.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); }
Example #4
Source File: WindupArchitectureDuplicateTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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")); }
Example #5
Source File: StrictModeEnabledByDefaultTest.java From furnace with Eclipse Public License 1.0 | 6 votes |
@Test public void testDependenciesAreCorrectlyDeployedAndAssigned() { Furnace furnace = LocalServices.getFurnace(getClass().getClassLoader()); Assert.assertSame(AddonCompatibilityStrategies.STRICT, furnace.getAddonCompatibilityStrategy()); Addon self = LocalServices.getAddon(getClass().getClassLoader()); Set<org.jboss.forge.furnace.addons.AddonDependency> dependencies = self.getDependencies(); Assert.assertEquals(1, dependencies.size()); Iterator<org.jboss.forge.furnace.addons.AddonDependency> iterator = dependencies.iterator(); Assert.assertEquals(AddonStatus.NEW, LocalServices.getFurnace(getClass().getClassLoader()).getAddonRegistry() .getAddon(AddonId.from(INCOMPATIBLE, INCOMPATIBLE_VERSION)).getStatus()); org.jboss.forge.furnace.addons.AddonDependency compatibleAddon = iterator.next(); Assert.assertEquals(AddonId.from(COMPATIBLE, COMPATIBLE_VERSION), compatibleAddon.getDependency().getId()); Assert.assertEquals(AddonStatus.STARTED, compatibleAddon.getDependency().getStatus()); }
Example #6
Source File: StrictModeEnabledByDefaultTest.java From furnace with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #7
Source File: RuleIterationOverTypesTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #8
Source File: TagServiceHolderTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #9
Source File: IgnoreJavaClassTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #10
Source File: MavenInfoMissingBinaryModeTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #11
Source File: WindupUpdateRulesetCommandTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #12
Source File: XmlAndJavaParameterizedTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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.windup.utils:windup-utils"), @AddonDependency(name = "org.jboss.forge.furnace.container:cdi") }) public static AddonArchive getDeployment() { final AddonArchive archive = ShrinkWrap.create(AddonArchive.class) .addBeansXML(); return archive; }
Example #13
Source File: RuleProviderMetadataTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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, MetadataTestRuleProvider4.class); return archive; }
Example #14
Source File: XMLFileWithoutClassification1Test.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #15
Source File: WindupArchitectureSourceWithBadPOMTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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); }
Example #16
Source File: NewNodeXmlTest.java From fabric8-forge with Apache License 2.0 | 6 votes |
@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; }
Example #17
Source File: ValidateXmlFilesRuleProviderWithInternetTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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"), @AddonDependency(name = "org.jboss.windup.tests:test-util"), @AddonDependency(name = "org.jboss.windup.utils:windup-utils") }) public static AddonArchive getDeployment() { return ShrinkWrap.create(AddonArchive.class) .addClass(AbstractXsdValidationTest.class) .addBeansXML(); }
Example #18
Source File: WindupUpdateDistributionCommandTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@Deployment @AddonDependencies({ @AddonDependency(name = "org.jboss.forge.furnace.container:cdi"), @AddonDependency(name = "org.jboss.windup.utils:windup-utils"), @AddonDependency(name = WINDUP_UI_ADDON_NAME), @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.forge.addon:maven"), @AddonDependency(name = "org.jboss.forge.addon:addon-manager"), @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_RULESET_ZIP), TEST_RULESET_ZIP); return archive; }
Example #19
Source File: RuleIterationOverDefaultListVariableTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #20
Source File: WindupArchitectureSoa5GatewaysRoutersTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@Deployment @AddonDependencies({ @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); }
Example #21
Source File: ToFileModelTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #22
Source File: FileTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #23
Source File: GroovyExtensionJavaRulesTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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); }
Example #24
Source File: RuleIterationOverDefaultSingleVariableTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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; }
Example #25
Source File: JavaClassBindingStatusTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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.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() .addAsResource(new File("src/test/resources/" + METADATA_FILENAME), METADATA_FILENAME) .addAsResource(new File("src/test/resources/lib/" + JAR_FILENAME), JAR_FILENAME); }
Example #26
Source File: WindupCommandTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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.addon:ui-test-harness"), @AddonDependency(name = "org.jboss.forge.furnace.container:cdi"), }) public static AddonArchive getDeployment() { return ShrinkWrap .create(AddonArchive.class) .addBeansXML() .addAsResource(WindupCommandTest.class.getResource("/test.jar"), "/test.jar") .addAsResource(WindupCommandTest.class.getResource("/ignore/test-windup-ignore.txt"), TEST_IGNORE_FILE); }
Example #27
Source File: WindupArchitectureSourceModeTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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")); }
Example #28
Source File: UnparsablesReportTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@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); }
Example #29
Source File: JavaClassHandlerTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@Deployment @AddonDependencies({ @AddonDependency(name = "org.jboss.windup.config:windup-config"), @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-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(); return archive; }
Example #30
Source File: AnnotationConditionHandlerTest.java From windup with Eclipse Public License 1.0 | 6 votes |
@Deployment @AddonDependencies({ @AddonDependency(name = "org.jboss.windup.config:windup-config"), @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-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(); return archive; }