GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add executable generic parameter type resolving by IlyaMuravjov · Pull Request #2584 · UnitTestBot/UTBotJava

Conversation

@IlyaMuravjov

@IlyaMuravjov IlyaMuravjov commented Sep 8, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Description

Adds resolving for parameter types that can be used in #2583

Resolving is needed when we deal with generic types, for example, when we want to get Optional<String> from Optional.of it resolves that we need to pass String and not just any arbitrary Object as erased signature would say.

How to test

Automated tests

Run org.utbot.fuzzer.TypeUtilsTest

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@IlyaMuravjov
Add executable generic parameter type resolver
2edd74c
@IlyaMuravjov IlyaMuravjov added ctg-enhancement New feature, improvement or change request comp-fuzzing Issue is related to the fuzzing labels Sep 8, 2023
@IlyaMuravjov
IlyaMuravjov requested a review from Markoutte September 8, 2023 09:17
@IlyaMuravjov IlyaMuravjov mentioned this pull request Sep 8, 2023
Introduce object creation using builders for fuzzers #2583
Open
4 of 6 tasks
@IlyaMuravjov
Add tests for resolveParameterTypes and improve its implementation
9c48d93
@IlyaMuravjov
IlyaMuravjov marked this pull request as ready for review September 8, 2023 13:07
@IlyaMuravjov IlyaMuravjov mentioned this pull request Sep 20, 2023
Add more correct type resolving for collections and maps #2610
Merged
5 of 6 tasks
Markoutte
Markoutte approved these changes Sep 20, 2023
View reviewed changes
@IlyaMuravjov
IlyaMuravjov merged commit b901732 into main Sep 20, 2023
@IlyaMuravjov
IlyaMuravjov deleted the ilya_m/generic-parameter-type-resolver branch September 20, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Markoutte Markoutte Markoutte approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

comp-fuzzing Issue is related to the fuzzing ctg-enhancement New feature, improvement or change request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@IlyaMuravjov @Markoutte
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.