Class BugCheckerRefactoringTestHelper.ExpectOutput
java.lang.Object
com.google.errorprone.BugCheckerRefactoringTestHelper.ExpectOutput
- Enclosing class:
BugCheckerRefactoringTestHelper
To assert the proper
.addInput().addOutput()
chain.- Author:
- kurs@google.com (Jan Kurs)
-
Method Summary
-
Method Details
-
addOutputLines
@CanIgnoreReturnValue public BugCheckerRefactoringTestHelper addOutputLines(String path, String... output) -
addOutput
@Deprecated @CanIgnoreReturnValue public BugCheckerRefactoringTestHelper addOutput(String outputFilename) Deprecated.preferaddOutputLines(String, String...)
. Declaring tests in the same file using text blocks is more readable, as it encourages writing small, focussed tests.Adds an output file. -
expectUnchanged
-
addOutputLines(String, String...)
.