mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Add @OnlineDocumentation to TestNGToAssertJRules (#447)
This commit is contained in:
committed by
GitHub
parent
e9733f7426
commit
e9a1d54035
@@ -28,6 +28,7 @@ import java.util.Set;
|
|||||||
import org.assertj.core.api.ThrowableAssert.ThrowingCallable;
|
import org.assertj.core.api.ThrowableAssert.ThrowingCallable;
|
||||||
import org.testng.Assert;
|
import org.testng.Assert;
|
||||||
import org.testng.Assert.ThrowingRunnable;
|
import org.testng.Assert.ThrowingRunnable;
|
||||||
|
import tech.picnic.errorprone.refaster.annotation.OnlineDocumentation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Refaster rules that replace TestNG assertions with equivalent AssertJ assertions.
|
* Refaster rules that replace TestNG assertions with equivalent AssertJ assertions.
|
||||||
@@ -72,6 +73,7 @@ import org.testng.Assert.ThrowingRunnable;
|
|||||||
// XXX: As-is these rules do not result in a complete migration:
|
// XXX: As-is these rules do not result in a complete migration:
|
||||||
// - Expressions containing comments are skipped due to a limitation of Refaster.
|
// - Expressions containing comments are skipped due to a limitation of Refaster.
|
||||||
// - Assertions inside lambda expressions are also skipped. Unclear why.
|
// - Assertions inside lambda expressions are also skipped. Unclear why.
|
||||||
|
@OnlineDocumentation
|
||||||
final class TestNGToAssertJRules {
|
final class TestNGToAssertJRules {
|
||||||
private TestNGToAssertJRules() {}
|
private TestNGToAssertJRules() {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user