camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r902555 - /camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/ScalaTypeConverterTest.scala
Date Sun, 24 Jan 2010 12:46:13 GMT
Author: davsclaus
Date: Sun Jan 24 12:46:13 2010
New Revision: 902555

URL: http://svn.apache.org/viewvc?rev=902555&view=rev
Log:
CAMEL-2392: Fixed unit test.

Modified:
    camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/ScalaTypeConverterTest.scala

Modified: camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/ScalaTypeConverterTest.scala
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/ScalaTypeConverterTest.scala?rev=902555&r1=902554&r2=902555&view=diff
==============================================================================
--- camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/ScalaTypeConverterTest.scala
(original)
+++ camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/ScalaTypeConverterTest.scala
Sun Jan 24 12:46:13 2010
@@ -24,6 +24,7 @@
 import org.apache.camel.impl.DefaultPackageScanClassResolver
 import org.apache.camel.impl.converter.DefaultTypeConverter
 import org.apache.camel.util.ReflectionInjector
+import org.apache.camel.util.ServiceHelper
 
 import org.w3c.dom.Document
 
@@ -36,6 +37,7 @@
       new ReflectionInjector(), new DefaultFactoryFinderResolver().resolveDefaultFactoryFinder(new
DefaultClassResolver()))
   
   def testDocumentConverter = {
+    ServiceHelper.startService(converter)
     val result = converter.convertTo(classOf[Document], <persons/>)
     assertNotNull(result)
     assertNotNull(result.getElementsByTagName("persons"))



Mime
View raw message