public class ValidatorServiceTest extends RhnBaseTestCase
| Constructor and Description |
|---|
ValidatorServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Called once per test method.
|
protected void |
tearDown()
Tears down the fixture, and closes the HibernateSession.
|
void |
testInvalidObject() |
void |
testValidateObject() |
void |
testValidateObjectNoValidator()
Test the method on the ValidationService where we let the
service attempt to find the XSD associated with the object
in the same directory.
|
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, createDirIfNotExists, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reloadassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringpublic void setUp()
throws java.lang.Exception
RhnBaseTestCasesetUp in class RhnBaseTestCasejava.lang.Exception - if an error occurs during setup.public void testValidateObject()
throws java.lang.Exception
java.lang.Exceptionpublic void testValidateObjectNoValidator()
throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testInvalidObject()
throws java.lang.Exception
java.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class RhnBaseTestCasejava.lang.ExceptionTestCase.tearDown(),
HibernateFactory.closeSession()