# Uses of Interface
com.google.testing.compile.CompileTester.SuccessfulFileClause

## Uses of CompileTester.SuccessfulFileClause in com.google.testing.compile

Methods in com.google.testing.compile that return CompileTester.SuccessfulFileClause
Modifier and Type
Method
Description
`CompileTester.SuccessfulFileClause<T>`
CompileTester.GeneratedPredicateClause.`generatesFileNamed(JavaFileManager.Location location, String packageName, String relativeName)`
Checks that a file with the specified location, package, and filename was generated.
`CompileTester.SuccessfulFileClause<T>`
CompileTester.SuccessfulFileClause.`withContents(com.google.common.io.ByteSource expectedByteSource)`
Checks that the contents of the generated file match the contents of the specified `ByteSource`.
`CompileTester.SuccessfulFileClause<T>`
CompileTester.SuccessfulFileClause.`withStringContents(Charset charset, String expectedString)`
Checks that the contents of the generated file are equal to the specified string in the given charset.