[hornetq-commits] JBoss hornetq SVN: r9418 - branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/unit/core/config/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Jul 19 10:25:48 EDT 2010
Author: jmesnil
Date: 2010-07-19 10:25:47 -0400 (Mon, 19 Jul 2010)
New Revision: 9418
Modified:
branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/unit/core/config/impl/ConfigurationValidationTest.java
Log:
comment warning about failing test when run inside eclipse (and intellij?)
Modified: branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/unit/core/config/impl/ConfigurationValidationTest.java
===================================================================
--- branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/unit/core/config/impl/ConfigurationValidationTest.java 2010-07-19 13:46:01 UTC (rev 9417)
+++ branches/2_2_0_HA_Improvements/tests/src/org/hornetq/tests/unit/core/config/impl/ConfigurationValidationTest.java 2010-07-19 14:25:47 UTC (rev 9418)
@@ -42,13 +42,15 @@
// Public --------------------------------------------------------
+ /**
+ * test does not pass in eclipse (because it can not find hornetq-configuration.xsd).
+ * It runs fine on the CLI with the proper env setting.
+ */
public void testMinimalConfiguration() throws Exception
{
String xml = "<configuration xmlns='urn:hornetq'>" + "</configuration>";
- Element element = org.hornetq.utils.XMLUtil.stringToElement(xml);
+ Element element = XMLUtil.stringToElement(xml);
Assert.assertNotNull(element);
- element = XMLUtil.stringToElement(xml);
- Assert.assertNotNull(element);
XMLUtil.validate(element, "hornetq-configuration.xsd");
}
More information about the hornetq-commits
mailing list