-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add Kotlin contracts to exposed Kotlin API #3259
Open
awelless
wants to merge
18
commits into
junit-team:main
Choose a base branch
from
awelless:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Aug 10, 2023
-
Added contracts for kotlin assertions
Added assertNull and assertNotNull methods with contracts. Added contracts for assertThrows and assertDoesNotThrow methods. assertInstanceOf can be implemented only with kotlin 1.4, because refined generics [are not supported](https://youtrack.jetbrains.com/issue/KT-28298) in contracts for kotlin 1.3 yet. Issue: junit-team#1866
Configuration menu - View commit details
-
Copy full SHA for e3b3ac3 - Browse repository at this point
Copy the full SHA e3b3ac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for edbe73f - Browse repository at this point
Copy the full SHA edbe73fView commit details -
Mark new kotlin assetion methods as experimental
Kotlin assertNull and assertNotNull methods are marked as experimental. Issue: junit-team#1866
Configuration menu - View commit details
-
Copy full SHA for 252cad2 - Browse repository at this point
Copy the full SHA 252cad2View commit details -
Lambda invoked in assertThrows is marked as being called UNKNOWN number of times, since contracts do nothing with exception suppression Issue: junit-team#1866
Configuration menu - View commit details
-
Copy full SHA for 1d5811b - Browse repository at this point
Copy the full SHA 1d5811bView commit details -
Created another fail method with a non-nullable lambda parameter Issue: junit-team#1866
Configuration menu - View commit details
-
Copy full SHA for 19922d6 - Browse repository at this point
Copy the full SHA 19922d6View commit details
Commits on Aug 25, 2023
-
Don't return a value from assertNotNull
Because of kotlin smart casts, there is no need to return a non-nullable value from `assertNotNull` methods Issue: junit-team#1866
Configuration menu - View commit details
-
Copy full SHA for eccb259 - Browse repository at this point
Copy the full SHA eccb259View commit details -
Api version is increased to 5.11 for `assertNull` and `assertNotNull` methods Issue: junit-team#1866
Configuration menu - View commit details
-
Copy full SHA for e427978 - Browse repository at this point
Copy the full SHA e427978View commit details -
Added `assertInstanceOf` assertions with upcasting contracts Issue: junit-team#1866
Configuration menu - View commit details
-
Copy full SHA for 544b4e1 - Browse repository at this point
Copy the full SHA 544b4e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 437d29e - Browse repository at this point
Copy the full SHA 437d29eView commit details
Commits on Aug 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 43c08ea - Browse repository at this point
Copy the full SHA 43c08eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff9fd39 - Browse repository at this point
Copy the full SHA ff9fd39View commit details
Commits on Sep 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5a70965 - Browse repository at this point
Copy the full SHA 5a70965View commit details -
Configuration menu - View commit details
-
Copy full SHA for 666f73f - Browse repository at this point
Copy the full SHA 666f73fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9920cf9 - Browse repository at this point
Copy the full SHA 9920cf9View commit details -
Adjust contract for assertTimeoutPreemptively
Invocation kind for the executable is UNKNOWN for assertTimeoutPreemptively methods Issue: junit-team#1866
Configuration menu - View commit details
-
Copy full SHA for 4d21486 - Browse repository at this point
Copy the full SHA 4d21486View commit details
Commits on Sep 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 30b9b78 - Browse repository at this point
Copy the full SHA 30b9b78View commit details
Commits on Sep 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 41f00c0 - Browse repository at this point
Copy the full SHA 41f00c0View commit details
Commits on Dec 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 69e9c38 - Browse repository at this point
Copy the full SHA 69e9c38View commit details
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.