Skip to content

Primitive stream wrappers #548

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed

Conversation

Damtev
Copy link
Member

@Damtev Damtev commented Jul 18, 2022

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

@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 Damtev force-pushed the damtev/primitive_stream_wrappers branch from 540f9fb to 763ffc9 Compare September 2, 2022 07:49
@Damtev Damtev force-pushed the damtev/primitive_stream_wrappers branch from 908b6fe to 0489c6a Compare September 3, 2022 19:57
@Damtev
Copy link
Member Author

Damtev commented Oct 7, 2022

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

@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrappers for primitive Streams
2 participants