This week's book giveaway is in the
Agile and other Processes
forum.
We're giving away four copies of
The Mikado Method
and have Ola Ellnestam and Daniel Brolund on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Engineering
»
Testing
Author
Mock Runner Error In WebSphre
sanat
Ranch Hand
Joined: Dec 08, 2004
Posts: 111
I like...
posted
Mar 21, 2005 03:24:00
0
Hi All,
I'm using Mock Runner to
test
my sample application. I'm getting this error.
java.util.MissingResourceException: Can't find bundle for base name stub, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:824) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:793) at java.util.ResourceBundle.getBundle(ResourceBundle.java:531) at core.actions.MyActionTestBase.setUp(MyActionTestBase.java:111) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
Any Idea.
Thanks in advance.
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
5
posted
Mar 22, 2005 14:21:00
0
Where in your runtime classpath have you put your stub.properties file?
Author of
Test Driven
(2007) and
Effective Unit Testing
(2013) [
Blog
] [
HowToAskQuestionsOnJavaRanch
]
sanat
Ranch Hand
Joined: Dec 08, 2004
Posts: 111
I like...
posted
Mar 22, 2005 20:09:00
0
I got it.
Actually the resource files were not in classpath, that's why I was getting the error.
Thanks.
I agree. Here's the link:
http://aspose.com/file-tools
subject: Mock Runner Error In WebSphre
Similar Threads
Junit error
JUnit on eclipse
MalformedURLException while testing Actionservlets
Junit and Ejb - com/ibm/ejs/jts/jts/Current
Mock Objects for easymock -- Assertion failure Error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter