Class MCRXEditorValidatorTest
java.lang.Object
org.mycore.common.MCRTestCase
org.mycore.frontend.xeditor.validation.MCRXEditorValidatorTest
- Author:
- Frank Lützenkirchen
-
Field Summary
Fields inherited from class org.mycore.common.MCRTestCase
junitFolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
authorIsJohnDoe
(Element author) static boolean
nameStartsWithJ
(String name) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class org.mycore.common.MCRTestCase
bzzz, getCurrentComponentName, getResourceAsStream, getResourceAsURL, getTestProperties, initBaseDir, initProperties, isDebugEnabled, setUp, tearDown
-
Constructor Details
-
MCRXEditorValidatorTest
public MCRXEditorValidatorTest()
-
-
Method Details
-
testNoValidationRules
- Throws:
JDOMException
org.jaxen.JaxenException
-
testRequiredRule
- Throws:
JDOMException
org.jaxen.JaxenException
-
testMinIntegerRule
- Throws:
org.jaxen.JaxenException
JDOMException
-
testMaxDecimalRule
- Throws:
org.jaxen.JaxenException
JDOMException
-
testMaxDateRule
- Throws:
org.jaxen.JaxenException
JDOMException
-
testDateFormatRule
- Throws:
org.jaxen.JaxenException
JDOMException
-
testLengthRule
- Throws:
org.jaxen.JaxenException
JDOMException
-
testInvalidation
- Throws:
org.jaxen.JaxenException
JDOMException
-
testGlobalRules
- Throws:
org.jaxen.JaxenException
JDOMException
-
testMatchesRule
- Throws:
org.jaxen.JaxenException
JDOMException
-
testXPathTestRule
- Throws:
org.jaxen.JaxenException
JDOMException
-
testExternalMethodRule
- Throws:
org.jaxen.JaxenException
JDOMException
-
testRequiredRelevantIfRule
- Throws:
JDOMException
org.jaxen.JaxenException
-
testMinIntegerRelevantIfRule
- Throws:
JDOMException
org.jaxen.JaxenException
-
testXPathTestRelevantIfRule
- Throws:
JDOMException
org.jaxen.JaxenException
-
nameStartsWithJ
-
authorIsJohnDoe
-