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
#152 support value classes #849
Merged
Merged
Changes from 21 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
4c936b1
#152 add failing tests for value classes
aSemy b6670b7
Merge branch 'kotlin-1-7' into fix/152-value-classes
aSemy 7da1ad8
Merge branch 'master' into fix/152-value-classes
aSemy 514e014
add support for value class any() matcher
aSemy cd368da
fix value classes & slots
aSemy 32ade90
update 'inline class' to 'value class'
aSemy 0ffba57
update TODO, apply some auto-fixes to remove warnings
aSemy f2e6c7a
refactor mock-dsl-jvm to re-use ValueClassSupport code, and add TODOs…
aSemy 1c5e442
test for #729
aSemy 9cc892f
test #729, extension fun with UInt return
aSemy bcd427e
rm 'actual' from 'expect' object
aSemy 201b43d
fix kdoc typo
aSemy 65e8643
fix kdoc typo
aSemy 5e7851b
refactor: simplify ValueClassSupport
qoomon ed8ab0c
Merge remote-tracking branch 'aSemy/mockk/fix/152-value-classes' into…
aSemy aafe7af
more testing for value classes - pre-merge in https://github.com/aSem…
aSemy fd6b24e
Merge pull request #1 from qoomon/fix/152-value-classes
aSemy 360b08e
Merge remote-tracking branch 'aSemy/fix/152-value-classes' into fix/1…
aSemy af349e7
disable wrapped value class tests, rename tests for consistency
aSemy 592bdaf
rename file to match obj name
aSemy fcaef2e
added timeout for Gradle test tasks
aSemy 8b8017c
bump test timeout
aSemy File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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 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 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 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 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import java.time.Duration | ||
|
||
buildscript { | ||
ext.kotlin_gradle_version = findProperty('kotlin.version')?.toString() ?: '1.6.0' | ||
ext.android_gradle_version = '7.0.0' | ||
|
@@ -44,4 +46,8 @@ subprojects { subProject -> | |
languageVersion = "1.5" | ||
} | ||
} | ||
|
||
tasks.withType(Test).configureEach { | ||
timeout.set(Duration.ofMinutes(2)) | ||
} | ||
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. I added this timeout to prevent the tests from hanging. I think 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. Nice, thanks! |
||
} |
This file contains 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 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 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.
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.
I added this timeout for all test tasks - I think 2 minutes should be fine.
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.
😎👍