vfs

Module test_utils

Source
Expand description

Utilities used by tests in both file and directory modules.

Re-exports§

Modules§

  • Assertion helpers common to both file and directory tests.
  • Helper methods for the NodeProxy objects.
  • Utilities to run asynchronous tests that use pseudo-fs objects.

Functions§

  • Returns a list of flag combinations to test. Returns a vector of the aggregate of every constant flag and every combination of variable flags. For example, calling build_flag_combinations(100, 011) would return [100, 110, 101, 111] (in binary), whereas build_flag_combinations(0, 011) would return [000, 001, 010, 011].