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 — Primitive stream wrappers by Damtev · Pull Request #548 · UnitTestBot/UTBotJava

Conversation

@Damtev

@Damtev Damtev commented Jul 18, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Description

Implemented wrappers for primitive streams (IntStream, LongStream, DoubleStream) and replaced org.utbot.engine.overrides.collections.RangeModifiableUnlimitedArray#toArray usage in stream wrappers to avoid wrong ClassCastException detections.

Fixes #146.

Type of Change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Automated Testing

  • org.utbot.examples.stream.IntStreamExampleTest
  • org.utbot.examples.stream.LongStreamExampleTest
  • org.utbot.examples.stream.DoubleStreamExampleTest

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

Sorry, something went wrong.

Uh oh!

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

All reactions
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers branch 3 times, most recently from 5d2b858 to 0d267ec Compare July 21, 2022 15:50
@Damtev
Damtev marked this pull request as ready for review July 22, 2022 06:24
@Damtev
Damtev requested a review from CaelmBleidd July 22, 2022 06:24
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers branch from 2276ba6 to 7d6d01a Compare July 25, 2022 13:46
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers branch 3 times, most recently from 770d6ea to 6bffa52 Compare August 5, 2022 12:07
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers branch from 6bffa52 to e362c9f Compare August 10, 2022 14:50
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers branch 5 times, most recently from b2288c6 to 026c93a Compare August 29, 2022 17:36
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers branch from 026c93a to ad3f632 Compare September 1, 2022 14:23
Damtev and others added 14 commits September 2, 2022 10:24
@Damtev
Fixed repeated hashCode calculation for Edge
a4ff7cd
@Damtev
Disabled strange failed naming check
76abc73
@Damtev
Implemented wrappers for primitive streams
ca82c97
@Damtev
Added tests for primitive streams
686ed66
@Damtev
Added toArray without ClassCastException check API
e46893b
@Damtev
Restricted steps limit for a few tests (HACK)
4b48996
@Damtev
Disabled limit and skip tests
d85755e
@Damtev
Using Collection as an internal storage for Stream wrappers
b544ad5
@Damtev
Lazy stream wrappers WIP
f866d73
@Damtev
Actions for streams implementation WIP
1d4189a
@Damtev
WIP: actions for streams implementation
42077da
@ArsenHD @Damtev
Support anonymous classes
976d420
@Damtev
Debug
ed02716
@Damtev
Debug sat states
763ffc9
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers branch from 540f9fb to 763ffc9 Compare September 2, 2022 07:49
Damtev added 4 commits September 2, 2022 12:18
@Damtev
Fixed rebase errors
07b659b
@Damtev
WIP
7631b62
@Damtev
Used actions for primitive Stream wrappers
49a5852
@Damtev
Fixed tests
0489c6a
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers branch from 908b6fe to 0489c6a Compare September 3, 2022 19:57
@Damtev
Added resolving streams from arrays
f3612cd
@Damtev Damtev mentioned this pull request Sep 7, 2022
Primitive Stream wrappers (no laziness and source mutations support) #871
Merged
@Damtev
Damtev marked this pull request as draft September 27, 2022 10:50
@Damtev

Damtev commented Oct 7, 2022

Copy link
Copy Markdown
Member Author

Already merged simplified primitive Streams (without laziness and source mutations)

All reactions

Sorry, something went wrong.

Uh oh!

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

@Damtev Damtev closed this Oct 7, 2022
@Damtev
Damtev deleted the damtev/primitive_stream_wrappers branch March 20, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@CaelmBleidd CaelmBleidd Awaiting requested review from CaelmBleidd
Copilot code review Copilot
Copilot will automatically review once the pull request is marked ready for review

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Wrappers for primitive Streams

Uh oh!

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

2 participants

@Damtev @ArsenHD
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.