Schnittstelle Glib.OnTestFixtureFunc

Umschließende Klasse:
Glib
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Glib.OnTestFixtureFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onTestFixtureFunc(CallbackHandler __self, Pointer fixture, Pointer user_data)
    The type used for functions that operate on test fixtures.
  • Methodendetails

    • onTestFixtureFunc

      void onTestFixtureFunc(CallbackHandler __self, @Nonnull Pointer fixture, @Nullable Pointer user_data)
      The type used for functions that operate on test fixtures.

      This is used for the fixture setup and teardown functions
      as well as for the testcases themselves.

      @user_data is a pointer to the data that was given when
      registering the test case.

      @fixture will be a pointer to the area of memory allocated by the
      test framework, of the size requested. If the requested size was
      zero then @fixture will be equal to @user_data.
      Parameter:
      fixture - the test fixture
      user_data - the data provided when registering the test