13. Protocols iSCSI Boot Test#
EFI_ISCSI_INITIATOR_NAME_PROTOCOL Test
Reference Document:
UEFI Specification, EFI_ISCSI_INITIATOR_NAME_PROTOCOL Section.
13.1. EFI_ISCSI_INITIATOR_NAME_PROTOCOL Function Test#
13.1.1. Get() Function#
Number | GUID | Assertion | Test Description |
5.17.1.1.1 | 0xed92f3eb, 0xdda4, 0x4c65, 0xb3, 0x9f, 0x6c, 0x90, 0xfb, 0x2e, 0x77, 0xf9 | EFI_ISCSI_INITIATOR_NAME_PROTOCOL.Get – Calling Get()returns EFI_SUCCESS. | Call Get() with a valid BufferSize value. The return status should be EFI_SUCCESS. |
13.1.2. Set() Function#
Number | GUID | Assertion | Test Description |
5.17.1.2.1 | 0x56cd69be, 0xcfea, 0x4a43, 0xae, 0x1a, 0x41, 0xe4, 0xde, 0x78, 0x83, 0xc8 | EFI_ISCSI_INITIATOR_NAME_PROTOCOL.Set – Calling Set()returns EFI_SUCCESS. | Call Set() with valid BufferSize and Buffer values. The return status should be EFI_SUCCESS. |
13.2. EFI_ISCSI_INITIATOR_NAME_PROTOCOL Conformance Test#
13.2.1. Get() Conformance#
Number | GUID | Assertion | Test Description |
5.17.2.1.1 | 0x4c893a1c, 0x9c28, 0x4038, 0x9a, 0x34, 0xce, 0xe3, 0x15, 0x70, 0xc4, 0xa6 | EFI_ISCSI_INITIATOR_NAME_PROTOCOL.Get – Calling Get() should return EFI_SUCCESS with valid parameters. | Call Get() with valid parameters. The return status should be EFI_SUCCESS. |
5.17.2.1.2 | 0x5f4d6864, 0xe8ed, 0x452e, 0xb2, 0xbc, 0x9a, 0x0e, 0x06, 0x61, 0x7e, 0x3a | EFI_ISCSI_INITIATOR_NAME_PROTOCOL.Get – Calling Get() should return EFI_INVALID_PARAMETER with a BufferSize or Buffer value of NULL. | 1. Call Get()with a BufferSize value of NULL. The return status should be EFI_INVALID_PARAMETER. 2. Call Get() with a Buffer value of NULL. The return status should be EFI_INVALID_PARAMETER. |
5.17.2.1.3 | 0x2502087d, 0xd853, 0x494e, 0xbd, 0xc5, 0x8b, 0x1a, 0xc1, 0x26, 0xd4, 0x61 | EFI_ISCSI_INITIATOR_NAME_PROTOCOL.Get – Calling Get() should return EFI_INVALID_PARAMETER with a BufferSize value that is too small. | Call Get()with a BufferSize that is too small. The return status should be EFI_INVALID_PARAMETER. |
13.2.2. Set() Conformance#
Number | GUID | Assertion | Test Description |
5.17.2.2.1 | 0x5bd1c13e, 0x1b9c, 0x432f, 0xb9, 0x33, 0xd9, 0xcf, 0x6f, 0xac, 0xd4, 0x2d | EFI_ISCSI_INITIATOR_NAME_PROTOCOL.Set – Calling Set() should return EFI_SUCCESS with valid parameters. | Call Set() with valid parameters. The return status should be EFI_SUCCESS. |
5.17.2.2.2 | 0xacb61cfd, 0xe82b, 0x4250, 0xb0, 0x60, 0xdb, 0x18, 0x55, 0x9e, 0x58, 0xb1 | EFI_ISCSI_INITIATOR_NAME_PROTOCOL.Set – Calling Set() should return EFI_INVALID_PARAMETER with a BufferSize or Buffer value of NULL. | 1. Call Set()with a BufferSize value of NULL. The return should be EFI_INVALID_PARAMETER. 2. Call Set() with a Buffer value of NULL. The return should be EFI_INVALID_PARAMETER. |
5.17.2.2.3 | 0xdc419b8e, 0xb074, 0x4388, 0xbb, 0x85, 0xc8, 0xed, 0xa0, 0x19, 0x95, 0xd3 | EFI_ISCSI_INITIATOR_NAME_PROTOCOL.Get – Calling Get() should return EFI_INVALID_PARAMETER with a BufferSize value that exceeds the maximum. | Call Get()with a BufferSize value that exceeds the maximum. The return should be EFI_INVALID_PARAMETER. |