chrisly42
9f91fb3ccf
Added support for referencing and refactoring inside ``.extracting()`` methods with fields, properties and methods (though getter renaming does not work that perfect, but I'm giving up for now as the IntelliJ SDK docs are seriously lacking).
...
Fixed an exception in batch mode if the description string was the same but for different fixes. Now descriptions are different for quick fixes triggered by AssertThatJava8OptionalInspection and AssertThatGuavaOptionalInspection. Minor refactorings. Extended documentation.
2019-04-18 22:12:48 +02:00
chrisly42
b58d8cfd2f
Fix for incompatible method call regarding IDEA <2018.2.
...
Heavy refactoring regarding quick fixes (using more extensions).
Even more refactoring.
Fixed/extended AssertThatGuavaOptionalInspection regarding static.
imports and wrong reference to core assertThat() where Guava assertThat() actually was necessary.
2019-04-13 18:35:49 +02:00
chrisly42
4e6d53b3dc
Reduced minimal supported IDEA version from 2018.2 to 2017.2.
...
Added AssertThatGuavaOptional inspection. Prepared next release.
Bumped to Kotlin 1.3.30.
2019-04-11 23:55:35 +02:00
chrisly42
2cdc242125
Refactored Code to avoid string duplications... added Boolean.map() extension.
2019-04-11 21:09:10 +02:00
chrisly42
d49b7bf17b
Optimized even more code. Fixed BinaryExpression for Boolean.TRUE/FALSE. Added new AssertThatJava8Optional inspection. Added changelog to README.
2019-04-11 16:26:11 +02:00
chrisly42
c1d8ade7b1
Optimized code. More kotlin-style stuff. Made detecting of Boolean.TRUE/FALSE available to all constant evaluations.
2019-04-08 11:56:13 +02:00
chrisly42
bdabcc7255
Removed TODO about AssertThatBinaryExpressionIsTrueOrFalse.
2019-04-07 11:37:10 +02:00
chrisly42
5812e72227
New inspection AssertThatBinaryExpressionIsTrueOrFalse that will find and fix common binary expressions and equals() statements (more than 150 combinations) inside assertThat().
2019-04-07 11:29:07 +02:00
chrisly42
6a44237ca0
Added tacky icon.
2019-04-06 21:29:18 +02:00
chrisly42
51703e8499
Merged AssertThatObjectIsNull and AssertThatObjectIsNotNull to AssertThatObjectIsNullOrNotNull.
...
Extended tests to be more explicit regarding the expected quick fix messages.
2019-04-06 21:29:18 +02:00
chrisly42
ba56325299
Internally: Upgraded to AssertJ 13.2.2.
...
Support for hasSizeLessThan(), hasSizeLessThanOrEqualTo(), hasSizeGreaterThanOrEqualTo(), and hasSizeGreaterThan() for AssertThatSizeInspection (with AssertJ >=13.2.0).
Really fixed highlighting for JUnit conversion. Sorry.
Fixed testing code to work against IDEA 2019.1.
2019-04-06 21:29:13 +02:00
chrisly42
5d91eaf276
Fixed descriptions and quick fix texts. Fixed highlighting of found problems and also 'Run inspection by Name' returning nothing.
2019-04-01 16:44:52 +02:00
chrisly42
78ad242b43
Added licence. Fixed descriptions.
2019-03-31 21:55:49 +02:00
chrisly42
8a246c1319
Implemented AssertThatSizeInspection.
2019-03-31 20:44:52 +02:00
chrisly42
847e46c217
Implemented JUnitAssertToAssertJInspection. More refactorings. Doc fixes.
2019-03-31 15:15:06 +02:00
chrisly42
582e254195
Implemented AssertThatEnumerableIsEmptyInspection. Improved literal values by constant value calculation, more refactoring.
2019-03-24 14:42:02 +01:00
chrisly42
e2ffce753c
Another fix for AssertThatStringIsEmpty, added support for CharSequences, added hasSize(0) case, refactored stuff. Added missing html.
2019-03-24 13:03:53 +01:00
chrisly42
458542de7c
Fix for AssertThatStringIsEmpty, refactored method.
2019-03-24 11:37:46 +01:00
chrisly42
5fa61a3004
Implemented AssertThatStringIsEmpty.
2019-03-24 09:15:07 +01:00
chrisly42
8051511524
Implemented AssertThatBooleanIsTrueOrFalseInspection.
2019-03-23 22:44:22 +01:00
chrisly42
80104004d0
Initial check-in with two inspections working.
2019-03-10 18:19:46 +01:00