camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: only testMocksAreValid is executed by Camel/Spring unit test !!
Date Tue, 13 Jan 2009 14:29:30 GMT
Ah...


2009/1/13 cmoulliard <cmoulliard@gmail.com>:
[snip]


> @ContextConfiguration(locations =
> "org.apache.camel.spring.javaconfig.patterns.FilterTest$ContextConfig",

The above annotation is the name of the class to create for your
ApplicationContext - not the one inside BindyCSVUnmarshallTest.

Currently JavaConfig and Spring Test don't work that nicely together
so you have to use a fully qualified class name unfortunatley

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message