TestNGToAssertJRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$).*
as compiler argument.
Table of contents
- Fail
- FailWithMessage
- FailWithMessageAndThrowable
- AssertTrue
- AssertTrueWithMessage
- AssertFalse
- AssertFalseWithMessage
- AssertNull
- AssertNullWithMessage
- AssertNotNull
- AssertNotNullWithMessage
- AssertSame
- AssertSameWithMessage
- AssertNotSame
- AssertNotSameWithMessage
- AssertEqual
- AssertEqualWithMessage
- AssertEqualFloatsWithDelta
- AssertEqualFloatsWithDeltaWithMessage
- AssertEqualDoublesWithDelta
- AssertEqualDoublesWithDeltaWithMessage
- AssertEqualArrayIterationOrder
- AssertEqualArrayIterationOrderWithMessage
- AssertEqualArraysIrrespectiveOfOrder
- AssertEqualArraysIrrespectiveOfOrderWithMessage
- AssertEqualIteratorIterationOrder
- AssertEqualIteratorIterationOrderWithMessage
- AssertEqualIterableIterationOrder
- AssertEqualIterableIterationOrderWithMessage
- AssertEqualSets
- AssertEqualSetsWithMessage
- AssertUnequal
- AssertUnequalWithMessage
- AssertUnequalFloatsWithDelta
- AssertUnequalFloatsWithDeltaWithMessage
- AssertUnequalDoublesWithDelta
- AssertUnequalDoublesWithDeltaWithMessage
- AssertThrows
- AssertThrowsWithType
Fail
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("Fail")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$Fail).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FailWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FailWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$FailWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FailWithMessageAndThrowable
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FailWithMessageAndThrowable")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$FailWithMessageAndThrowable).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertTrue
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertTrue")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertTrue).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertTrueWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertTrueWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertTrueWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertFalse
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertFalse")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertFalse).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertFalseWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertFalseWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertFalseWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertNull
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertNull")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertNull).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertNullWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertNullWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertNullWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertNotNull
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertNotNull")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertNotNull).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertNotNullWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertNotNullWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertNotNullWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertSame
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertSame")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertSame).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertSameWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertSameWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertSameWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertNotSame
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertNotSame")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertNotSame).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertNotSameWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertNotSameWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertNotSameWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqual
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqual")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqual).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualFloatsWithDelta
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualFloatsWithDelta")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualFloatsWithDelta).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualFloatsWithDeltaWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualFloatsWithDeltaWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualFloatsWithDeltaWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualDoublesWithDelta
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualDoublesWithDelta")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualDoublesWithDelta).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualDoublesWithDeltaWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualDoublesWithDeltaWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualDoublesWithDeltaWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualArrayIterationOrder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualArrayIterationOrder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualArrayIterationOrder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualArrayIterationOrderWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualArrayIterationOrderWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualArrayIterationOrderWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualArraysIrrespectiveOfOrder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualArraysIrrespectiveOfOrder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualArraysIrrespectiveOfOrder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualArraysIrrespectiveOfOrderWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualArraysIrrespectiveOfOrderWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualArraysIrrespectiveOfOrderWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualIteratorIterationOrder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualIteratorIterationOrder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualIteratorIterationOrder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualIteratorIterationOrderWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualIteratorIterationOrderWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualIteratorIterationOrderWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualIterableIterationOrder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualIterableIterationOrder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualIterableIterationOrder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualIterableIterationOrderWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualIterableIterationOrderWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualIterableIterationOrderWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualSets
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualSets")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualSets).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertEqualSetsWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertEqualSetsWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertEqualSetsWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertUnequal
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertUnequal")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertUnequal).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertUnequalWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertUnequalWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertUnequalWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertUnequalFloatsWithDelta
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertUnequalFloatsWithDelta")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertUnequalFloatsWithDelta).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertUnequalFloatsWithDeltaWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertUnequalFloatsWithDeltaWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertUnequalFloatsWithDeltaWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertUnequalDoublesWithDelta
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertUnequalDoublesWithDelta")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertUnequalDoublesWithDelta).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertUnequalDoublesWithDeltaWithMessage
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertUnequalDoublesWithDeltaWithMessage")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertUnequalDoublesWithDeltaWithMessage).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThrows
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThrows")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertThrows).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThrowsWithType
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThrowsWithType")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TestNGToAssertJRules\$AssertThrowsWithType).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.