Schnittstelle TestTrapFlags


public interface TestTrapFlags
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final int
    Default behaviour.
    static final int
    If this flag is given, stdin of the
    child process is shared with stdin of its parent process.
    static final int
    Redirect stderr of the test child to
    `/dev/null` so it cannot be observed on the console during test
    runs.
    static final int
    Redirect stdout of the test child to
    `/dev/null` so it cannot be observed on the console during test
    runs.
  • Felddetails

    • DEFAULT

      static final int DEFAULT
      Default behaviour. Since: 2.74
      Siehe auch:
    • SILENCE_STDOUT

      static final int SILENCE_STDOUT
      Redirect stdout of the test child to
      `/dev/null` so it cannot be observed on the console during test
      runs. The actual output is still captured though to allow later
      tests with g_test_trap_assert_stdout().
      Siehe auch:
    • SILENCE_STDERR

      static final int SILENCE_STDERR
      Redirect stderr of the test child to
      `/dev/null` so it cannot be observed on the console during test
      runs. The actual output is still captured though to allow later
      tests with g_test_trap_assert_stderr().
      Siehe auch:
    • INHERIT_STDIN

      static final int INHERIT_STDIN
      If this flag is given, stdin of the
      child process is shared with stdin of its parent process.
      It is redirected to `/dev/null` otherwise.
      Siehe auch: