public abstract class WsdlCompareTestCase extends BaselineTestCase
| Modifier and Type | Class and Description |
|---|---|
protected static class |
WsdlCompareTestCase.MavenVersion
Utility class for parsing and comparing maven versions
|
protected static class |
WsdlCompareTestCase.VersionCompatibilityBreakage
struct-ish class to hold data about a VC breakage
|
static class |
WsdlCompareTestCase.VersionTransition
A class representing a transition from one maven version to another
|
BaselineTestCase.BaselineMode, BaselineTestCase.ModedirtymoduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
WsdlCompareTestCase(String moduleName) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildBreakagesSummary(List<WsdlCompareTestCase.VersionCompatibilityBreakage> breakages) |
protected List<com.predic8.soamodel.Difference> |
compareWsdlDefinitions(String oldWsdl,
String newWsdl) |
protected void |
compareWsdlFiles(File[] wsdlFiles) |
protected List<WsdlCompareTestCase.VersionTransition> |
generateVersionTransitions(WsdlCompareTestCase.MavenVersion currentVersion,
List<WsdlCompareTestCase.MavenVersion> versions)
calculate which version transitions to test given the current version, and the list of versions to consider.
|
protected Lifecycle |
getLoadApplicationLifecycle() |
protected List<Lifecycle> |
getPerTestLifecycles() |
String |
getPreviousVersion() |
protected String |
getPreviousVersionWsdlUrl(String wsdlFile,
WsdlCompareTestCase.MavenVersion previousVersion) |
protected List<Lifecycle> |
getSuiteLifecycles() |
protected List<WsdlCompareTestCase.MavenVersion> |
getVersionRange(WsdlCompareTestCase.MavenVersion lowestVersion,
WsdlCompareTestCase.MavenVersion highestVersion)
Returns the range of versions from previousVersion to currentVersion.
|
protected Map<String,List<WsdlCompareTestCase.VersionTransition>> |
getWsdlVersionTransitionBlacklists()
Allows an extending test to specify versions transitions of specific wsdls to omit from testing.
|
void |
setPreviousVersion(String previousVersion) |
protected List<String> |
verifyWsdlDifferences(com.predic8.soamodel.Difference diff,
String level) |
getClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUpgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic WsdlCompareTestCase(String moduleName)
protected List<String> verifyWsdlDifferences(com.predic8.soamodel.Difference diff, String level)
protected List<com.predic8.soamodel.Difference> compareWsdlDefinitions(String oldWsdl, String newWsdl)
protected String getPreviousVersionWsdlUrl(String wsdlFile, WsdlCompareTestCase.MavenVersion previousVersion)
protected Map<String,List<WsdlCompareTestCase.VersionTransition>> getWsdlVersionTransitionBlacklists()
WsdlCompareTestCase.MavenVersions to filterprotected void compareWsdlFiles(File[] wsdlFiles)
protected List<WsdlCompareTestCase.VersionTransition> generateVersionTransitions(WsdlCompareTestCase.MavenVersion currentVersion, List<WsdlCompareTestCase.MavenVersion> versions)
currentVersion - the current version of Riceversions - the versions to considerprotected String buildBreakagesSummary(List<WsdlCompareTestCase.VersionCompatibilityBreakage> breakages)
public String getPreviousVersion()
public void setPreviousVersion(String previousVersion)
protected Lifecycle getLoadApplicationLifecycle()
getLoadApplicationLifecycle in class RiceTestCaseprotected List<Lifecycle> getPerTestLifecycles()
getPerTestLifecycles in class BaselineTestCaseprotected List<Lifecycle> getSuiteLifecycles()
getSuiteLifecycles in class RiceTestCaseprotected List<WsdlCompareTestCase.MavenVersion> getVersionRange(WsdlCompareTestCase.MavenVersion lowestVersion, WsdlCompareTestCase.MavenVersion highestVersion)
lowestVersion - the lowest version in the rangehighestVersion - the highest version in the rangeCopyright © 2005–2015 The Kuali Foundation. All rights reserved.