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 (no laziness and source mutations support) by Damtev · Pull Request #871 · UnitTestBot/UTBotJava

Conversation

@Damtev

@Damtev Damtev commented Sep 7, 2022

Copy link
Copy Markdown
Member

Adds wrappers for primitive Streams as #548 does, but does not reflect lazy behavior and does not support stream's source mutations as default Java Streams do.

Fixes #146.

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_arrays branch 3 times, most recently from 6f2bed7 to 3d81a79 Compare September 7, 2022 14:59
@Damtev
Damtev requested a review from CaelmBleidd September 7, 2022 15:26
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers_arrays branch 4 times, most recently from d2077a2 to 3153e31 Compare September 14, 2022 12:21
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers_arrays branch from 3153e31 to 8e92e20 Compare September 16, 2022 08:54
CaelmBleidd
CaelmBleidd requested changes Sep 25, 2022
View reviewed changes
Comment thread utbot-framework/src/main/kotlin/org/utbot/tests/infrastructure/UtValueTestCaseChecker.kt
}
if (testName) {
valueExecutions.checkNameMatchers(summaryNameChecks)
valueExecutions.checkNamesForBasicErrors()

@CaelmBleidd CaelmBleidd Sep 23, 2022

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Did you ask anyone from the ML team about it? Is it fine to remove it?

Sorry, something went wrong.

Uh oh!

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

All reactions

@amandelpie amandelpie Sep 28, 2022

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Hard to say, let's comment it temporarly with the link to the broken test

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/DoubleStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/IntStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/IntStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/LongStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/kotlin/org/utbot/engine/selectors/strategies/DistanceStatistics.kt Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/collections/Collection.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/Arrays.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/UtStream.java Resolved

Uh oh!

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

Comment thread utbot-framework-test/src/test/kotlin/org/utbot/examples/stream/BaseStreamExampleTest.kt Resolved

Uh oh!

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

@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers_arrays branch from 8e92e20 to 4897f57 Compare September 26, 2022 15:09
CaelmBleidd
CaelmBleidd requested changes Sep 27, 2022
View reviewed changes
Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/UtDoubleStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/UtDoubleStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/UtDoubleStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/kotlin/org/utbot/engine/StreamWrappers.kt Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/UtStream.java Resolved

Uh oh!

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

Comment thread utbot-framework-test/src/test/kotlin/org/utbot/examples/stream/BaseStreamExampleTest.kt Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/UtStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/kotlin/org/utbot/engine/ObjectWrappers.kt Resolved

Uh oh!

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

@Damtev
Fixed repeated hashCode calculation for Edge
2b60de7
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers_arrays branch 2 times, most recently from 9ea7c01 to 74cba30 Compare September 28, 2022 05:56
CaelmBleidd
CaelmBleidd approved these changes Sep 28, 2022
View reviewed changes
Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/UtDoubleStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/java/org/utbot/engine/overrides/stream/UtDoubleStream.java Resolved

Uh oh!

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

Comment thread utbot-framework/src/main/kotlin/org/utbot/engine/Resolver.kt Resolved

Uh oh!

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

@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers_arrays branch from 764c3ce to f001e37 Compare September 28, 2022 08:38
Damtev added 13 commits September 28, 2022 12:55
@Damtev
Disabled strange failed naming check
b362960
@Damtev
Implemented wrappers for primitive streams
adb0cec
@Damtev
Added tests for primitive streams
fc5d7eb
@Damtev
Added toArray without ClassCastException check API
91c6b74
@Damtev
Restricted steps limit for a few tests (HACK)
9797973
@Damtev
Fixed UNSAT core debug logging
75b2de8
@Damtev
Fixed rebase errors
9ce941e
@Damtev
Added wrapped methods for creating streams from primitive arrays
4a69e0b
@Damtev
Fixed failed tests
01ad8e5
@Damtev
Disabled distinct test
47b1b7b
@Damtev
Fixed array casts
58c15a2
@Damtev
Fixed review issues
ff79a92
@Damtev
More fixes for review issues
78c9c4f
Damtev added 4 commits September 28, 2022 12:55
@Damtev
Fixed type resolving
40ebea6
@Damtev
Fixed wrong resolved values for a primitive stream as a parameter
a5d9da8
@Damtev
Marked primitive stream tests as slow
2aeb263
@Damtev
Fixed last review issues
e3381ef
@Damtev
Damtev force-pushed the damtev/primitive_stream_wrappers_arrays branch from f001e37 to e3381ef Compare September 28, 2022 09:56
@Damtev
Damtev enabled auto-merge (squash) September 28, 2022 10:00
@Damtev
Marked mapTo* primitive stream tests as slow
d9e4a42
@Damtev
Damtev merged commit 1411a8c into main Sep 28, 2022
@Damtev
Damtev deleted the damtev/primitive_stream_wrappers_arrays branch September 28, 2022 15:31
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this pull request Oct 17, 2022
@Damtev @AbdullinAM
Primitive Stream wrappers (no laziness and source mutations support) (U…
8be7f12
…nitTestBot#871)

* Fixed repeated `hashCode` calculation for `Edge`

* Added `toArray` without ClassCastException check API

* Fixed UNSAT core debug logging
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this pull request Oct 17, 2022
@Damtev @AbdullinAM
Primitive Stream wrappers (no laziness and source mutations support) (U…
e10a50e
…nitTestBot#871)

* Fixed repeated `hashCode` calculation for `Edge`

* Added `toArray` without ClassCastException check API

* Fixed UNSAT core debug logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@amandelpie amandelpie amandelpie left review comments
@CaelmBleidd CaelmBleidd CaelmBleidd approved these changes

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.

3 participants

@Damtev @CaelmBleidd @amandelpie
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.