[hornetq-commits] JBoss hornetq SVN: r12120 - trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/config/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Feb 15 11:38:21 EST 2012
Author: borges
Date: 2012-02-15 11:38:20 -0500 (Wed, 15 Feb 2012)
New Revision: 12120
Modified:
trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/config/impl/ConfigurationValidationTest.java
Log:
Restore FIX: Correct the reference path of searched resource.
When using Ant the classpath would be manually modified to include the
"schema" folder. In practice, leaving "schema/" out tests only for the
manual classpath modification.
Modified: trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/config/impl/ConfigurationValidationTest.java
===================================================================
--- trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/config/impl/ConfigurationValidationTest.java 2012-02-15 15:57:16 UTC (rev 12119)
+++ trunk/tests/unit-tests/src/test/java/org/hornetq/tests/unit/core/config/impl/ConfigurationValidationTest.java 2012-02-15 16:38:20 UTC (rev 12120)
@@ -51,7 +51,7 @@
String xml = "<configuration xmlns='urn:hornetq'>" + "</configuration>";
Element element = XMLUtil.stringToElement(xml);
Assert.assertNotNull(element);
- XMLUtil.validate(element, "hornetq-configuration.xsd");
+ XMLUtil.validate(element, "schema/hornetq-configuration.xsd");
}
public void testFullConfiguration() throws Exception
More information about the hornetq-commits
mailing list