Class CompilationSubject.DiagnosticOnLine
java.lang.Object
com.google.testing.compile.CompilationSubject.DiagnosticOnLine
- Enclosing class:
CompilationSubject
Assertions that a note, warning, or error was found on a given line.
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidfailExpectingMatchingDiagnostic(String format, Object... args) onLine(long expectedLine) Asserts that the note, warning, or error was found on a given line.voidonLineContaining(String expectedLineSubstring) Asserts that the note, warning, or error was found on the single line that contains a substring.
-
Method Details
-
onLine
Asserts that the note, warning, or error was found on a given line. -
onLineContaining
Asserts that the note, warning, or error was found on the single line that contains a substring. -
failExpectingMatchingDiagnostic
-