GLib.TestCase – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
TestCase
TestCase
TestCase
Object Hierarchy:
Description:
[
Compact
]
public
class
TestCase
An opaque structure representing a test case.
Namespace:
GLib
Package:
glib-2.0
Content:
Creation methods:
public
TestCase
(
string
test_name,
TestFunc
data_setup,
TestFunc
data_func,
TestFunc
data_teardown,
size_t
data_size =
0
)
Create a new
TestCase
, named
test_name
, this API is fairly low level, calling
g_test_add
or
add_func
is preferable.