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

Rename UtTestCase #519#517

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
sergeypospelov merged 3 commits intomainfromsergey/ut-test-case-refactoring
Jul 14, 2022
Merged

Conversation

@sergeypospelov
Copy link
Member

@sergeypospelovsergeypospelov commentedJul 13, 2022
edited
Loading

Description

  • RenamedUtTestCase class toUtMethodTestSet.
  • Also renamed all related local variables and functions to...testSet....
  • Along with this, renamedUtValueTestCase toUtMethodValueTestSet. FYI: it's only used in our tests.

Fixes#519

Type of Change

  • Refactoring (typos and non-functional changes)

Checklist:

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • No new warnings
  • All tests pass locally with my changes

@sergeypospelovsergeypospelovforce-pushed thesergey/ut-test-case-refactoring branch from9fe794a toba1ac51CompareJuly 13, 2022 12:17
@sergeypospelovsergeypospelov changed the titleUtTestCase refactorRename UtTestCaseJul 13, 2022
@sergeypospelovsergeypospelov changed the titleRename UtTestCaseRename UtTestCase #519Jul 13, 2022
Copy link
Collaborator

@mmvpmmmvpm left a comment

Choose a reason for hiding this comment

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

Please rename the following as well:

  • org/utbot/sarif/SarifReport.kt:73
  • org/utbot/framework/plugin/sarif/GenerateTestsAndSarifReportFacade.kt:35
  • org/utbot/framework/plugin/sarif/GenerateTestsAndSarifReportFacade.kt:72
  • org/utbot/contest/Contest.kt:336
  • org/utbot/external/api/UtBotJavaApi.kt:111

sergeypospelov reacted with heart emoji
@mmvpm
Copy link
Collaborator

Also:

  • examples/SummaryTestCaseGeneratorTest.kt:100
  • org/utbot/framework/codegen/model/constructor/tree/CgTestClassConstructor.kt:53
  • org/utbot/examples/UtModelTestCaseChecker.kt:96
  • org/utbot/examples/UtValueTestCaseChecker.kt:2295
sergeypospelov reacted with heart emoji

@mmvpm
Copy link
Collaborator

Also:

  • org/utbot/examples/UtValueTestCaseChecker.kt:2339
  • org/utbot/examples/UtValueTestCaseChecker.kt:2479
  • org/utbot/framework/plugin/api/FuzzerTestCaseGeneratorTest.kt:18
sergeypospelov reacted with heart emoji

@sergeypospelov
Copy link
MemberAuthor

Looks like

  • org/utbot/contest/Contest.kt:336

shouldn't be renamed

mmvpm reacted with thumbs up emoji

@mmvpm
Copy link
Collaborator

Also:

  • org/utbot/cli/BunchTestGeneratorCommand.kt:107
  • org/utbot/cli/GenerateTestsCommand.kt:105
  • org.utbot.cli.GenerateTestsAbstractCommand#generateTestSets
  • org/utbot/framework/coverage/CoverageCalculator.kt:143
  • org/utbot/intellij/plugin/generator/CodeGenerationController.kt:98
sergeypospelov reacted with heart emoji

Copy link
Collaborator

@mmvpmmmvpm left a comment
edited
Loading

Choose a reason for hiding this comment

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

Also:

  • org/utbot/external/api/UtBotJavaApi.kt:153 (with comment)
  • org/utbot/external/api/UtBotJavaApi.kt:105
  • (?) org/utbot/framework/codegen/model/constructor/tree/CgMethodConstructor.kt:1365
  • (?) org/utbot/framework/codegen/model/constructor/tree/CgMethodConstructor.kt:1312
  • (?) org/utbot/framework/codegen/model/constructor/tree/CgTestClassConstructor.kt:44

sergeypospelov reacted with heart emoji
@sergeypospelov
Copy link
MemberAuthor

  • (?) org/utbot/framework/codegen/model/constructor/tree/CgMethodConstructor.kt:1365
  • (?) org/utbot/framework/codegen/model/constructor/tree/CgMethodConstructor.kt:1312

Looks like these uses of "case" are correct.

mmvpm reacted with hooray emoji

@sergeypospelovsergeypospelovforce-pushed thesergey/ut-test-case-refactoring branch fromc6ab919 toe8b13dbCompareJuly 13, 2022 14:07
@sergeypospelovsergeypospelovforce-pushed thesergey/ut-test-case-refactoring branch frome8b13db to861990cCompareJuly 13, 2022 14:09
@sergeypospelovsergeypospelov merged commit08ded2a intomainJul 14, 2022
@sergeypospelovsergeypospelov deleted the sergey/ut-test-case-refactoring branchJuly 14, 2022 09:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mmvpmmmvpmmmvpm approved these changes

@EgorkaKulikovEgorkaKulikovAwaiting requested review from EgorkaKulikov

Assignees

No one assigned

Labels

None yet

Projects

Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Rename UtTestCase

3 participants

@sergeypospelov@mmvpm

[8]ページ先頭

©2009-2025 Movatter.jp