-
Notifications
You must be signed in to change notification settings - Fork 46
Summaries for tests generated by fuzzer are generated in the summary module #597 #599
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
ac224e6
Just moved some classes and shifted the stage of name generation for …
amandelpie 10f1629
Merge branch 'main' into amandelpie/feature_597
amandelpie 7ceeb4b
Made some refactoring
amandelpie 010a8d1
Fixed a bug
amandelpie d111e5b
Changed signatures
amandelpie e9c62b7
Merge branch 'main' into amandelpie/feature_597
amandelpie 5554705
Fixed merge issues
amandelpie 46f8533
Add some fixes
amandelpie 81e0759
Add some fixes
amandelpie 707b6a1
Add some fixes
amandelpie fede3eb
Fixed some places
amandelpie 0af780c
Fixed some places
amandelpie 01d68e2
Fixed some places
amandelpie 0722fed
Fixed wildcard imports
amandelpie 1240c20
Merge branch 'main' into amandelpie/feature_597
amandelpie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ import org.utbot.framework.plugin.api.UtModel | |
import org.utbot.framework.plugin.api.UtNullModel | ||
import org.utbot.framework.plugin.api.UtPrimitiveModel | ||
import org.utbot.framework.plugin.api.UtReferenceModel | ||
import org.utbot.framework.plugin.api.UtSymbolicExecution | ||
import org.utbot.framework.plugin.api.UtValueExecution | ||
import org.utbot.framework.plugin.api.UtValueExecutionState | ||
import org.utbot.framework.plugin.api.UtVoidModel | ||
|
@@ -123,17 +124,31 @@ class ValueConstructor { | |
val (stateAfter, _) = constructState(execution.stateAfter) | ||
val returnValue = execution.result.map { construct(listOf(it)).single().value } | ||
|
||
return UtValueExecution( | ||
stateBefore, | ||
stateAfter, | ||
returnValue, | ||
execution.path, | ||
mocks, | ||
execution.instrumentation, | ||
execution.summary, | ||
execution.testMethodName, | ||
execution.displayName | ||
) | ||
if (execution is UtSymbolicExecution) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor: |
||
return UtValueExecution( | ||
stateBefore, | ||
stateAfter, | ||
returnValue, | ||
execution.path, | ||
mocks, | ||
execution.instrumentation, | ||
execution.summary, | ||
execution.testMethodName, | ||
execution.displayName | ||
) | ||
} else { | ||
return UtValueExecution( | ||
stateBefore, | ||
stateAfter, | ||
returnValue, | ||
emptyList(), | ||
mocks, | ||
emptyList(), | ||
execution.summary, | ||
execution.testMethodName, | ||
execution.displayName | ||
) | ||
} | ||
} | ||
|
||
private fun constructParamsAndMocks( | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.