Interface ReaderDelegateTests
-
- All Known Subinterfaces:
ReaderDelegateTests.CloseTests
public interface ReaderDelegateTests
- Author:
- Rob Spoor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ReaderDelegateTests.CloseTests
Contains tests forReader.close()
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Reader
wrapReader(Reader delegate)
Creates the reader to test.
-
-
-
Method Detail
-
wrapReader
Reader wrapReader(Reader delegate)
Creates the reader to test.This method will be called only once for each test. This makes it possible to capture the reader to test and its delegate, and perform additional tests after the pre-defined test has finished.
- Parameters:
delegate
- The delegate to test against.- Returns:
- The created reader.
-
-