Skip to content

Commit 280b2ac

Browse files
committed
Complete changelog for v0.4.0
1 parent cfa9b27 commit 280b2ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66

77
## [0.4.0]
88
### Added
9+
- [#4](https://github.com/picimako/mockitools/issues/4): Added an intention action that can convert `Mockito.mock()` calls to `@Mock` annotated fields.
910
- [#8](https://github.com/picimako/mockitools/issues/8): Added a new inspection that reports multiple consecutive calls on `*Throw()` stubbing calls.
1011
They can be merged into a single such call.
1112
- [#8](https://github.com/picimako/mockitools/issues/8): Merging of consecutive `*Return()` and `*Throw()` stubbing calls can happen separately if
1213
there are multiple such sections within a stubbing call chain. They, from now on, also keep line wrapping and indentation after applying the quick fix.
14+
- [#12](https://github.com/picimako/mockitools/issues/12): Added a new intention action that can convert arguments of `*Throw()` stubbing methods
15+
from `Type.class` expressions to `new Type()` expressions and vice versa.
1316
- [#13](https://github.com/picimako/mockitools/issues/13): Added 4 new intention actions that can convert between the various stubbing approaches.
1417
- [#15](https://github.com/picimako/mockitools/issues/15): Added 2 new intention actions that can convert between the `Mockito.verify()`
1518
and `BDDMockito.then()` approaches, and vice versa.
@@ -29,7 +32,7 @@ These can be merged into a single such call. See [documentation](docs/stubbing.m
2932
- Updated Gradle IntelliJ plugin to 1.4.0, gradle to 7.4, and qodana-action to 4.2.5.
3033
- Replaced unit test file checks with a less restrictive, test source root content check, because unit test file names don't necessarily end with the word *Test*.
3134
This will allow certain functionality to run in files whose names don't end with *Test*.
32-
35+
3336
## [0.2.0]
3437
### Added
3538
- [#2](https://github.com/picimako/mockitools/issues/2): Extended `MockTypeInspection` to validate and report types annotated with `@DoNotMock` annotation.

0 commit comments

Comments
 (0)