Skip to content

Commit

Permalink
Merge pull request #9440 from rhusar/WFLY-7711
Browse files Browse the repository at this point in the history
WFLY-7711 Make AbstractSubsystemBaseTest#testSchemaOfSubsystemTemplat…
  • Loading branch information
kabir committed Dec 7, 2016
2 parents 1e50ca5 + ce135ce commit 10023b2
Show file tree
Hide file tree
Showing 29 changed files with 180 additions and 0 deletions.
Expand Up @@ -65,6 +65,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void testMinimalSubsystem() throws Exception {
standardSubsystemTest("/minimal-subsystem.xml");
Expand Down
Expand Up @@ -52,6 +52,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void testMinimalSubsystem() throws Exception {
standardSubsystemTest("/minimal-subsystem.xml");
Expand Down
Expand Up @@ -25,6 +25,7 @@
import java.io.IOException;

import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
import org.junit.Test;

/**
* Bean Validation subsystem tests.
Expand Down Expand Up @@ -53,4 +54,10 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
"/subsystem-templates/bean-validation.xml"
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}
}
Expand Up @@ -70,6 +70,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void testFullConfig() throws Exception {
standardSubsystemTest("datasources-full.xml");
Expand Down
Expand Up @@ -71,6 +71,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Override
protected AdditionalInitialization createAdditionalInitialization() {
return AdditionalInitialization.withCapabilities(JGroupsDefaultRequirement.CHANNEL_FACTORY.getName());
Expand Down
Expand Up @@ -80,6 +80,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Override
protected Properties getResolvedProperties() {
Properties properties = new Properties();
Expand Down
Expand Up @@ -72,6 +72,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void test15() throws Exception {
standardSubsystemTest("subsystem15.xml", false);
Expand Down
Expand Up @@ -72,6 +72,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void testTransformerEAP620() throws Exception {
ModelTestControllerVersion controller = ModelTestControllerVersion.EAP_6_2_0;
Expand Down
Expand Up @@ -84,6 +84,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void testParseEmptySubsystem() throws Exception {
// parse the subsystem xml into operations.
Expand Down
Expand Up @@ -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>
Expand Down Expand Up @@ -51,5 +52,11 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

//no point in testing 1.0.0 (current) --> 1.0.0 (all previous) for transformers
}
Expand Up @@ -72,6 +72,13 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
"/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 {
Expand Down
Expand Up @@ -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>
Expand Down Expand Up @@ -52,4 +53,9 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}
}
Expand Up @@ -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;

Expand Down Expand Up @@ -50,4 +51,10 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
"/subsystem-templates/jsf.xml"
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}
}
Expand Up @@ -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>
Expand Down Expand Up @@ -59,4 +60,9 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}
}
Expand Up @@ -69,6 +69,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Override
protected String getSubsystemXml(String configId) throws IOException {
return readResource(configId);
Expand Down
Expand Up @@ -85,6 +85,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Override
protected Properties getResolvedProperties() {
Properties properties = new Properties();
Expand Down
Expand Up @@ -72,6 +72,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void testExpressions() throws Exception {
standardSubsystemTest("subsystem_1_1_expressions.xml", false);
Expand Down
Expand Up @@ -85,6 +85,12 @@ protected Properties getResolvedProperties() {
return properties;
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

/////////////////////////////////////////
// Tests for HA Policy Configuration //
/////////////////////////////////////////
Expand Down
Expand Up @@ -61,6 +61,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void testOnlyExternalContextAllowsCache() throws Exception {
KernelServices services = createKernelServicesBuilder(AdditionalInitialization.MANAGEMENT)
Expand Down
Expand Up @@ -61,6 +61,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@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"));
Expand Down
Expand Up @@ -64,6 +64,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@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"));
Expand Down
Expand Up @@ -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>
Expand All @@ -50,4 +51,10 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
"/subsystem-templates/rts.xml"
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}
}
Expand Up @@ -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>
Expand Down Expand Up @@ -58,4 +59,10 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
"/subsystem-templates/sar.xml"
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}
}
Expand Up @@ -97,6 +97,12 @@ protected Properties getResolvedProperties() {
return properties;
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

@Test
public void testTransformersEAP64() throws Exception {
testTransformers(ModelTestControllerVersion.EAP_6_4_0);
Expand Down
Expand Up @@ -77,6 +77,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@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(
Expand Down
Expand Up @@ -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);
Expand Down
Expand Up @@ -73,6 +73,12 @@ protected String[] getSubsystemTemplatePaths() throws IOException {
};
}

@Test
@Override
public void testSchemaOfSubsystemTemplates() throws Exception {
super.testSchemaOfSubsystemTemplates();
}

protected AdditionalInitialization createAdditionalInitialization() {
return new AdditionalInitialization() {
@Override
Expand Down

0 comments on commit 10023b2

Please sign in to comment.