Compartilhar via


Storage Device Block Driver API Test (Windows CE 5.0)

Send Feedback

The Storage Device Block Driver Application Programming Interface (API) Test assesses the functionality of mass storage block drivers. It includes test cases that verify that a block driver is working correctly so that you can mount a file system on the disk.

The Storage Device Block Driver API Test examines whether a block driver can read from and write to a disk, verifies data located on that disk, and then tests all disk boundary conditions. To work correctly, a mass storage block driver is not required to pass all test cases in the Storage Device Block Driver API Test.

Warning   During the test, all information on the storage device is destroyed. The test writes to and reads from sectors on the storage device without preserving the contents of the sectors. Microsoft recommends that you back up data on all cards and disks that are attached to the tested device before running the test.

The following table shows the hardware requirements for the Storage Device Block Driver API Test.

Requirements Description
A mass storage device A mass storage device that works with the block driver being tested, for example, an IDE hard disk, Compact Flash device, USB drive, NAND flash media, or NOR flash media.

The following table shows the software requirements for the Storage Device Block Driver API Test.

Requirements Description
Tux.exe Tux test harness, which is required for executing the test.
Kato.dll Kato logging engine, which is required for logging test data.
Tooltalk.dll Application required by Tux.exe and Kato.dll. Handles the transport between the target device and the development workstation.
Disktest.dll Test .dll file.
Mass storage block driver In the OS design, you must include a mass storage block driver that supports the mass storage device.

Note   When you run the Storage Device Block Driver API Test, the CETK temporarily copies files to the root directory of the target device. Before running the test, verify that there is at least 0.4 megabytes (MB) of free space in the root directory of the target device. If there is not sufficient space there, the test cannot run.

See Also

CETK Tests | Modifying the Storage Device Block Driver API Test | Storage Device Block Driver API Test Cases

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.