Permalink
Browse files

Merge pull request #9440 from rhusar/WFLY-7711

WFLY-7711 Make AbstractSubsystemBaseTest#testSchemaOfSubsystemTemplat…
  • Loading branch information...
2 parents 1e50ca5 + ce135ce commit 10023b245e4e15c5838fa5a14407ae5f1bfe1b66 @kabir kabir committed on GitHub Dec 7, 2016
Showing with 180 additions and 0 deletions.
  1. +6 −0 ...nsion-jberet/src/test/java/org/wildfly/extension/batch/jberet/JBeretSubsystemParsingTestCase.java
  2. +6 −0 batch/extension/src/test/java/org/wildfly/extension/batch/BatchSubsystemParsingTestCase.java
  3. +7 −0 ...alidation/src/test/java/org/wildfly/extension/beanvalidation/BeanValidationSubsystemTestCase.java
  4. +6 −0 ...tor/src/test/java/org/jboss/as/connector/subsystems/datasources/DatasourcesSubsystemTestCase.java
  5. +6 −0 connector/src/test/java/org/jboss/as/connector/subsystems/jca/JcaSubsystemTestCase.java
  6. +6 −0 ...st/java/org/jboss/as/connector/subsystems/resourceadapters/ResourceAdaptersSubsystemTestCase.java
  7. +6 −0 ejb3/src/test/java/org/jboss/as/ejb3/subsystem/Ejb3SubsystemUnitTestCase.java
  8. +6 −0 ejb3/src/test/java/org/jboss/as/ejb3/subsystem/Ejb3TransformersTestCase.java
  9. +6 −0 iiop-openjdk/src/test/java/org/wildfly/iiop/openjdk/IIOPSubsystemTestCase.java
  10. +7 −0 jaxrs/src/test/java/org/jboss/as/jaxrs/JaxrsSubsystemTestCase.java
  11. +7 −0 jdr/jboss-as-jdr/src/test/java/org/jboss/as/jdr/JdrSubsystemTestCase.java
  12. +6 −0 jpa/subsystem/src/test/java/org/jboss/as/jpa/subsystem/JPA11SubsystemTestCase.java
  13. +7 −0 jsf/subsystem/src/test/java/org/jboss/as/jsf/subsystem/JSFSubsystemTestCase.java
  14. +6 −0 jsr77/src/test/java/org/jboss/as/jsr77/subsystem/JSR77ManagementSubsystemTestCase.java
  15. +6 −0 legacy/jacorb/src/test/java/org/jboss/as/jacorb/JacORBSubsystemTestCase.java
  16. +6 −0 legacy/messaging/src/test/java/org/jboss/as/messaging/test/MessagingSubsystem30TestCase.java
  17. +6 −0 mail/src/test/java/org/jboss/as/mail/extension/MailSubsystem20TestCase.java
  18. +6 −0 ...c/test/java/org/wildfly/extension/messaging/activemq/MessagingActiveMQSubsystem_1_1_TestCase.java
  19. +6 −0 naming/src/test/java/org/jboss/as/naming/subsystem/NamingSubsystemTestCase.java
  20. +6 −0 ...rc/test/java/org/wildfly/extension/picketlink/subsystem/FederationSubsystem_2_0_UnitTestCase.java
  21. +6 −0 ...tlink/src/test/java/org/wildfly/extension/picketlink/subsystem/IDMSubsystem_2_0_UnitTestCase.java
  22. +7 −0 rts/src/test/java/org/wildfly/extension/rts/RTSSubsystemTestCase.java
  23. +7 −0 sar/src/test/java/org/jboss/as/service/SarSubsystemTestCase.java
  24. +6 −0 security/subsystem/src/test/java/org/jboss/as/security/SecurityDomainModelv30UnitTestCase.java
  25. +6 −0 transactions/src/test/java/org/jboss/as/txn/subsystem/TransactionSubsystemTestCase.java
  26. +6 −0 undertow/src/test/java/org/wildfly/extension/undertow/UndertowSubsystemTestCase.java
  27. +6 −0 ...er-integration/src/test/java/org/jboss/as/webservices/dmr/WebservicesSubsystemParserTestCase.java
  28. +6 −0 weld/subsystem/src/test/java/org/jboss/as/weld/WeldSubsystemTestCase.java
  29. +6 −0 xts/src/test/java/org/jboss/as/xts/XTSSubsystemTestCase.java
