Implemented AssertThatBooleanIsTrueOrFalseInspection.

This commit is contained in:
2019-03-23 22:44:22 +01:00
parent 80104004d0
commit 8051511524
14 changed files with 241 additions and 12 deletions
+3 -3
View File
@@ -19,12 +19,12 @@ This makes finding bugs and fixing failed tests easier.
- AssertThatObjectIsNotNull
> from: assertThat(object).isNotEqualTo(null);
> to: assertThat(object).isNotNull();
## TODO
- AssertThatBooleanIsTrueOrFalse
> from: assertThat(booleanValue).isEqualTo(true/false/Boolean.TRUE/Boolean.FALSE);
> to: assertThat(booleanValue).isTrue()/isFalse();
- AssertThatStringEmpty
## TODO
- AssertThatStringIsEmpty
> from: assertThat(string).isEqualTo("")
> to: assertThat(string).isEmpty();
- AssertThatArrayHasLiteralSize