internal_test


Description:

public bool internal_test (string str, string? optstr, string[] strlist, bool b, int32 integer, int64 integer64, string filein, string fileout, uint8[] bufferin, InternalTest? optargs, Cancellable? cancellable = null) throws Error

internal test function - do not use

This is an internal test function which is used to test whether the automatically generated bindings can handle every possible parameter type correctly.

It echos the contents of each parameter to stdout (by default) or to a file (if internal_test_set_output was called).

You probably don't want to call this function.

Parameters:

this

A GuestfsSession object

strlist

an array of strings

bufferin

an array of binary data

optargs

a GuestfsInternalTest containing optional arguments

cancellable

A GCancellable object

bufferin_size

The size of bufferin, in bytes

Returns:

true on success, false on error