Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve plugin behavior classes/packages with no methods #516#533

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@volivan239
Copy link
Collaborator

@volivan239volivan239 commentedJul 15, 2022
edited
Loading

Description

  • When choosing class with no methods available for testing,Generate tests with UTBot... is now disabled
  • When launching plugin on a package with no methods found, Info message is now shown

Fixes#516

Type of Change

Please delete options that are not relevant.

  • Minor bug fix (non-breaking small changes)

How Has This Been Tested?

Automated Testing

No new tests were added

Manual Scenario

  • TryAlt+Shift+U while on a class with no methods -- nothing happens
  • TryAlt+Shift+U on a package with classes that have no methods -- an info message is shown

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • Tests that prove my change is effective
  • All tests pass locally with my changes

@volivan239volivan239 marked this pull request as ready for reviewJuly 15, 2022 13:21
"No methods for test generation were found among selected items",
"No methods found")
}
}

Choose a reason for hiding this comment

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

Should we return here?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

added return

@volivan239volivan239 merged commit4f9cc2e intomainJul 18, 2022
@volivan239volivan239 deleted the volivan239/plugin-ui-when-no-methods-available branchJuly 18, 2022 13:32
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@Vassiliy-KudryashovVassiliy-KudryashovVassiliy-Kudryashov approved these changes

Assignees

No one assigned

Labels

None yet

Projects

Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Show warning message instead of TestsDialogWindow when no methods/classes available

3 participants

@volivan239@Vassiliy-Kudryashov

[8]ページ先頭

©2009-2025 Movatter.jp