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

Add disjunction with null condition to isMock constraint#1521

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
CaelmBleidd merged 1 commit intomainfromcaelmbleidd/null_values_as_mock_fix
Dec 15, 2022

Conversation

@CaelmBleidd
Copy link
Member

@CaelmBleiddCaelmBleidd commentedDec 15, 2022
edited
Loading

Description

Added a disjunction with nullability constraint to avoid an assignment to a null object contradicting conditions about whether it is mock or not.

Fixes#1520

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Regression and integration tests

There is no difference between automatic tests and international tests for the engine.

Automated Testing

org.utbot.examples.mock.CommonMocksExample#mocksForNullOfDifferentTypes

Manual Scenario

Did not check it manually.

Checklist:

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

@CaelmBleiddCaelmBleiddforce-pushed thecaelmbleidd/null_values_as_mock_fix branch from55e5eec tofda8e9fCompareDecember 15, 2022 06:03
Copy link
Member

@sergeypospelovsergeypospelov left a comment

Choose a reason for hiding this comment

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

LGTM

@CaelmBleiddCaelmBleidd merged commite28e14c intomainDec 15, 2022
@CaelmBleiddCaelmBleidd deleted the caelmbleidd/null_values_as_mock_fix branchDecember 15, 2022 08:58
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sergeypospelovsergeypospelovsergeypospelov approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Mock label is assigned to null values

3 participants

@CaelmBleidd@sergeypospelov

[8]ページ先頭

©2009-2025 Movatter.jp