Skip to content
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

Parameterise "Status" tests (#973) #980

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Parameterise "Status" tests (#973) #980

wants to merge 1 commit into from

Conversation

ghostcity
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Nov 22, 2020

Codecov Report

Merging #980 (8f4f08a) into master (039da58) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #980   +/-   ##
=========================================
  Coverage     97.94%   97.94%           
  Complexity      557      557           
=========================================
  Files            54       54           
  Lines          1166     1166           
  Branches        106      106           
=========================================
  Hits           1142     1142           
  Misses            9        9           
  Partials         15       15           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 039da58...8f4f08a. Read the comment docs.

public class StatusOrderTest {

@Test
public void valuesOf_ReturnsOrderedStatuses() {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

valuesOf....

final Status[] reference = { PASSED, FAILED, SKIPPED, PENDING, UNDEFINED };

// when
Status[] orderedStatuses = Status.values();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... or values() ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants