Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Functions | Variables
test-vala.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <gobject/gvaluecollector.h>

Go to the source code of this file.

Classes

struct  _Main
struct  _MainClass
struct  _ParamSpecMain

Defines

#define TYPE_MAIN   (main_get_type ())
#define MAIN(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MAIN, Main))
#define MAIN_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MAIN, MainClass))
#define IS_MAIN(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MAIN))
#define IS_MAIN_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MAIN))
#define MAIN_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MAIN, MainClass))
#define UNITY_TEST_TYPE_IO_SUITE   (unity_test_io_suite_get_type ())
#define UNITY_TEST_IO_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_IO_SUITE, UnityTestIOSuite))
#define UNITY_TEST_IO_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_IO_SUITE, UnityTestIOSuiteClass))
#define UNITY_TEST_IS_IO_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_IO_SUITE))
#define UNITY_TEST_IS_IO_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_IO_SUITE))
#define UNITY_TEST_IO_SUITE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_IO_SUITE, UnityTestIOSuiteClass))
#define UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE   (unity_test_app_info_manager_suite_get_type ())
#define UNITY_TEST_APP_INFO_MANAGER_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE, UnityTestAppInfoManagerSuite))
#define UNITY_TEST_APP_INFO_MANAGER_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE, UnityTestAppInfoManagerSuiteClass))
#define UNITY_TEST_IS_APP_INFO_MANAGER_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE))
#define UNITY_TEST_IS_APP_INFO_MANAGER_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE))
#define UNITY_TEST_APP_INFO_MANAGER_SUITE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE, UnityTestAppInfoManagerSuiteClass))
#define UNITY_TEST_TYPE_LAUNCHER_SUITE   (unity_test_launcher_suite_get_type ())
#define UNITY_TEST_LAUNCHER_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_LAUNCHER_SUITE, UnityTestLauncherSuite))
#define UNITY_TEST_LAUNCHER_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_LAUNCHER_SUITE, UnityTestLauncherSuiteClass))
#define UNITY_TEST_IS_LAUNCHER_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_LAUNCHER_SUITE))
#define UNITY_TEST_IS_LAUNCHER_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_LAUNCHER_SUITE))
#define UNITY_TEST_LAUNCHER_SUITE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_LAUNCHER_SUITE, UnityTestLauncherSuiteClass))
#define UNITY_TEST_TYPE_FILTER_SUITE   (unity_test_filter_suite_get_type ())
#define UNITY_TEST_FILTER_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_FILTER_SUITE, UnityTestFilterSuite))
#define UNITY_TEST_FILTER_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_FILTER_SUITE, UnityTestFilterSuiteClass))
#define UNITY_TEST_IS_FILTER_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_FILTER_SUITE))
#define UNITY_TEST_IS_FILTER_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_FILTER_SUITE))
#define UNITY_TEST_FILTER_SUITE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_FILTER_SUITE, UnityTestFilterSuiteClass))
#define UNITY_TEST_TYPE_PREVIEW_SUITE   (unity_test_preview_suite_get_type ())
#define UNITY_TEST_PREVIEW_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_PREVIEW_SUITE, UnityTestPreviewSuite))
#define UNITY_TEST_PREVIEW_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_PREVIEW_SUITE, UnityTestPreviewSuiteClass))
#define UNITY_TEST_IS_PREVIEW_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_PREVIEW_SUITE))
#define UNITY_TEST_IS_PREVIEW_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_PREVIEW_SUITE))
#define UNITY_TEST_PREVIEW_SUITE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_PREVIEW_SUITE, UnityTestPreviewSuiteClass))
#define UNITY_TEST_TYPE_SCOPE_SUITE   (unity_test_scope_suite_get_type ())
#define UNITY_TEST_SCOPE_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_SCOPE_SUITE, UnityTestScopeSuite))
#define UNITY_TEST_SCOPE_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_SCOPE_SUITE, UnityTestScopeSuiteClass))
#define UNITY_TEST_IS_SCOPE_SUITE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_SCOPE_SUITE))
#define UNITY_TEST_IS_SCOPE_SUITE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_SCOPE_SUITE))
#define UNITY_TEST_SCOPE_SUITE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_SCOPE_SUITE, UnityTestScopeSuiteClass))
#define _unity_test_io_suite_unref0(var)   ((var == NULL) ? NULL : (var = (unity_test_io_suite_unref (var), NULL)))
#define _unity_test_app_info_manager_suite_unref0(var)   ((var == NULL) ? NULL : (var = (unity_test_app_info_manager_suite_unref (var), NULL)))
#define _unity_test_launcher_suite_unref0(var)   ((var == NULL) ? NULL : (var = (unity_test_launcher_suite_unref (var), NULL)))
#define _unity_test_filter_suite_unref0(var)   ((var == NULL) ? NULL : (var = (unity_test_filter_suite_unref (var), NULL)))
#define _unity_test_preview_suite_unref0(var)   ((var == NULL) ? NULL : (var = (unity_test_preview_suite_unref (var), NULL)))
#define _unity_test_scope_suite_unref0(var)   ((var == NULL) ? NULL : (var = (unity_test_scope_suite_unref (var), NULL)))

Typedefs

typedef struct _Main
typedef struct _MainClass
typedef struct _MainPrivate
typedef struct _UnityTestIOSuite
typedef struct _UnityTestIOSuiteClass
typedef struct _UnityTestAppInfoManagerSuite
typedef struct _UnityTestAppInfoManagerSuiteClass
typedef struct _UnityTestLauncherSuite
typedef struct _UnityTestLauncherSuiteClass
typedef struct _UnityTestFilterSuite
typedef struct _UnityTestFilterSuiteClass
typedef struct _UnityTestPreviewSuite
typedef struct _UnityTestPreviewSuiteClass
typedef struct _UnityTestScopeSuite
typedef struct _UnityTestScopeSuiteClass
typedef struct _ParamSpecMain

Functions

gpointer main_ref (gpointer instance)
void main_unref (gpointer instance)
GParamSpec * param_spec_main (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags)
void value_set_main (GValue *value, gpointer v_object)
void value_take_main (GValue *value, gpointer v_object)
gpointer value_get_main (const GValue *value)
GType main_get_type (void)
gint main_main (gchar **args, int args_length1)
gpointer unity_test_io_suite_ref (gpointer instance)
void unity_test_io_suite_unref (gpointer instance)
GParamSpec * unity_test_param_spec_io_suite (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags)
void unity_test_value_set_io_suite (GValue *value, gpointer v_object)
void unity_test_value_take_io_suite (GValue *value, gpointer v_object)
gpointer unity_test_value_get_io_suite (const GValue *value)
GType unity_test_io_suite_get_type (void)
int main (int argc, char **argv)
Main * main_construct (GType object_type)
Main * main_new (void)
static void value_main_init (GValue *value)
static void value_main_free_value (GValue *value)
static void value_main_copy_value (const GValue *src_value, GValue *dest_value)
static gpointer value_main_peek_pointer (const GValue *value)
static gchar * value_main_collect_value (GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static gchar * value_main_lcopy_value (const GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static void main_class_init (MainClass *klass)
static void main_instance_init (Main *self)
static void main_finalize (Main *obj)

Variables

static gpointer main_parent_class = NULL

Class Documentation

struct _Main

Definition at line 56 of file test-launcher-integration.c.

Class Members
GTypeInstance parent_instance
MainPrivate * priv
volatile int ref_count
struct _ParamSpecMain

Definition at line 73 of file test-launcher-integration.c.

Class Members
GParamSpec parent_instance

Define Documentation

#define _unity_test_app_info_manager_suite_unref0 (   var)    ((var == NULL) ? NULL : (var = (unity_test_app_info_manager_suite_unref (var), NULL)))

Definition at line 102 of file test-vala.c.

#define _unity_test_filter_suite_unref0 (   var)    ((var == NULL) ? NULL : (var = (unity_test_filter_suite_unref (var), NULL)))

Definition at line 104 of file test-vala.c.

#define _unity_test_io_suite_unref0 (   var)    ((var == NULL) ? NULL : (var = (unity_test_io_suite_unref (var), NULL)))

Definition at line 101 of file test-vala.c.

#define _unity_test_launcher_suite_unref0 (   var)    ((var == NULL) ? NULL : (var = (unity_test_launcher_suite_unref (var), NULL)))

Definition at line 103 of file test-vala.c.

#define _unity_test_preview_suite_unref0 (   var)    ((var == NULL) ? NULL : (var = (unity_test_preview_suite_unref (var), NULL)))

Definition at line 105 of file test-vala.c.

#define _unity_test_scope_suite_unref0 (   var)    ((var == NULL) ? NULL : (var = (unity_test_scope_suite_unref (var), NULL)))

Definition at line 106 of file test-vala.c.

#define IS_MAIN (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MAIN))

Definition at line 34 of file test-vala.c.

#define IS_MAIN_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MAIN))

Definition at line 35 of file test-vala.c.

#define MAIN (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MAIN, Main))

Definition at line 32 of file test-vala.c.

#define MAIN_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MAIN, MainClass))

Definition at line 33 of file test-vala.c.

#define MAIN_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MAIN, MainClass))

Definition at line 36 of file test-vala.c.

#define TYPE_MAIN   (main_get_type ())

Definition at line 31 of file test-vala.c.

#define UNITY_TEST_APP_INFO_MANAGER_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE, UnityTestAppInfoManagerSuite))

Definition at line 53 of file test-vala.c.

#define UNITY_TEST_APP_INFO_MANAGER_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE, UnityTestAppInfoManagerSuiteClass))

Definition at line 54 of file test-vala.c.

#define UNITY_TEST_APP_INFO_MANAGER_SUITE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE, UnityTestAppInfoManagerSuiteClass))

Definition at line 57 of file test-vala.c.

#define UNITY_TEST_FILTER_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_FILTER_SUITE, UnityTestFilterSuite))

Definition at line 73 of file test-vala.c.

#define UNITY_TEST_FILTER_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_FILTER_SUITE, UnityTestFilterSuiteClass))

Definition at line 74 of file test-vala.c.

#define UNITY_TEST_FILTER_SUITE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_FILTER_SUITE, UnityTestFilterSuiteClass))

Definition at line 77 of file test-vala.c.

#define UNITY_TEST_IO_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_IO_SUITE, UnityTestIOSuite))

Definition at line 43 of file test-vala.c.

#define UNITY_TEST_IO_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_IO_SUITE, UnityTestIOSuiteClass))

Definition at line 44 of file test-vala.c.

#define UNITY_TEST_IO_SUITE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_IO_SUITE, UnityTestIOSuiteClass))

Definition at line 47 of file test-vala.c.

#define UNITY_TEST_IS_APP_INFO_MANAGER_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE))

Definition at line 55 of file test-vala.c.

#define UNITY_TEST_IS_APP_INFO_MANAGER_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_APP_INFO_MANAGER_SUITE))

Definition at line 56 of file test-vala.c.

#define UNITY_TEST_IS_FILTER_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_FILTER_SUITE))

Definition at line 75 of file test-vala.c.

#define UNITY_TEST_IS_FILTER_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_FILTER_SUITE))

Definition at line 76 of file test-vala.c.

#define UNITY_TEST_IS_IO_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_IO_SUITE))

Definition at line 45 of file test-vala.c.

#define UNITY_TEST_IS_IO_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_IO_SUITE))

Definition at line 46 of file test-vala.c.

#define UNITY_TEST_IS_LAUNCHER_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_LAUNCHER_SUITE))

Definition at line 65 of file test-vala.c.

#define UNITY_TEST_IS_LAUNCHER_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_LAUNCHER_SUITE))

Definition at line 66 of file test-vala.c.

#define UNITY_TEST_IS_PREVIEW_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_PREVIEW_SUITE))

Definition at line 85 of file test-vala.c.

#define UNITY_TEST_IS_PREVIEW_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_PREVIEW_SUITE))

Definition at line 86 of file test-vala.c.

#define UNITY_TEST_IS_SCOPE_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TEST_TYPE_SCOPE_SUITE))

Definition at line 95 of file test-vala.c.

#define UNITY_TEST_IS_SCOPE_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TEST_TYPE_SCOPE_SUITE))

Definition at line 96 of file test-vala.c.

#define UNITY_TEST_LAUNCHER_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_LAUNCHER_SUITE, UnityTestLauncherSuite))

Definition at line 63 of file test-vala.c.

#define UNITY_TEST_LAUNCHER_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_LAUNCHER_SUITE, UnityTestLauncherSuiteClass))

Definition at line 64 of file test-vala.c.

#define UNITY_TEST_LAUNCHER_SUITE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_LAUNCHER_SUITE, UnityTestLauncherSuiteClass))

Definition at line 67 of file test-vala.c.

#define UNITY_TEST_PREVIEW_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_PREVIEW_SUITE, UnityTestPreviewSuite))

Definition at line 83 of file test-vala.c.

#define UNITY_TEST_PREVIEW_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_PREVIEW_SUITE, UnityTestPreviewSuiteClass))

Definition at line 84 of file test-vala.c.

#define UNITY_TEST_PREVIEW_SUITE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_PREVIEW_SUITE, UnityTestPreviewSuiteClass))

Definition at line 87 of file test-vala.c.

#define UNITY_TEST_SCOPE_SUITE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TEST_TYPE_SCOPE_SUITE, UnityTestScopeSuite))

Definition at line 93 of file test-vala.c.

#define UNITY_TEST_SCOPE_SUITE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TEST_TYPE_SCOPE_SUITE, UnityTestScopeSuiteClass))

Definition at line 94 of file test-vala.c.

#define UNITY_TEST_SCOPE_SUITE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TEST_TYPE_SCOPE_SUITE, UnityTestScopeSuiteClass))

Definition at line 97 of file test-vala.c.

Definition at line 52 of file test-vala.c.

Definition at line 72 of file test-vala.c.

Definition at line 42 of file test-vala.c.

Definition at line 62 of file test-vala.c.

Definition at line 82 of file test-vala.c.

Definition at line 92 of file test-vala.c.


Typedef Documentation

typedef struct _Main

Definition at line 38 of file test-vala.c.

typedef struct _MainClass

Definition at line 39 of file test-vala.c.

typedef struct _MainPrivate

Definition at line 40 of file test-vala.c.

typedef struct _ParamSpecMain

Definition at line 107 of file test-vala.c.

Definition at line 59 of file test-vala.c.

Definition at line 60 of file test-vala.c.

typedef struct _UnityTestFilterSuite

Definition at line 79 of file test-vala.c.

Definition at line 80 of file test-vala.c.

typedef struct _UnityTestIOSuite

Definition at line 49 of file test-vala.c.

typedef struct _UnityTestIOSuiteClass

Definition at line 50 of file test-vala.c.

typedef struct _UnityTestLauncherSuite

Definition at line 69 of file test-vala.c.

Definition at line 70 of file test-vala.c.

typedef struct _UnityTestPreviewSuite

Definition at line 89 of file test-vala.c.

Definition at line 90 of file test-vala.c.

typedef struct _UnityTestScopeSuite

Definition at line 99 of file test-vala.c.

typedef struct _UnityTestScopeSuiteClass

Definition at line 100 of file test-vala.c.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 243 of file test-vala.c.

                                  {
       g_type_init ();
       return main_main (argv, argc);
}

Here is the call graph for this function:

static void main_class_init ( MainClass *  klass) [static]

Definition at line 371 of file test-vala.c.

                                                {
       main_parent_class = g_type_class_peek_parent (klass);
       MAIN_CLASS (klass)->finalize = main_finalize;
}

Here is the call graph for this function:

Main* main_construct ( GType  object_type)

Definition at line 249 of file test-vala.c.

                                         {
       Main* self = NULL;
       self = (Main*) g_type_create_instance (object_type);
       return self;
}
static void main_finalize ( Main *  obj) [static]

Definition at line 382 of file test-vala.c.

                                      {
       Main * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MAIN, Main);
}

Here is the caller graph for this function:

GType main_get_type ( void  )

Definition at line 133 of file test-vala.c.

      {
       MAIN_DUMMY_PROPERTY
};
static void main_instance_init ( Main *  self) [static]

Definition at line 377 of file test-vala.c.

                                             {
       self->ref_count = 1;
}
gint main_main ( gchar **  args,
int  args_length1 
)

Definition at line 147 of file test-launcher-integration.c.

                                                {
       gint result = 0;
       const gchar* _tmp0_ = NULL;
       gchar* _tmp1_;
       gchar* datadirs;
       const gchar* _tmp2_;
       const gchar* _tmp6_;
       _tmp0_ = g_getenv ("XDG_DATA_DIRS");
       _tmp1_ = g_strdup (_tmp0_);
       datadirs = _tmp1_;
       _tmp2_ = datadirs;
       if (_tmp2_ != NULL) {
              const gchar* _tmp3_;
              gchar* _tmp4_;
              _tmp3_ = datadirs;
              _tmp4_ = g_strconcat (TESTDIR "/data:", _tmp3_, NULL);
              _g_free0 (datadirs);
              datadirs = _tmp4_;
       } else {
              gchar* _tmp5_;
              _tmp5_ = g_strdup (TESTDIR "/data");
              _g_free0 (datadirs);
              datadirs = _tmp5_;
       }
       _tmp6_ = datadirs;
       g_setenv ("XDG_DATA_DIRS", _tmp6_, TRUE);
       g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
       g_test_init (&args_length1, &args, NULL);
       g_test_add_data_func ("/Integration/Launcher/Favorites/UnknownApps", NULL, _main_test_has_unknown_apps_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/HasSampleApps", NULL, _main_test_has_sample_apps_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/Lookup", NULL, _main_test_lookup_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/EnumerateIds", NULL, _main_test_enumerate_ids_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/EnumerateAppInfos", NULL, _main_test_enumerate_app_infos_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/Changes", NULL, _main_test_changes_gtest_data_func);
       g_test_run ();
       result = 0;
       _g_free0 (datadirs);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Main* main_new ( void  )

Definition at line 256 of file test-vala.c.

                      {
       return main_construct (TYPE_MAIN);
}

Here is the call graph for this function:

gpointer main_ref ( gpointer  instance)
void main_unref ( gpointer  instance)
GParamSpec* param_spec_main ( const gchar *  name,
const gchar *  nick,
const gchar *  blurb,
GType  object_type,
GParamFlags  flags 
)
GType unity_test_io_suite_get_type ( void  )

Definition at line 144 of file test-vala.c.

                                                {
       gint result = 0;
       UnityTestIOSuite* io = NULL;
       UnityTestAppInfoManagerSuite* appinfo_manager = NULL;
       UnityTestLauncherSuite* launcher = NULL;
       UnityTestFilterSuite* filter_suite = NULL;
       UnityTestPreviewSuite* preview_suite = NULL;
       UnityTestScopeSuite* scope_suite = NULL;
       UnityTestIOSuite* _tmp0_;
       UnityTestAppInfoManagerSuite* _tmp1_;
       UnityTestLauncherSuite* _tmp2_;
       UnityTestFilterSuite* _tmp3_;
       UnityTestPreviewSuite* _tmp4_;
       UnityTestScopeSuite* _tmp5_;
       g_setenv ("XDG_DATA_HOME", TESTDIR "/data", TRUE);
       g_test_init (&args_length1, &args, NULL);
       _tmp0_ = unity_test_io_suite_new ();
       _unity_test_io_suite_unref0 (io);
       io = _tmp0_;
       _tmp1_ = unity_test_app_info_manager_suite_new ();
       _unity_test_app_info_manager_suite_unref0 (appinfo_manager);
       appinfo_manager = _tmp1_;
       _tmp2_ = unity_test_launcher_suite_new ();
       _unity_test_launcher_suite_unref0 (launcher);
       launcher = _tmp2_;
       _tmp3_ = unity_test_filter_suite_new ();
       _unity_test_filter_suite_unref0 (filter_suite);
       filter_suite = _tmp3_;
       _tmp4_ = unity_test_preview_suite_new ();
       _unity_test_preview_suite_unref0 (preview_suite);
       preview_suite = _tmp4_;
       _tmp5_ = unity_test_scope_suite_new ();
       _unity_test_scope_suite_unref0 (scope_suite);
       scope_suite = _tmp5_;
       g_test_run ();
       result = 0;
       _unity_test_scope_suite_unref0 (scope_suite);
       _unity_test_preview_suite_unref0 (preview_suite);
       _unity_test_filter_suite_unref0 (filter_suite);
       _unity_test_launcher_suite_unref0 (launcher);
       _unity_test_app_info_manager_suite_unref0 (appinfo_manager);
       _unity_test_io_suite_unref0 (io);
       return result;
}

Here is the call graph for this function:

gpointer unity_test_io_suite_ref ( gpointer  instance)

Definition at line 502 of file test-io.c.

                                                     {
       UnityTestIOSuite* self;
       self = instance;
       g_atomic_int_inc (&self->ref_count);
       return instance;
}

Here is the caller graph for this function:

void unity_test_io_suite_unref ( gpointer  instance)

Definition at line 510 of file test-io.c.

                                                   {
       UnityTestIOSuite* self;
       self = instance;
       if (g_atomic_int_dec_and_test (&self->ref_count)) {
              UNITY_TEST_IO_SUITE_GET_CLASS (self)->finalize (self);
              g_type_free_instance ((GTypeInstance *) self);
       }
}

Here is the caller graph for this function:

GParamSpec* unity_test_param_spec_io_suite ( const gchar *  name,
const gchar *  nick,
const gchar *  blurb,
GType  object_type,
GParamFlags  flags 
)

Definition at line 410 of file test-io.c.

                                                                                                                                            {
       UnityTestParamSpecIOSuite* spec;
       g_return_val_if_fail (g_type_is_a (object_type, UNITY_TEST_TYPE_IO_SUITE), NULL);
       spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
       G_PARAM_SPEC (spec)->value_type = object_type;
       return G_PARAM_SPEC (spec);
}
gpointer unity_test_value_get_io_suite ( const GValue *  value)

Definition at line 419 of file test-io.c.

                                                             {
       g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TEST_TYPE_IO_SUITE), NULL);
       return value->data[0].v_pointer;
}
void unity_test_value_set_io_suite ( GValue *  value,
gpointer  v_object 
)

Definition at line 425 of file test-io.c.

                                                                      {
       UnityTestIOSuite* old;
       g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TEST_TYPE_IO_SUITE));
       old = value->data[0].v_pointer;
       if (v_object) {
              g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, UNITY_TEST_TYPE_IO_SUITE));
              g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
              value->data[0].v_pointer = v_object;
              unity_test_io_suite_ref (value->data[0].v_pointer);
       } else {
              value->data[0].v_pointer = NULL;
       }
       if (old) {
              unity_test_io_suite_unref (old);
       }
}

Here is the call graph for this function:

void unity_test_value_take_io_suite ( GValue *  value,
gpointer  v_object 
)

Definition at line 443 of file test-io.c.

                                                                       {
       UnityTestIOSuite* old;
       g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TEST_TYPE_IO_SUITE));
       old = value->data[0].v_pointer;
       if (v_object) {
              g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, UNITY_TEST_TYPE_IO_SUITE));
              g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
              value->data[0].v_pointer = v_object;
       } else {
              value->data[0].v_pointer = NULL;
       }
       if (old) {
              unity_test_io_suite_unref (old);
       }
}

Here is the call graph for this function:

gpointer value_get_main ( const GValue *  value)
static gchar* value_main_collect_value ( GValue *  value,
guint  n_collect_values,
GTypeCValue *  collect_values,
guint  collect_flags 
) [static]

Definition at line 287 of file test-vala.c.

                                                                                                                                 {
       if (collect_values[0].v_pointer) {
              Main* object;
              object = collect_values[0].v_pointer;
              if (object->parent_instance.g_class == NULL) {
                     return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
              } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
                     return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
              }
              value->data[0].v_pointer = main_ref (object);
       } else {
              value->data[0].v_pointer = NULL;
       }
       return NULL;
}

Here is the call graph for this function:

static void value_main_copy_value ( const GValue *  src_value,
GValue *  dest_value 
) [static]