@@ -66,6 +66,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testMinimalSubsystem() throws Exception {
standardSubsystemTest("/minimal-subsystem.xml");
}
@@ -53,6 +53,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testMinimalSubsystem() throws Exception {
standardSubsystemTest("/minimal-subsystem.xml");
}
@@ -25,6 +25,7 @@
import java.io.IOException;
import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
+import org.junit.Test;
/**
* Bean Validation subsystem tests.
@@ -53,4 +54,10 @@ protected String getSubsystemXsdPath() throws Exception {
"/subsystem-templates/bean-validation.xml"
};
}
+
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
}
@@ -71,6 +71,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testFullConfig() throws Exception {
standardSubsystemTest("datasources-full.xml");
}
@@ -71,6 +71,12 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
@Override
protected AdditionalInitialization createAdditionalInitialization() {
return AdditionalInitialization.withCapabilities(JGroupsDefaultRequirement.CHANNEL_FACTORY.getName());
@@ -80,6 +80,12 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
@Override
protected Properties getResolvedProperties() {
Properties properties = new Properties();
@@ -73,6 +73,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void test15() throws Exception {
standardSubsystemTest("subsystem15.xml", false);
}
@@ -73,6 +73,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testTransformerEAP620() throws Exception {
ModelTestControllerVersion controller = ModelTestControllerVersion.EAP_6_2_0;
testTransformation(ModelVersion.create(1, 2, 1), controller,
@@ -85,6 +85,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testParseEmptySubsystem() throws Exception {
// parse the subsystem xml into operations.
String subsystemXml =
@@ -24,6 +24,7 @@
import java.io.IOException;
import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
+import org.junit.Test;
/**
* @author <a href="kabir.khan@jboss.com">Kabir Khan</a>
@@ -51,5 +52,11 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
//no point in testing 1.0.0 (current) --> 1.0.0 (all previous) for transformers
}
@@ -72,6 +72,13 @@ protected String getSubsystemXsdPath() throws Exception {
"/subsystem-templates/jdr.xml"
};
}
+
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
//todo not sure how much sense does it make to test this as model version is exactly the same as in current version
/*@Test
public void testTransformersEAP620() throws Exception {
@@ -24,6 +24,7 @@
import java.io.IOException;
import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
+import org.junit.Test;
/**
* @author <a href="kabir.khan@jboss.com">Kabir Khan</a>
@@ -52,4 +53,9 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
}
@@ -22,6 +22,7 @@
package org.jboss.as.jsf.subsystem;
import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
+import org.junit.Test;
import java.io.IOException;
@@ -50,4 +51,10 @@ protected String getSubsystemXsdPath() throws Exception {
"/subsystem-templates/jsf.xml"
};
}
+
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
}
@@ -25,6 +25,7 @@
import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
import org.jboss.as.subsystem.test.AdditionalInitialization;
+import org.junit.Test;
/**
* @author <a href="kabir.khan@jboss.com">Kabir Khan</a>
@@ -59,4 +60,9 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
}
@@ -69,6 +69,12 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
@Override
protected String getSubsystemXml(String configId) throws IOException {
return readResource(configId);
@@ -85,6 +85,12 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
@Override
protected Properties getResolvedProperties() {
Properties properties = new Properties();
@@ -73,6 +73,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testExpressions() throws Exception {
standardSubsystemTest("subsystem_1_1_expressions.xml", false);
}
@@ -85,6 +85,12 @@ protected Properties getResolvedProperties() {
return properties;
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
/////////////////////////////////////////
// Tests for HA Policy Configuration //
/////////////////////////////////////////
@@ -62,6 +62,12 @@ protected String getSubsystemXsdPath() throws IOException {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testOnlyExternalContextAllowsCache() throws Exception {
KernelServices services = createKernelServicesBuilder(AdditionalInitialization.MANAGEMENT)
.build();
@@ -62,6 +62,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testRuntime() throws Exception {
System.setProperty("jboss.server.data.dir", System.getProperty("java.io.tmpdir"));
System.setProperty("jboss.home.dir", System.getProperty("java.io.tmpdir"));
@@ -65,6 +65,12 @@ protected String getSubsystemXsdPath() throws Exception {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testRuntime() throws Exception {
System.setProperty("jboss.server.data.dir", System.getProperty("java.io.tmpdir"));
System.setProperty("jboss.home.dir", System.getProperty("java.io.tmpdir"));
@@ -24,6 +24,7 @@
import java.io.IOException;
import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
+import org.junit.Test;
/**
* @author <a href="mailto:gytis@redhat.com">Gytis Trikleris</a>
@@ -50,4 +51,10 @@ protected String getSubsystemXsdPath() throws Exception {
"/subsystem-templates/rts.xml"
};
}
+
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
}
@@ -25,6 +25,7 @@
import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
import org.jboss.as.subsystem.test.AdditionalInitialization;
+import org.junit.Test;
/**
* @author <a href="kabir.khan@jboss.com">Kabir Khan</a>
@@ -58,4 +59,10 @@ protected String getSubsystemXsdPath() throws Exception {
"/subsystem-templates/sar.xml"
};
}
+
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
}
@@ -98,6 +98,12 @@ protected Properties getResolvedProperties() {
}
@Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
+ @Test
public void testTransformersEAP64() throws Exception {
testTransformers(ModelTestControllerVersion.EAP_6_4_0);
}
@@ -77,6 +77,12 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
@Override
protected void compareXml(String configId, String original, String marshalled) throws Exception {
String transformed = ModelTestUtils.normalizeXML(
@@ -100,6 +100,12 @@ protected Properties getResolvedProperties() {
return properties;
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
@Override
protected KernelServices standardSubsystemTest(String configId, boolean compareXml) throws Exception {
return super.standardSubsystemTest(configId, false);
@@ -73,6 +73,12 @@ protected String getSubsystemXsdPath() throws Exception {
};
}
+ @Test
+ @Override
+ public void testSchemaOfSubsystemTemplates() throws Exception {
+ super.testSchemaOfSubsystemTemplates();
+ }
+
protected AdditionalInitialization createAdditionalInitialization() {
return new AdditionalInitialization() {
@Override
Oops, something went wrong.

0 comments on commit 10023b2

Please sign in to comment.