org.mule.test.spring
Class SchemaValidationMule2225TestCase

java.lang.Object
  extended by org.mule.tck.junit4.AbstractMuleTestCase
      extended by org.mule.test.spring.SchemaValidationMule2225TestCase

public class SchemaValidationMule2225TestCase
extends AbstractMuleTestCase

Note: this test will fail if off-line.


Field Summary
 
Fields inherited from class org.mule.tck.junit4.AbstractMuleTestCase
DEFAULT_TEST_TIMEOUT_SECS, globalTimeout, logger, name, TEST_TIMEOUT_SYSTEM_PROPERTY
 
Constructor Summary
SchemaValidationMule2225TestCase()
           
 
Method Summary
protected  InputStream load(String name)
           
 void testValidation()
          This test will fail when run with plain JDK 1.4 or even 1.5 - schema validation requires a proper JAXP installation in the JDK's endorsed directory.
 
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaValidationMule2225TestCase

public SchemaValidationMule2225TestCase()
Method Detail

testValidation

public void testValidation()
                    throws SAXException,
                           IOException
This test will fail when run with plain JDK 1.4 or even 1.5 - schema validation requires a proper JAXP installation in the JDK's endorsed directory. It works fine with Xerces 2.9.1 (as with mule 1.4.x) or a manually installed JAXP Sun RI on JDK 1.5; JDK 1.6 works out of the box.

Throws:
SAXException
IOException

load

protected InputStream load(String name)
                    throws IOException
Throws:
IOException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.