Regarding multiple inheritance and Unit testing in Ax 4.0

9 views
Skip to first unread message

mohta...@gmail.com

unread,
Aug 2, 2007, 9:39:38 AM8/2/07
to AXAPTA INDIA
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

Reply all
Reply to author
Forward
0 new messages