Skip to content

Conversation

@tepa46
Copy link
Collaborator

@tepa46 tepa46 commented Jul 6, 2023

Description

Now, all class fields, annotated with @InjectMocks, @Mock, @Autowired or mockitoCloseable field are private

image


Also, setUp and tearDown methods are under test methods.

#2325 closed

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@tepa46 tepa46 added comp-codegen Issue is related to code generator comp-spring Issue is related to Spring projects support labels Jul 6, 2023
@tepa46 tepa46 requested a review from EgorkaKulikov July 6, 2023 22:36
@tepa46 tepa46 linked an issue Jul 6, 2023 that may be closed by this pull request
@EgorkaKulikov EgorkaKulikov merged commit 662763b into main Jul 7, 2023
@EgorkaKulikov EgorkaKulikov deleted the kirill/cg-correct-field-modificators branch July 7, 2023 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-codegen Issue is related to code generator comp-spring Issue is related to Spring projects support

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Correct field modifiers in Spring test classes

3 participants