public class FileUtilsTest
extends java.lang.Object
Constructor and Description |
---|
FileUtilsTest(java.lang.String file,
int length,
int pos,
java.lang.String expectedLine)
Constructor for the FileUtils Test
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<java.lang.Object[]> |
data() |
void |
testPos()
Tests if the FileUtils get the correct Line
|
void |
testSize()
Tests if the current File matches the length calculated by the FileUtils methods
|
public FileUtilsTest(java.lang.String file, int length, int pos, java.lang.String expectedLine)
file
- file to testlength
- expected File Lengthpos
- position of the lineexpectedLine
- line which should be returnedpublic static java.util.Collection<java.lang.Object[]> data()
public void testSize() throws java.io.IOException
java.io.IOException
public void testPos() throws java.io.IOException
java.io.IOException