Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Functions | Variables
test-launcher.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <unity-internal.h>
#include <dee.h>
#include <gobject/gvaluecollector.h>

Go to the source code of this file.

Classes

struct  _UnityTestLauncherSuite
struct  _UnityTestLauncherSuiteClass
struct  _UnityTestParamSpecLauncherSuite

Defines

#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 _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_variant_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _vala_assert(expr, msg)   if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

Typedefs

typedef struct _UnityTestLauncherSuite
typedef struct _UnityTestLauncherSuiteClass
typedef struct _UnityTestLauncherSuitePrivate
typedef struct _UnityTestParamSpecLauncherSuite

Functions

gpointer unity_test_launcher_suite_ref (gpointer instance)
void unity_test_launcher_suite_unref (gpointer instance)
GParamSpec * unity_test_param_spec_launcher_suite (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags)
void unity_test_value_set_launcher_suite (GValue *value, gpointer v_object)
void unity_test_value_take_launcher_suite (GValue *value, gpointer v_object)
gpointer unity_test_value_get_launcher_suite (const GValue *value)
GType unity_test_launcher_suite_get_type (void)
UnityTestLauncherSuite * unity_test_launcher_suite_new (void)
UnityTestLauncherSuite * unity_test_launcher_suite_construct (GType object_type)
void unity_test_launcher_suite_test_empty_launcher_entry (void)
static void _unity_test_launcher_suite_test_empty_launcher_entry_gtest_data_func (gpointer self)
void unity_test_launcher_suite_test_singleton_entry (void)
static void _unity_test_launcher_suite_test_singleton_entry_gtest_data_func (gpointer self)
void unity_test_launcher_suite_test_serializable_entry (void)
static void _unity_test_launcher_suite_test_serializable_entry_gtest_data_func (gpointer self)
static void unity_test_launcher_suite_finalize (UnityTestLauncherSuite *obj)
static void unity_test_value_launcher_suite_init (GValue *value)
static void unity_test_value_launcher_suite_free_value (GValue *value)
static void unity_test_value_launcher_suite_copy_value (const GValue *src_value, GValue *dest_value)
static gpointer unity_test_value_launcher_suite_peek_pointer (const GValue *value)
static gchar * unity_test_value_launcher_suite_collect_value (GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static gchar * unity_test_value_launcher_suite_lcopy_value (const GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static void unity_test_launcher_suite_class_init (UnityTestLauncherSuiteClass *klass)
static void unity_test_launcher_suite_instance_init (UnityTestLauncherSuite *self)

Variables

static gpointer unity_test_launcher_suite_parent_class = NULL

Class Documentation

struct _UnityTestLauncherSuite

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

Class Members
GTypeInstance parent_instance
UnityTestLauncherSuitePrivate * priv
volatile int ref_count
struct _UnityTestParamSpecLauncherSuite

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

Class Members
GParamSpec parent_instance

Define Documentation

#define _g_object_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

Definition at line 41 of file test-launcher.c.

#define _g_variant_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))

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

#define _vala_assert (   expr,
  msg 
)    if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

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

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

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

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

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

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

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

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

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

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

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

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


Typedef Documentation

typedef struct _UnityTestLauncherSuite

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

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

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

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


Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_test_launcher_suite_test_singleton_entry_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_test_launcher_suite_class_init ( UnityTestLauncherSuiteClass *  klass) [static]

Definition at line 421 of file test-launcher.c.

Here is the call graph for this function:

UnityTestLauncherSuite * unity_test_launcher_suite_construct ( GType  object_type)

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

                                                                                {
       UnityTestLauncherSuite* self = NULL;
       self = (UnityTestLauncherSuite*) g_type_create_instance (object_type);
       g_test_add_data_func ("/Unit/Launcher/EmptyEntry", NULL, _unity_test_launcher_suite_test_empty_launcher_entry_gtest_data_func);
       g_test_add_data_func ("/Unit/Launcher/SingletonEntry", NULL, _unity_test_launcher_suite_test_singleton_entry_gtest_data_func);
       g_test_add_data_func ("/Unit/Launcher/Serializable", NULL, _unity_test_launcher_suite_test_serializable_entry_gtest_data_func);
       return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_test_launcher_suite_finalize ( UnityTestLauncherSuite *  obj) [static]

Definition at line 432 of file test-launcher.c.

                                                                             {
       UnityTestLauncherSuite * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TEST_TYPE_LAUNCHER_SUITE, UnityTestLauncherSuite);
}

Here is the caller graph for this function:

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

      {
       UNITY_TEST_LAUNCHER_SUITE_DUMMY_PROPERTY
};
static void unity_test_launcher_suite_instance_init ( UnityTestLauncherSuite *  self) [static]

Definition at line 427 of file test-launcher.c.

                                                                                    {
       self->ref_count = 1;
}
UnityTestLauncherSuite * unity_test_launcher_suite_new ( void  )

Definition at line 110 of file test-launcher.c.

Here is the call graph for this function:

Here is the caller graph for this function:

gpointer unity_test_launcher_suite_ref ( gpointer  instance)

Definition at line 452 of file test-launcher.c.

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

Here is the caller graph for this function:

Definition at line 115 of file test-launcher.c.

                                                                {
       UnityLauncherEntry* _tmp0_ = NULL;
       UnityLauncherEntry* l;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       gint64 _tmp3_;
       gint64 _tmp4_;
       gboolean _tmp5_;
       gboolean _tmp6_;
       gdouble _tmp7_;
       gdouble _tmp8_;
       gboolean _tmp9_;
       gboolean _tmp10_;
       gboolean _tmp11_;
       gboolean _tmp12_;
       DbusmenuMenuitem* _tmp13_;
       DbusmenuMenuitem* _tmp14_;
       _tmp0_ = unity_launcher_entry_get_for_desktop_id ("foo.desktop");
       l = _tmp0_;
       _vala_assert (G_TYPE_CHECK_INSTANCE_TYPE (l, UNITY_TYPE_LAUNCHER_ENTRY), "l is LauncherEntry");
       _tmp1_ = unity_launcher_entry_get_app_uri (l);
       _tmp2_ = _tmp1_;
       _vala_assert (g_strcmp0 (_tmp2_, "application://foo.desktop") == 0, "l.app_uri == \"application://foo.desktop\"");
       _tmp3_ = unity_launcher_entry_get_count (l);
       _tmp4_ = _tmp3_;
       _vala_assert (_tmp4_ == ((gint64) 0), "l.count == 0");
       _tmp5_ = unity_launcher_entry_get_count_visible (l);
       _tmp6_ = _tmp5_;
       _vala_assert (_tmp6_ == FALSE, "l.count_visible == false");
       _tmp7_ = unity_launcher_entry_get_progress (l);
       _tmp8_ = _tmp7_;
       _vala_assert (_tmp8_ == 0.0, "l.progress == 0.0");
       _tmp9_ = unity_launcher_entry_get_progress_visible (l);
       _tmp10_ = _tmp9_;
       _vala_assert (_tmp10_ == FALSE, "l.progress_visible == false");
       _tmp11_ = unity_launcher_entry_get_urgent (l);
       _tmp12_ = _tmp11_;
       _vala_assert (_tmp12_ == FALSE, "l.urgent == false");
       _tmp13_ = unity_launcher_entry_get_quicklist (l);
       _tmp14_ = _tmp13_;
       _vala_assert (_tmp14_ == NULL, "l.quicklist == null");
       _g_object_unref0 (l);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 187 of file test-launcher.c.

                                                              {
       UnityLauncherEntry* _tmp0_ = NULL;
       UnityLauncherEntry* orig;
       UnityLauncherEntry* _tmp1_;
       UnityLauncherEntry* _tmp2_;
       UnityLauncherEntry* _tmp3_;
       UnityLauncherEntry* _tmp4_;
       UnityLauncherEntry* _tmp5_;
       UnityLauncherEntry* _tmp6_;
       GVariant* _tmp7_ = NULL;
       GVariant* data;
       GVariant* _tmp8_;
       GObject* _tmp9_ = NULL;
       UnityLauncherEntry* copy;
       UnityLauncherEntry* _tmp10_;
       gint64 _tmp11_;
       gint64 _tmp12_;
       UnityLauncherEntry* _tmp13_;
       gint64 _tmp14_;
       gint64 _tmp15_;
       UnityLauncherEntry* _tmp16_;
       gboolean _tmp17_;
       gboolean _tmp18_;
       UnityLauncherEntry* _tmp19_;
       gboolean _tmp20_;
       gboolean _tmp21_;
       gboolean _tmp22_ = FALSE;
       UnityLauncherEntry* _tmp23_;
       gdouble _tmp24_;
       gdouble _tmp25_;
       UnityLauncherEntry* _tmp26_;
       gdouble _tmp27_;
       gdouble _tmp28_;
       gboolean _tmp35_;
       UnityLauncherEntry* _tmp36_;
       gboolean _tmp37_;
       gboolean _tmp38_;
       UnityLauncherEntry* _tmp39_;
       gboolean _tmp40_;
       gboolean _tmp41_;
       UnityLauncherEntry* _tmp42_;
       gboolean _tmp43_;
       gboolean _tmp44_;
       UnityLauncherEntry* _tmp45_;
       gboolean _tmp46_;
       gboolean _tmp47_;
       _tmp0_ = unity_launcher_entry_get_for_desktop_id ("foo.desktop");
       orig = _tmp0_;
       _tmp1_ = orig;
       unity_launcher_entry_set_count (_tmp1_, (gint64) 27);
       _tmp2_ = orig;
       unity_launcher_entry_set_count_visible (_tmp2_, TRUE);
       _tmp3_ = orig;
       unity_launcher_entry_set_progress (_tmp3_, 1.0);
       _tmp4_ = orig;
       unity_launcher_entry_set_progress_visible (_tmp4_, TRUE);
       _tmp5_ = orig;
       unity_launcher_entry_set_urgent (_tmp5_, TRUE);
       _tmp6_ = orig;
       _tmp7_ = dee_serializable_externalize ((DeeSerializable*) _tmp6_);
       g_variant_ref_sink (_tmp7_);
       data = _tmp7_;
       _tmp8_ = data;
       _tmp9_ = dee_serializable_parse_external (_tmp8_);
       copy = G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, UNITY_TYPE_LAUNCHER_ENTRY) ? ((UnityLauncherEntry*) _tmp9_) : NULL;
       _tmp10_ = orig;
       _tmp11_ = unity_launcher_entry_get_count (_tmp10_);
       _tmp12_ = _tmp11_;
       _tmp13_ = copy;
       _tmp14_ = unity_launcher_entry_get_count (_tmp13_);
       _tmp15_ = _tmp14_;
       _vala_assert (_tmp12_ == _tmp15_, "orig.count == copy.count");
       _tmp16_ = orig;
       _tmp17_ = unity_launcher_entry_get_count_visible (_tmp16_);
       _tmp18_ = _tmp17_;
       _tmp19_ = copy;
       _tmp20_ = unity_launcher_entry_get_count_visible (_tmp19_);
       _tmp21_ = _tmp20_;
       _vala_assert (_tmp18_ == _tmp21_, "orig.count_visible == copy.count_visible");
       _tmp23_ = orig;
       _tmp24_ = unity_launcher_entry_get_progress (_tmp23_);
       _tmp25_ = _tmp24_;
       _tmp26_ = copy;
       _tmp27_ = unity_launcher_entry_get_progress (_tmp26_);
       _tmp28_ = _tmp27_;
       if (_tmp25_ > (_tmp28_ - 0.01)) {
              UnityLauncherEntry* _tmp29_;
              gdouble _tmp30_;
              gdouble _tmp31_;
              UnityLauncherEntry* _tmp32_;
              gdouble _tmp33_;
              gdouble _tmp34_;
              _tmp29_ = orig;
              _tmp30_ = unity_launcher_entry_get_progress (_tmp29_);
              _tmp31_ = _tmp30_;
              _tmp32_ = copy;
              _tmp33_ = unity_launcher_entry_get_progress (_tmp32_);
              _tmp34_ = _tmp33_;
              _tmp22_ = _tmp31_ < (_tmp34_ + 0.01);
       } else {
              _tmp22_ = FALSE;
       }
       _tmp35_ = _tmp22_;
       _vala_assert (_tmp35_, "orig.progress > copy.progress - 0.01 &&               orig.progress < copy.progress + 0.01");
       _tmp36_ = orig;
       _tmp37_ = unity_launcher_entry_get_progress_visible (_tmp36_);
       _tmp38_ = _tmp37_;
       _tmp39_ = copy;
       _tmp40_ = unity_launcher_entry_get_progress_visible (_tmp39_);
       _tmp41_ = _tmp40_;
       _vala_assert (_tmp38_ == _tmp41_, "orig.progress_visible == copy.progress_visible");
       _tmp42_ = orig;
       _tmp43_ = unity_launcher_entry_get_urgent (_tmp42_);
       _tmp44_ = _tmp43_;
       _tmp45_ = copy;
       _tmp46_ = unity_launcher_entry_get_urgent (_tmp45_);
       _tmp47_ = _tmp46_;
       _vala_assert (_tmp44_ == _tmp47_, "orig.urgent == copy.urgent");
       _g_object_unref0 (copy);
       _g_variant_unref0 (data);
       _g_object_unref0 (orig);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 160 of file test-launcher.c.

                                                           {
       UnityLauncherEntry* _tmp0_ = NULL;
       UnityLauncherEntry* l1;
       UnityLauncherEntry* _tmp1_ = NULL;
       UnityLauncherEntry* l2;
       UnityLauncherEntry* _tmp2_ = NULL;
       UnityLauncherEntry* l3;
       UnityLauncherEntry* _tmp3_ = NULL;
       UnityLauncherEntry* l4;
       _tmp0_ = unity_launcher_entry_get_for_desktop_id ("foo.desktop");
       l1 = _tmp0_;
       _tmp1_ = unity_launcher_entry_get_for_desktop_id ("foo.desktop");
       l2 = _tmp1_;
       _tmp2_ = unity_launcher_entry_get_for_app_uri ("application://foo.desktop");
       l3 = _tmp2_;
       _tmp3_ = unity_launcher_entry_get_for_desktop_file ("/usr/share/applications/foo.desktop");
       l4 = _tmp3_;
       _vala_assert (l1 == l2, "l1 == l2");
       _vala_assert (l2 == l3, "l2 == l3");
       _vala_assert (l3 == l4, "l3 == l4");
       _g_object_unref0 (l4);
       _g_object_unref0 (l3);
       _g_object_unref0 (l2);
       _g_object_unref0 (l1);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_test_launcher_suite_unref ( gpointer  instance)

Definition at line 460 of file test-launcher.c.

                                                         {
       UnityTestLauncherSuite* self;
       self = instance;
       if (g_atomic_int_dec_and_test (&self->ref_count)) {
              UNITY_TEST_LAUNCHER_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_launcher_suite ( const gchar *  name,
const gchar *  nick,
const gchar *  blurb,
GType  object_type,
GParamFlags  flags 
)

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

                                                                                                                                                  {
       UnityTestParamSpecLauncherSuite* spec;
       g_return_val_if_fail (g_type_is_a (object_type, UNITY_TEST_TYPE_LAUNCHER_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_launcher_suite ( const GValue *  value)

Definition at line 380 of file test-launcher.c.

                                                                   {
       g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TEST_TYPE_LAUNCHER_SUITE), NULL);
       return value->data[0].v_pointer;
}
static gchar* unity_test_value_launcher_suite_collect_value ( GValue *  value,
guint  n_collect_values,
GTypeCValue *  collect_values,
guint  collect_flags 
) [static]

Definition at line 337 of file test-launcher.c.

                                                                                                                                                      {
       if (collect_values[0].v_pointer) {
              UnityTestLauncherSuite* 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 = unity_test_launcher_suite_ref (object);
       } else {
              value->data[0].v_pointer = NULL;
       }
       return NULL;
}

Here is the call graph for this function:

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

Definition at line 323 of file test-launcher.c.

                                                                                                     {
       if (src_value->data[0].v_pointer) {
              dest_value->data[0].v_pointer = unity_test_launcher_suite_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 unity_test_value_launcher_suite_free_value ( GValue *  value) [static]

Definition at line 316 of file test-launcher.c.

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

Here is the call graph for this function:

static void unity_test_value_launcher_suite_init ( GValue *  value) [static]

Definition at line 311 of file test-launcher.c.

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

Definition at line 354 of file test-launcher.c.

                                                                                                                                                          {
       UnityTestLauncherSuite** 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 = unity_test_launcher_suite_ref (value->data[0].v_pointer);
       }
       return NULL;
}

Here is the call graph for this function:

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

Definition at line 332 of file test-launcher.c.

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

Definition at line 386 of file test-launcher.c.

                                                                            {
       UnityTestLauncherSuite* old;
       g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TEST_TYPE_LAUNCHER_SUITE));
       old = value->data[0].v_pointer;
       if (v_object) {
              g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, UNITY_TEST_TYPE_LAUNCHER_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_launcher_suite_ref (value->data[0].v_pointer);
       } else {
              value->data[0].v_pointer = NULL;
       }
       if (old) {
              unity_test_launcher_suite_unref (old);
       }
}

Here is the call graph for this function:

void unity_test_value_take_launcher_suite ( GValue *  value,
gpointer  v_object 
)

Definition at line 404 of file test-launcher.c.

                                                                             {
       UnityTestLauncherSuite* old;
       g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TEST_TYPE_LAUNCHER_SUITE));
       old = value->data[0].v_pointer;
       if (v_object) {
              g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, UNITY_TEST_TYPE_LAUNCHER_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_launcher_suite_unref (old);
       }
}

Here is the call graph for this function:


Variable Documentation

gpointer unity_test_launcher_suite_parent_class = NULL [static]

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