refactor you runbasebatch class to be testable from another class extending SysTestCase
On 8/2/07, Rahul Mohta <[EMAIL PROTECTED]> wrote: > Hi All, > > Need your opinion on the following query regarding multiple > inheritance and Unit testing in Ax 40. > > According to my knowledge, Ax supports only single class to be > extended while there are cases when more than 1 class is required to > be extended. > > Example: Unit Test class > Extending Unit testing class (SysTestCase) to a custom class > (Custom_Class_A) which is already extending class RunBaseBatch > In this case how to extend my custom > class also to SysTestCase class? > > The following class declaration gave > error to me as it is not > allowed: > Custom_Class_A extends > Runbasebatch,SysTestCase > > In such case, how to do unit testing in Ax 4.0 as X++ supports only > single class inheritance? > > Looking forward for your kind responses to handle such a situations? > > > Regards, > Rahul Mohta > > > > > > Yahoo! Groups Links > > > > -- Max Belugin, http://belugin.info , ICQ:9406811