class HarnessConfig

Defined at line 66 of file fidling/gen/sdk/fidl/fuchsia.io.test/fuchsia.io.test/cpp/fidl/fuchsia.io.test/cpp/natural_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 Methods

void HarnessConfig (Storage_ storage)
void HarnessConfig (bool supports_executable_file, bool supports_mutable_file, bool supports_get_backing_memory, bool supports_remote_dir, bool supports_get_token, bool supports_link_into, bool supports_append, bool supports_truncate, ::fuchsia_io::NodeAttributesQuery supported_attributes, bool supports_modify_directory, bool supports_services, bool supports_unnamed_temporary_file)
void HarnessConfig ()

Default constructs a |HarnessConfig| only if all of its members are default constructible.

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

void HarnessConfig (HarnessConfig && )

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

void HarnessConfig (const HarnessConfig & other)
HarnessConfig & operator= (HarnessConfig && )

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

HarnessConfig & operator= (const HarnessConfig & other)
bool operator== (const HarnessConfig & other)
bool operator!= (const HarnessConfig & other)
bool supports_executable_file ()

ExecutableFile objects are supported.

bool & supports_executable_file ()

ExecutableFile objects are supported.

HarnessConfig & supports_executable_file (bool value)

ExecutableFile objects are supported.

bool supports_mutable_file ()

Supports writing to files and updating file attributes.

bool & supports_mutable_file ()

Supports writing to files and updating file attributes.

HarnessConfig & supports_mutable_file (bool value)

Supports writing to files and updating file attributes.

bool supports_get_backing_memory ()

GetBackingMemory is supported.

bool & supports_get_backing_memory ()

GetBackingMemory is supported.

HarnessConfig & supports_get_backing_memory (bool value)

GetBackingMemory is supported.

bool supports_remote_dir ()

Remote directories are supported.

bool & supports_remote_dir ()

Remote directories are supported.

HarnessConfig & supports_remote_dir (bool value)

Remote directories are supported.

bool supports_get_token ()

GetToken is supported.

bool & supports_get_token ()

GetToken is supported.

HarnessConfig & supports_get_token (bool value)

GetToken is supported.

bool supports_link_into ()

Supports fuchsia.io's LinkInto method.

bool & supports_link_into ()

Supports fuchsia.io's LinkInto method.

HarnessConfig & supports_link_into (bool value)

Supports fuchsia.io's LinkInto method.

bool supports_append ()

Files can be opened in append mode.

bool & supports_append ()

Files can be opened in append mode.

HarnessConfig & supports_append (bool value)

Files can be opened in append mode.

bool supports_truncate ()

Files can be truncated (resized).

bool & supports_truncate ()

Files can be truncated (resized).

HarnessConfig & supports_truncate (bool value)

Files can be truncated (resized).

::fuchsia_io::NodeAttributesQuery supported_attributes ()

The set of attributes the filesystem supports. If mutable attributes are reported, the

harness must support [`fuchsia.io/Node.SetAttr`] and [`fuchsia.io/Node.UpdateAttributes`].

::fuchsia_io::NodeAttributesQuery & supported_attributes ()

The set of attributes the filesystem supports. If mutable attributes are reported, the

harness must support [`fuchsia.io/Node.SetAttr`] and [`fuchsia.io/Node.UpdateAttributes`].

HarnessConfig & supported_attributes (::fuchsia_io::NodeAttributesQuery value)

The set of attributes the filesystem supports. If mutable attributes are reported, the

harness must support [`fuchsia.io/Node.SetAttr`] and [`fuchsia.io/Node.UpdateAttributes`].

bool supports_modify_directory ()

Directories support creating files, Rename, Link, and Unlink.

bool & supports_modify_directory ()

Directories support creating files, Rename, Link, and Unlink.

HarnessConfig & supports_modify_directory (bool value)

Directories support creating files, Rename, Link, and Unlink.

bool supports_services ()

Supports services.

bool & supports_services ()

Supports services.

HarnessConfig & supports_services (bool value)

Supports services.

bool supports_unnamed_temporary_file ()

Supports unnamed temporary files.

bool & supports_unnamed_temporary_file ()

Supports unnamed temporary files.

HarnessConfig & supports_unnamed_temporary_file (bool value)

Supports unnamed temporary files.

void HarnessConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits