forked from jnode/jnode
-
Notifications
You must be signed in to change notification settings - Fork 0
A16: Convert BlockDeviceAPITest to JUnit4 #526
Copy link
Copy link
Open
Labels
area/fsfs/ — filesystem drivers (FAT, ext2, HFS+, NTFS, ISO9660, ExFAT).fs/ — filesystem drivers (FAT, ext2, HFS+, NTFS, ISO9660, ExFAT).area/testUnit tests, boot tests, QEMU test infrastructure.Unit tests, boot tests, QEMU test infrastructure.kind/featureNew feature or enhancement request.New feature or enhancement request.
Metadata
Metadata
Assignees
Labels
area/fsfs/ — filesystem drivers (FAT, ext2, HFS+, NTFS, ISO9660, ExFAT).fs/ — filesystem drivers (FAT, ext2, HFS+, NTFS, ISO9660, ExFAT).area/testUnit tests, boot tests, QEMU test infrastructure.Unit tests, boot tests, QEMU test infrastructure.kind/featureNew feature or enhancement request.New feature or enhancement request.
Title:
Convert BlockDeviceAPITest to JUnit4 with assertionsSource:
fs/src/driver/block/BlockDeviceAPI.javaCurrent:
fs/src/test/org/jnode/test/fs/driver/tests/BlockDeviceAPITest.java— JUnit3/Legacy, 8 methods, 5 assertions (low-assertion-density)Approach: Convert to JUnit4 (@test, @before, @after), add assertions for read/write/sectorSize/getSize/flush; use mock block device from driver context stubs
Register: Already in BlockDeviceAPITestSuite