@Test public void testGetSize() { assertEquals(tempFile.length(), fileDataPacket.getSize()); }
@Override public long getSize() { return file.length(); }
FileDataPacket implements DataPacket { @Override public long getSize() { return file.length(); } }
FileDataPacket implements DataPacket { @Override public long getSize() { return file.length(); } FileDataPacket(File file); }
FileDataPacket implements DataPacket { @Override public long getSize() { return file.length(); } FileDataPacket(File file); @Override Map<String, String> getAttributes(); @Override InputStream getData(); @Override long getSize(); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); }
FileDataPacket implements DataPacket { @Override public long getSize() { return file.length(); } FileDataPacket(File file); @Override Map<String, String> getAttributes(); @Override InputStream getData(); @Override long getSize(); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); static final Creator<FileDataPacket> CREATOR; }