Class CompilationSubject.DiagnosticInFile
java.lang.Object
com.google.testing.compile.CompilationSubject.DiagnosticInFile
- Enclosing class:
CompilationSubject
Assertions that a note, warning, or error was found in a given file.
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidfailExpectingMatchingDiagnostic(String format, Object... args) inFile(JavaFileObject expectedFile) Asserts that the note, warning, or error was found in a given file.
-
Method Details
-
inFile
@CanIgnoreReturnValue public CompilationSubject.DiagnosticOnLine inFile(JavaFileObject expectedFile) Asserts that the note, warning, or error was found in a given file. -
failExpectingMatchingDiagnostic
-