Records

Functions

  • AllowImplPair Exclude (std::initializer_list<const char *> substrings)

    Returns an |AllowImplPair| predicate that returns false if ANY of the provided list of

    substrings is found in the implementation list.

    Defined at line 16 of file ../../src/tests/fidl/compatibility/helpers.cc

  • std::string ExtractShortName (const std::string & pkg_url)

    Get the short name of the language binding being tested, like "rust" or "cpp".

    Defined at line 30 of file ../../src/tests/fidl/compatibility/helpers.cc

  • void ForAllImpls (const Impls & impls, const TestBody & body)

    Run a test for all possible proxy + server combinations.

    Defined at line 37 of file ../../src/tests/fidl/compatibility/helpers.cc

  • void ForSomeImpls (const Impls & impls, const AllowImplPair & allow, const TestBody & body)

    Only test some proxy + server combinations, using an |AllowImplPair| predicate function to

    determine whether or not the particular proxy + server combination should be executed.

    Defined at line 42 of file ../../src/tests/fidl/compatibility/helpers.cc

  • bool GetImplsUnderTest (Impls * out_impls)

    Parse the input args to build a list of binding implementations being tested. Returns false if no

    viable implementation names are found in the passed in command line arguments.

    Defined at line 87 of file ../../src/tests/fidl/compatibility/helpers.cc

  • zx::handle Handle ()

    Mint a simple handle for test-case building purposes.

    Defined at line 107 of file ../../src/tests/fidl/compatibility/helpers.cc

  • ::testing::AssertionResult HandlesEq (const zx::object_base & a, const zx::object_base & b)

    Compare two handles for equality.

    Defined at line 114 of file ../../src/tests/fidl/compatibility/helpers.cc

  • void PrintSummary (const Summary & summary)

    Prints a summary of the tests performed, and their results, to the terminal.

    Defined at line 143 of file ../../src/tests/fidl/compatibility/helpers.cc

  • std::string RandomUTF8 (size_t countstd::default_random_engine & rand_engine)

    Random UTF8 string generator, with a byte (not character!) length of |count|.

    Defined at line 160 of file ../../src/tests/fidl/compatibility/helpers.cc