Hello all!

 

This weekend I have been experimenting with EasyMock. I managed to write a test case that tests the Undo and Redo functions in org.argouml.model.UndoCoreHelperDecorator without loading and using MDR or any of the classes in org.argouml.model.mdr.

 

I think this allows us to create a whole new set of test so I will commit the work I have done so far and make it a part of the ArgoUML build system. For testing the Model subsystem (the classes in the org.argouml.model-package) without enabling MDR and loading the model, I think this kind of mock frameworks is the only way.

 

I created a class called MockModelImplementation intended to set up the whole set of mock classes for testing the model subsystem.

 

            /Linus

 

*******************************************************************

Linus Tolke  [EMAIL PROTECTED] *******************************************************************

 

Reply via email to