H5Dget_offset Test Review

  1. Purpose:

    This document describes the API test review results for H5Dget_offset().

  2. Serial Review:

    Test case Test file Expected test results Notes
    Chunked dataset dsets.c FAIL
    Compact dataset dsets.c FAIL
    Contiguous dataset, [user block size] == 0, not external dsets.c

    Succeed in getting the proper address and be able to verify that the data at that address in the file is what was written out.

    When data storage allocation is "late" (the default), querying the offset should fail.

    Needs additional test to verify that the data written out is located at the correct offset in the file.
    Contiguous dataset, [user block size] != 0, not external dsets.c

    Succeed in getting the proper address and be able to verify that the data at that address in the file is what was written out.

    When data storage allocation is "late" (the default), querying the offset should fail.

    Needs test for this case.
    Contiguous dataset, [user block size] == 0, external data storage external.c FAIL
  3. Parallel Review:

    The H5Dget_offset() function is not tested in parallel. Currently, there does not appear to be a need for this.