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

TCK: Set public access to test methods #3025

Merged
merged 5 commits into from
May 22, 2024
Merged

Conversation

AbdelHedhili
Copy link
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?
Bug fix

What is the current behavior?
some test methods doesn't have a public access in the TCK

What is the new behavior (if this is a feature change)?
public access

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

Signed-off-by: Abdelsalem <abdelsalem.hedhili@rte-france.com>
@AbdelHedhili AbdelHedhili self-assigned this May 17, 2024
@AbdelHedhili AbdelHedhili requested a review from olperr1 May 17, 2024 14:20
@olperr1 olperr1 added the bug label May 21, 2024
Copy link
Member

@olperr1 olperr1 left a comment

Choose a reason for hiding this comment

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

There are several other files with package protected tests in the TCK:

  • AbstractConnectionNotificationTest.java;
  • AbstractReferencePrioritiesTest.java;
  • AbstractReferenceTerminalsTest.java;
  • AbstractSecondaryVoltageControlTest.java.

You can find them by searching the pattern:

@Test
    void

Can you also fix these tests in this PR?

@olperr1 olperr1 changed the title fix: set public access to tck test methods Fix: Set public access to tck test methods May 21, 2024
AbdelHedhili and others added 2 commits May 22, 2024 09:41
Signed-off-by: Abdelsalem <abdelsalem.hedhili@rte-france.com>
Copy link

sonarcloud bot commented May 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@AbdelHedhili AbdelHedhili requested a review from olperr1 May 22, 2024 07:55
Copy link

sonarcloud bot commented May 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@olperr1 olperr1 changed the title Fix: Set public access to tck test methods TCK: Set public access to test methods May 22, 2024
@olperr1 olperr1 merged commit 6b37add into main May 22, 2024
6 checks passed
@olperr1 olperr1 deleted the public_accessor_on_tck_test branch May 22, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants