Hi All,
I would like to know how EMMA instruments private methods which are not accessible from out side.please let me know.Isn't it a violation of OOPS concepts ( encapsulation ).
regards
sivajik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>I would like to know how EMMA instruments private methods which are not accessible from out side.
What do you mean by "out side"? EMMA instruments bytecode either during classloading or by processing .class files. In both cases EMMA directly manipulates an array of bytes in .class format.
>Isn't it a violation of OOPS concepts ( encapsulation ).
What does OOP encapsulation have to do with code coverage?
Vlad.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I would like to know how EMMA instruments private methods which are not accessible from out side.please let me know.Isn't it a violation of OOPS concepts ( encapsulation ).
regards
sivajik
>I would like to know how EMMA instruments private methods which are not accessible from out side.
What do you mean by "out side"? EMMA instruments bytecode either during classloading or by processing .class files. In both cases EMMA directly manipulates an array of bytes in .class format.
>Isn't it a violation of OOPS concepts ( encapsulation ).
What does OOP encapsulation have to do with code coverage?
Vlad.