public static interface CompileTester.SuccessfulFileClause<T> extends CompileTester.ChainingClause<CompileTester.GeneratedPredicateClause<T>>
| Modifier and Type | Method and Description |
|---|---|
CompileTester.SuccessfulFileClause<T> |
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> |
withStringContents(Charset charset,
String expectedString)
Checks that the contents of the generated file are equal to the specified string in the given
charset.
|
and@CanIgnoreReturnValue CompileTester.SuccessfulFileClause<T> withContents(com.google.common.io.ByteSource expectedByteSource)
ByteSource.@CanIgnoreReturnValue CompileTester.SuccessfulFileClause<T> withStringContents(Charset charset, String expectedString)
Copyright © 2013–2020. All rights reserved.