|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ashridgetech.jamda.code.MethodCoderFactory | +--com.ashridgetech.jamda.test.TestMethodCoderFactory
MethodCoderFactory for use in testing.
Returns a MethodCoder
which prints the method parameters and returns a dummy value.
Nested Class Summary | |
class |
TestMethodCoderFactory.Coder
Method coder for testing |
Constructor Summary | |
TestMethodCoderFactory(java.lang.String code)
Construct a MethodCoderFactory . |
Method Summary | |
MethodCoder |
newInstance(Operation op,
UmlClassGenerator gen)
Implements a test method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestMethodCoderFactory(java.lang.String code)
MethodCoderFactory
.
code
- the code to useMethod Detail |
public MethodCoder newInstance(Operation op, UmlClassGenerator gen)
newInstance
in class MethodCoderFactory
op
- the Operation
being codedgen
- the UmlClassGenerator
using the new coder.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |