Skip to content

A16: Convert BlockDeviceAPITest to JUnit4 #526

@LSantha

Description

@LSantha

Title: Convert BlockDeviceAPITest to JUnit4 with assertions
Source: fs/src/driver/block/BlockDeviceAPI.java
Current: 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/fsfs/ — filesystem drivers (FAT, ext2, HFS+, NTFS, ISO9660, ExFAT).area/testUnit tests, boot tests, QEMU test infrastructure.kind/featureNew feature or enhancement request.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions