Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sergeypospelov
Copy link
Member

@sergeypospelov sergeypospelov commented Aug 30, 2022

Description

  • Add new AssembleModelGenerator heuristic: if we don't have affected fields, we can use empty constructor
  • Add UtLinkedListWithNullableCheck wrapper for deques and queues. It prohibits using null elements
  • Add new UtModel constructors for standard collections
  • Add additional tests on Queues and Deques
  • Refactor runSoot usages

Fixes #524 and SAT-1495

Type of Change

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

How Has This Been Tested?

Automated Testing

Add new test class: QueueUsagesTest.

Manual Scenario

To reproduce step from #524 passes.

Checklist:

  • 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
  • New tests have been added
  • All tests pass locally with my changes

Copy link
Member

@CaelmBleidd CaelmBleidd left a comment

Choose a reason for hiding this comment

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

LGTM

@sergeypospelov sergeypospelov requested a review from Damtev August 31, 2022 12:20
Copy link
Collaborator

@dtim dtim left a comment

Choose a reason for hiding this comment

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

LGTM

@sergeypospelov sergeypospelov merged commit 84ef0b1 into main Aug 31, 2022
@sergeypospelov sergeypospelov deleted the sergey/deque_fix branch August 31, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Test generation fails for test with Queue as method parameter
4 participants