essobedo opened a new pull request #76:
URL: https://github.com/apache/camel-examples/pull/76


   ## Motivation
   
   https://github.com/apache/camel/pull/6996 brings improvements like the 
ability to specify a main class to reduce the complexity of the test, the tests 
of examples should benefit from those improvements.
   
   ## Modifications:
   
   * Override the method `getMainClass()` to specify the main class instead of 
explicitly calling `withBasePackageScan(MyApplication.class.getPackageName())`
   * Avoid overriding `getPropertyPlaceholderLocations` in the test `FtpTest` 
to specify the location of `ftp.properties` as it is already set in the 
`RouteBuilders`
   * Use the static methods `createDirectory` and `deleteDirectory` from 
`TestSupport` when needed to clean up the test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to