Skip to content

Test: Attribute Only Iterations - #1916

Open
ax3l wants to merge 1 commit into
openPMD:devfrom
ax3l:test-attr-only-iterations
Open

Test: Attribute Only Iterations#1916
ax3l wants to merge 1 commit into
openPMD:devfrom
ax3l:test-attr-only-iterations

Conversation

@ax3l

@ax3l ax3l commented Jul 13, 2026

Copy link
Copy Markdown
Member

Check that we can write and read iterations that only contain attributes. Should work with ADIOS2 BP5, HDF5 and text backends.

Check that we can write and read iterations that only contain attributes.
Should work with ADIOS2 BP5, HDF5 and text backends.
Comment thread test/SerialIOTest.cpp
}
}

TEST_CASE("attributes_only_over_iterations_test", "[serial]")
Comment thread test/SerialIOTest.cpp
}
}

void attributes_only_over_iterations_test(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please move new test code to separate files under test/Files_SerialIOto not blow upSerialIOTests.cpp` further :)

Comment thread test/SerialIOTest.cpp
* carries the value written for its iteration.
*/
{
Series read(name, Access::READ_ONLY);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the parsing procedures for READ_ONLY and READ_LINEAR are internally very different, it might be worth to run the same read test also for READ_LINEAR:

        Series read(name, Access::READ_LINEAR);
        read.parseBase();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants