Share via


Test Cases for the UUID IOCTL Test (Windows Embedded CE 6.0)

1/6/2010

The following table shows the test cases for IOCTL_HAL_GET_UUID.

Test case Description

1

IOCTL Tests Usage Message

Prints out the usage message for the OAL IOCTL Tests. Tells the user what the tests do and specifies the input, if any, that the user must provide.

5300

Verify output value

Prints out the output of IOCTL_HAL_GET_UUID.

Ee506213.note(en-US,WinEmbedded.60).gifNote:
The user must visually verify the output of the IOCTL.

5301

Check incorrect inbound parameters

Checks if the IOCTL is able to correctly handle incorrect inbound parameters.

This IOCTL does not take any inbound parameters. The test passes in random inbound parameters and verifies that any input values will not affect the outcome of the IOCTL.

5302

Check incorrect outbound parameters

Checks if the IOCTL is able to correctly handle incorrect outbound parameters.

Various combinations of incorrect outbound parameters are passed to the IOCTL and the return values and error codes are verified.

5303

Check alignment and overflow of outbound buffer

The output buffer is misaligned on a DWORD and the test verifies that the IOCTL still works correctly returning the correct data. The IOCTL should not throw an exception or crash.

The test also checks for output buffer overflows on each call.

See Also

Other Resources

UUID IOCTL Test