use of org.jboss.as.model.test.ModelTestControllerVersion in project wildfly by wildfly.
the class Ejb3TransformersTestCase method testRejectionsEAP630.
@Test
public void testRejectionsEAP630() throws Exception {
ModelTestControllerVersion controller = ModelTestControllerVersion.EAP_6_3_0;
this.testRejections(ModelVersion.create(1, 2, 1), controller, formatLegacySubsystemArtifact(controller), formatArtifact("org.jboss.as:jboss-as-threads:%s", controller), LEGACY_EJB_CLIENT_ARTIFACT);
}
use of org.jboss.as.model.test.ModelTestControllerVersion in project wildfly by wildfly.
the class Ejb3TransformersTestCase method testTransformerEAP620.
@Test
public void testTransformerEAP620() throws Exception {
ModelTestControllerVersion controller = ModelTestControllerVersion.EAP_6_2_0;
testTransformation(ModelVersion.create(1, 2, 1), controller, formatLegacySubsystemArtifact(controller), formatArtifact("org.jboss.as:jboss-as-threads:%s", controller));
}
use of org.jboss.as.model.test.ModelTestControllerVersion in project wildfly by wildfly.
the class Ejb3TransformersTestCase method testTransformerEAP630.
@Test
public void testTransformerEAP630() throws Exception {
ModelTestControllerVersion controller = ModelTestControllerVersion.EAP_6_3_0;
testTransformation(ModelVersion.create(1, 2, 1), controller, formatLegacySubsystemArtifact(controller), formatArtifact("org.jboss.as:jboss-as-threads:%s", controller));
}
use of org.jboss.as.model.test.ModelTestControllerVersion in project wildfly by wildfly.
the class Ejb3TransformersTestCase method testRejectionsEAP640.
@Test
public void testRejectionsEAP640() throws Exception {
ModelTestControllerVersion controller = ModelTestControllerVersion.EAP_6_4_0;
this.testRejections(ModelVersion.create(1, 3, 0), controller, formatLegacySubsystemArtifact(controller), formatArtifact("org.jboss.as:jboss-as-threads:%s", controller), LEGACY_EJB_CLIENT_ARTIFACT);
}
use of org.jboss.as.model.test.ModelTestControllerVersion in project wildfly by wildfly.
the class DatasourcesSubsystemTestCase method testTransformerEAP7FullConfiguration.
/**
* Tests transformation of model from latest version which works well in EAP 7.0.0 without setting up FailedOperationTransformationConfig.
*
* @throws Exception
*/
private void testTransformerEAP7FullConfiguration(String subsystemXml) throws Exception {
ModelTestControllerVersion eap7ControllerVersion = ModelTestControllerVersion.EAP_7_0_0;
ModelVersion eap7ModelVersion = ModelVersion.create(4, 0, 0);
KernelServicesBuilder builder = createKernelServicesBuilder(AdditionalInitialization.MANAGEMENT);
KernelServices mainServices = initialKernelServices(builder, eap7ControllerVersion, eap7ModelVersion);
List<ModelNode> ops = builder.parseXmlResource(subsystemXml);
ModelTestUtils.checkFailedTransformedBootOperations(mainServices, eap7ModelVersion, ops, FailedOperationTransformationConfig.NO_FAILURES);
}
Aggregations