Definition at line 273 of file test-vala.c.

                                                                                {
       if (src_value->data[0].v_pointer) {
              dest_value->data[0].v_pointer = main_ref (src_value->data[0].v_pointer);
       } else {
              dest_value->data[0].v_pointer = NULL;
       }
}

Here is the call graph for this function:

static void value_main_free_value ( GValue *  value) [static]

Definition at line 266 of file test-vala.c.

                                                  {
       if (value->data[0].v_pointer) {
              main_unref (value->data[0].v_pointer);
       }
}

Here is the call graph for this function:

static void value_main_init ( GValue *  value) [static]

Definition at line 261 of file test-vala.c.

                                            {
       value->data[0].v_pointer = NULL;
}
static gchar* value_main_lcopy_value ( const GValue *  value,
guint  n_collect_values,
GTypeCValue *  collect_values,
guint  collect_flags 
) [static]

Definition at line 304 of file test-vala.c.

                                                                                                                                     {
       Main** object_p;
       object_p = collect_values[0].v_pointer;
       if (!object_p) {
              return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
       }
       if (!value->data[0].v_pointer) {
              *object_p = NULL;
       } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
              *object_p = value->data[0].v_pointer;
       } else {
              *object_p = main_ref (value->data[0].v_pointer);
       }
       return NULL;
}

Here is the call graph for this function:

static gpointer value_main_peek_pointer ( const GValue *  value) [static]

Definition at line 282 of file test-vala.c.

                                                              {
       return value->data[0].v_pointer;
}
void value_set_main ( GValue *  value,
gpointer  v_object 
)
void value_take_main ( GValue *  value,
gpointer  v_object 
)

Variable Documentation

gpointer main_parent_class = NULL [static]

Definition at line 125 of file test-vala.c.