mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-11 03:53:07 +00:00
[DS-3895] Rename Bitstream.getSize() to getSizeBytes().
This commit is contained in:
@@ -292,12 +292,12 @@ public class BitstreamTest extends AbstractDSpaceObjectTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test of getSize method, of class Bitstream.
|
||||
* Test of getSizeBytes method, of class Bitstream.
|
||||
*/
|
||||
@Test
|
||||
public void testGetSize() {
|
||||
long size = 238413; // yuck, hardcoded!
|
||||
assertThat("testGetSize 0", bs.getSize(), equalTo(size));
|
||||
assertThat("testGetSize 0", bs.getSizeBytes(), equalTo(size));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user