Skip to content

Commit

Permalink
Modification in Incorrect Resource Annotation test
Browse files Browse the repository at this point in the history
  • Loading branch information
dessina-devasia committed Nov 7, 2024
1 parent 8941fd8 commit 0a35dbf
Showing 1 changed file with 2 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,16 @@

import random.test.pkg.on.Resource;

@Resource(type = Object.class, name = "aa")
public class IncorrectResourceAnnotation {

private Integer studentId;


@Resource(shareable = true)
private boolean isHappy;

@Resource(name = "test")
@Resource
private boolean isSad;


private String emailAddress;


}

@random.test.pkg.on.Resource(name = "aa")
class PostDoctoralStudent {

private Integer studentId;


@random.test.pkg.on.Resource(shareable = true)
@random.test.pkg.on.Resource
private boolean isHappy;

@random.test.pkg.on.Resource
private boolean isSad;


private String emailAddress;

}

0 comments on commit 0a35dbf

Please sign in to comment.