Enumerations

enum RefContext
Name Value
SOURCE 0
TARGET 1

Defined at line 17 of file ../../sdk/lib/sys/component/cpp/testing/internal/convert.h

Records

Functions

  • const char * ConvertToString (fuchsia::component::test::RealmBuilderError & error)

    Defined at line 13 of file ../../sdk/lib/sys/component/cpp/testing/internal/errors.cc

  • fuchsia::component::RealmSyncPtr CreateRealmPtr (const sys::ComponentContext * context)

    Defined at line 17 of file ../../sdk/lib/sys/component/cpp/testing/internal/realm.cc

  • fuchsia::component::RealmSyncPtr CreateRealmPtr (std::shared_ptr<sys::ServiceDirectory> svc)

    Defined at line 25 of file ../../sdk/lib/sys/component/cpp/testing/internal/realm.cc

  • fidl::InterfaceHandle<fuchsia::io::Directory> OpenExposedDir (fuchsia::component::Realm_Sync * realm, const fuchsia::component::decl::ChildRef & child_ref)

    Defined at line 35 of file ../../sdk/lib/sys/component/cpp/testing/internal/realm.cc

  • fuchsia::component::test::ChildOptions ConvertToFidl (const ChildOptions & options)

    Defined at line 28 of file ../../sdk/lib/sys/component/cpp/testing/internal/convert.cc

  • template <class Input, class Output>
    std::vector<Output> ConvertToFidlVec (std::vector<Input> inputs)

    Defined at line 31 of file ../../sdk/lib/sys/component/cpp/testing/internal/convert.h

  • void CreateChild (fuchsia::component::Realm_Sync * realm, fidl::InterfaceRequest<fuchsia::component::Controller> controller, std::string collection, std::string name, std::string url)

    Defined at line 46 of file ../../sdk/lib/sys/component/cpp/testing/internal/realm.cc

  • const char * ConvertToString (fuchsia::component::Error & error)

    Defined at line 50 of file ../../sdk/lib/sys/component/cpp/testing/internal/errors.cc

  • void DestroyChild (fuchsia::component::Realm_Sync * realm, fuchsia::component::decl::ChildRef child_ref)

    Defined at line 67 of file ../../sdk/lib/sys/component/cpp/testing/internal/realm.cc

  • void DestroyChild (fuchsia::component::Realm * realm, fuchsia::component::decl::ChildRef child_ref, fit::function<void (fuchsia::component::Realm_DestroyChild_Result)> callback)

    Defined at line 75 of file ../../sdk/lib/sys/component/cpp/testing/internal/realm.cc

  • void PanicWithMessage (const char * stacktrace, const char * context, zx_status_t status)

    Defined at line 79 of file ../../sdk/lib/sys/component/cpp/testing/internal/errors.cc

  • void PanicWithMessage (const char * stacktrace, const char * context, fuchsia::component::test::RealmBuilderError & error)

    Defined at line 84 of file ../../sdk/lib/sys/component/cpp/testing/internal/errors.cc

  • void PanicWithMessage (const char * stacktrace, const char * context, fuchsia::component::Error & error)

    Defined at line 90 of file ../../sdk/lib/sys/component/cpp/testing/internal/errors.cc

  • fuchsia::component::test::Capability ConvertToFidl (Capability capability)

    Defined at line 138 of file ../../sdk/lib/sys/component/cpp/testing/internal/convert.cc

  • RefPathPair ConvertRefToFidl (const Ref & ref, RefContext ctx)

    Returns reference and dictionary path (may be ".")

    Defined at line 50 of file ../../sdk/lib/sys/component/cpp/testing/internal/convert.cc

  • std::vector<RefPathPair> ConvertRefToFidlVec (const std::vector<Ref> & inputsRefContext ctx)

    Defined at line 129 of file ../../sdk/lib/sys/component/cpp/testing/internal/convert.cc