struct HarnessConfig

Defined at line 176 of file fidling/gen/sdk/fidl/fuchsia.io.test/fuchsia.io.test/cpp/fidl/fuchsia.io.test/cpp/wire_types.h

Conformance test harnesses will implement this protocol to setup its

associated filesystem servers with the described directory layout,

allowing their implementation of `fuchsia.io` and `fuchsia.io2` protocols

to be verified by a common test suite.

Different test cases will not interact with one another during the

conformance test, and only one test case will be active at a time per

tested filesystem. So it is possible to host all cases as different

sub-directories under a common filesystem instance, to simplify the

lifecycle and implementation.

If a test case has mutable bits, each method call should be implemented

to obtain the directory in its original state. In other words, repeated

test case set up should "as-if" yield new directories.

See `src/storage/conformance/README.md` for an overview of io conformance

testing.

`HarnessConfig` lets the test harness modulate the set of expected outcomes and

behaviors validated by the test suite, by declaring specific properties

about the filesystem implementation. For example, setting [`ImmutableFile`]

to true informs the test suites that files hosted by this harness do not

support mutation.

Public Members

bool supports_executable_file
bool supports_mutable_file
bool supports_get_backing_memory
bool supports_remote_dir
bool supports_get_token
bool supports_append
bool supports_truncate
NodeAttributesQuery supported_attributes
bool supports_modify_directory
bool supports_services
bool supports_unnamed_temporary_file