Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODE-1176 Changed ModeShapeUnitTest to correctly find config files on classpath #110

Merged
merged 1 commit into from May 25, 2011

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented May 25, 2011

When the 'startEngineUsing' method was called by a static method, it could not determine the classloader and thus could not find the configuration file that was on the classpath. The solution was to add another form of the method that took the class under test as a second parameter, and to make the 'startEngineUsing(String)' method non-static so that can only be called when the class under test can be determined.

… classpath

When the 'startEngineUsing' method was called by a static method, it could not determine the classloader and thus could not find the configuration file that was on the classpath. The solution was to add another form of the method that took the class under test as a second parameter, and to make the 'startEngineUsing(String)' method non-static so that can only be called when the class under test can be determined.
@rhauch rhauch merged commit 50042a3 into ModeShape:master May 25, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant