camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eitland <erik.itl...@gmail.com>
Subject Re: Use a file as input to unit tests
Date Sat, 03 Nov 2012 16:29:49 GMT
Hi Christian and thanks!

I ended up creating a simple helper function: private void readFile(String
fileName) throws ... 

Still I think I have seen an even more elegant solution somewhere. 

The question is also cross posted to StackOverflow (
http://stackoverflow.com/questions/13209889/use-a-file-as-input-to-unit-tests
<http://stackoverflow.com/questions/13209889/use-a-file-as-input-to-unit-tests> 
) and I'm be happy to hand out some upvotes : )

Regards,
Erik



--
View this message in context: http://camel.465427.n5.nabble.com/Use-a-file-as-input-to-unit-tests-tp5722069p5722078.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message