-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to cover Getter and Setter of any Abstract class or derived class having abstract class extended #115
Comments
I am having the same problem. The getters inside abstract class are somehow not detected and that results not in full code coverage. |
@zygimantus Have you tried to test the abstract class itself? |
@jyotsnapa Can you please send an example demonstrating the issue? <dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>5.2</version>
</dependency> |
It worked! Just curious - why is it required to specify this ASM separately rather than including in OpenPojo library for convenience? |
I confirm @oshoukry comment, add this dependency help to resolve this issue. |
I'm having the same problem, but in JDK 8 (OpenJDK 1.8.0_212). Any help would be appreciated, or maybe it can help get to the bottom of a problem. Thanks! I'm using:
And the test code:
|
Hello Team,
Unable to cover Getter and Setter of any Abstract class or derived class having abstract class extended
Kindly help me out to cover it . Let me know how can cover Getter and setter of any Abstarct class. :)
Getting below error
com.openpojo.reflection.exception.ReflectionException: Failed to create instance for class [com.openpojo.reflection.impl.PojoClassImpl ....
Thanks
Jyotsna
The text was updated successfully, but these errors were encountered: