[JIRA] (JSSH-29) Add a @NonnullBeforeTest annotation

Rod Widdowson (Jira) jira at shibboleth.atlassian.net
Wed Apr 26 13:48:40 UTC 2023


Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *created* an issue

Shibboleth Shared - Java ( https://shibboleth.atlassian.net/browse/JSSH?atlOrigin=eyJpIjoiMGEyYWFiMGJmOTMxNGUzYTkyODdlNTU3MWU0MDg2NDMiLCJwIjoiaiJ9 ) / Task ( https://shibboleth.atlassian.net/browse/JSSH-29?atlOrigin=eyJpIjoiMGEyYWFiMGJmOTMxNGUzYTkyODdlNTU3MWU0MDg2NDMiLCJwIjoiaiJ9 ) JSSH-29 ( https://shibboleth.atlassian.net/browse/JSSH-29?atlOrigin=eyJpIjoiMGEyYWFiMGJmOTMxNGUzYTkyODdlNTU3MWU0MDg2NDMiLCJwIjoiaiJ9 ) Add a @NonnullBeforeTest annotation ( https://shibboleth.atlassian.net/browse/JSSH-29?atlOrigin=eyJpIjoiMGEyYWFiMGJmOTMxNGUzYTkyODdlNTU3MWU0MDg2NDMiLCJwIjoiaiJ9 )

Issue Type: Task Affects Versions: 9.0.0 Assignee: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) Components: General, Testing Created: 26/Apr/23 9:48 AM Fix Versions: 9.0.0 Priority: Trivial Reporter: Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 )

As per https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/3192487937/2023-04-21

A lot of tests set up structures in a @BeforeClass or a @BeforeMethod method.

If we added this annotation it would help us clean up a lot of yellow in your tests.

( https://shibboleth.atlassian.net/browse/JSSH-29#add-comment?atlOrigin=eyJpIjoiMGEyYWFiMGJmOTMxNGUzYTkyODdlNTU3MWU0MDg2NDMiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JSSH-29#add-comment?atlOrigin=eyJpIjoiMGEyYWFiMGJmOTMxNGUzYTkyODdlNTU3MWU0MDg2NDMiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100223- sha1:038ca59 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230426/6f0680c1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-95861c06-07f0-4d22-ab0b-50f9999dbe26
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230426/6f0680c1/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-4b574448-c9fd-421f-97a5-ca0f67c269b8
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230426/6f0680c1/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-d2151983-3a1a-4ba9-a46c-83994763cbb5
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230426/6f0680c1/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-5cc05471-fc78-4075-b1f7-011ef399d353
Type: image/png
Size: 484 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230426/6f0680c1/attachment-0007.png>


More information about the commits mailing list