Menu

#14 classes missing from distribution

open
nobody
None
5
2004-03-17
2004-03-17
Anonymous
No

When running non-IDE integrated version 1.1.0 of
MockMaker via JUnit tests that invoke mock objects, I
get a ClassNotFoundException for
mockmaker.VoidReturnValues.

I have confirmed that the mmmockobjects.jar is in my
class path.

I have also compared the mmmockobjects.jar distributed
with the non-IDE integrated with the Eclipse Plugin
version. The Eclipse version does indeed include the
required class files. But the non-IDE version does not.

Note: I generated my mockobject with the Eclipse
Plugin, but I need to able to run the junit tests from ant
with a classpath that points to the non-IDE integrated
jars for compatibility with team members not using
Eclipse.

Side Note: I noticed that the various ReturnValues
classes are distributed in the mmmockobjects.jar which
means I need to include that particular jar to use
MockMaker. But this makes it pain if want to be able to
use MockMaker in conjunction with the complete up-to-
date versions of mockobjects. Shouldn't mockmaker
specific classes be moved to MockMaker.jar thus
allowing users to swap out the "minimal" set with the
complete latest version?

Discussion


Log in to post a comment.