Methods Summary |
---|
public void | setUp()
los = new LazyFileOutputStream(f);
|
public void | tearDown()
try {
los.close();
} finally {
f.delete();
}
|
public void | testByteArray()
los.write(new byte[] {0});
los.close();
assertTrue(f + " has been written.", f.exists());
|
public void | testNoFileWithoutWrite()
los.close();
assertTrue(f + " has not been written.", !f.exists());
|
public void | testOpen()
los.open();
los.close();
assertTrue(f + " has been written.", f.exists());
|
public void | testSingleByte()
los.write(0);
los.close();
assertTrue(f + " has been written.", f.exists());
|