Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Functions | Variables
test-scope-signals.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <unity-internal.h>
#include <gio/gio.h>
#include <unity-protocol.h>
#include <stdlib.h>
#include <string.h>
#include <gobject/gvaluecollector.h>

Go to the source code of this file.

Classes

struct  _UnityTestScopeSuite
struct  _UnityTestScopeSuiteClass
struct  _Block2Data
struct  _Block3Data
struct  _Block4Data
struct  _Block5Data
struct  _Block6Data
struct  _Block7Data
struct  _UnityTestParamSpecScopeSuite

Defines

#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 _g_main_loop_unref0(var)   ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_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 _UnityTestScopeSuite
typedef struct _UnityTestScopeSuiteClass
typedef struct _UnityTestScopeSuitePrivate
typedef struct _Block2Data
typedef struct _Block3Data
typedef struct _Block4Data
typedef struct _Block5Data
typedef struct _Block6Data
typedef struct _Block7Data
typedef struct _UnityTestParamSpecScopeSuite

Functions

gpointer unity_test_scope_suite_ref (gpointer instance)
void unity_test_scope_suite_unref (gpointer instance)
GParamSpec * unity_test_param_spec_scope_suite (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags)
void unity_test_value_set_scope_suite (GValue *value, gpointer v_object)
void unity_test_value_take_scope_suite (GValue *value, gpointer v_object)
gpointer unity_test_value_get_scope_suite (const GValue *value)
GType unity_test_scope_suite_get_type (void)
UnityTestScopeSuite * unity_test_scope_suite_new (void)
UnityTestScopeSuite * unity_test_scope_suite_construct (GType object_type)
static void unity_test_scope_suite_test_no_search_changed (void)
static void _unity_test_scope_suite_test_no_search_changed_gtest_data_func (gpointer self)
static void unity_test_scope_suite_test_search_changed (void)
static void _unity_test_scope_suite_test_search_changed_gtest_data_func (gpointer self)
static void unity_test_scope_suite_test_search_key (void)
static void _unity_test_scope_suite_test_search_key_gtest_data_func (gpointer self)
static void unity_test_scope_suite_test_search_key_details (void)
static void _unity_test_scope_suite_test_search_key_details_gtest_data_func (gpointer self)
static void unity_test_scope_suite_test_multiple_queue_calls (void)
static void _unity_test_scope_suite_test_multiple_queue_calls_gtest_data_func (gpointer self)
static void unity_test_scope_suite_test_cancellable (void)
static void _unity_test_scope_suite_test_cancellable_gtest_data_func (gpointer self)
static Block2Data * block2_data_ref (Block2Data *_data2_)
static void block2_data_unref (void *_userdata_)
static void __lambda3_ (Block2Data *_data2_)
static void ___lambda3__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda4_ (Block2Data *_data2_)
static gboolean ___lambda4__gsource_func (gpointer self)
static Block3Data * block3_data_ref (Block3Data *_data3_)
static void block3_data_unref (void *_userdata_)
static void __lambda5_ (Block3Data *_data3_)
static void ___lambda5__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda6_ (void)
static gboolean ___lambda6__gsource_func (gpointer self)
static Block4Data * block4_data_ref (Block4Data *_data4_)
static void block4_data_unref (void *_userdata_)
static void __lambda7_ (Block4Data *_data4_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static void ___lambda7__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gchar * __lambda8_ (Block4Data *_data4_, UnityLensSearch *lens_search)
static gchar * ___lambda8__unity_scope_generate_search_key (UnityScope *_sender, UnityLensSearch *search, gpointer self)
static gboolean __lambda9_ (void)
static gboolean ___lambda9__gsource_func (gpointer self)
static Block5Data * block5_data_ref (Block5Data *_data5_)
static void block5_data_unref (void *_userdata_)
static void __lambda10_ (Block5Data *_data5_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static void ___lambda10__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gchar * __lambda11_ (Block5Data *_data5_, UnityLensSearch *lens_search)
static gchar * ___lambda11__unity_scope_generate_search_key (UnityScope *_sender, UnityLensSearch *search, gpointer self)
static gboolean __lambda12_ (void)
static gboolean ___lambda12__gsource_func (gpointer self)
static Block6Data * block6_data_ref (Block6Data *_data6_)
static void block6_data_unref (void *_userdata_)
static void __lambda13_ (Block6Data *_data6_)
static void ___lambda13__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda14_ (Block6Data *_data6_)
static gboolean ___lambda14__gsource_func (gpointer self)
static Block7Data * block7_data_ref (Block7Data *_data7_)
static void block7_data_unref (void *_userdata_)
static void __lambda15_ (Block7Data *_data7_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static void ___lambda15__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda16_ (void)
static gboolean ___lambda16__gsource_func (gpointer self)
static void unity_test_scope_suite_finalize (UnityTestScopeSuite *obj)
static gpointer _g_object_ref0 (gpointer self)
static void unity_test_value_scope_suite_init (GValue *value)
static void unity_test_value_scope_suite_free_value (GValue *value)
static void unity_test_value_scope_suite_copy_value (const GValue *src_value, GValue *dest_value)
static gpointer unity_test_value_scope_suite_peek_pointer (const GValue *value)
static gchar * unity_test_value_scope_suite_collect_value (GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static gchar * unity_test_value_scope_suite_lcopy_value (const GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static void unity_test_scope_suite_class_init (UnityTestScopeSuiteClass *klass)
static void unity_test_scope_suite_instance_init (UnityTestScopeSuite *self)

Variables

static gpointer unity_test_scope_suite_parent_class = NULL

Class Documentation

struct _UnityTestScopeSuite

Definition at line 55 of file test-scope-signals.c.

Class Members
GTypeInstance parent_instance
UnityTestScopeSuitePrivate * priv
volatile int ref_count
struct _Block2Data

Definition at line 243 of file protocol-previews.c.

Class Members
gpointer _async_data_
int _ref_count_
UnityProtocolMusicPreview * _result_
GHashTable * _result_
Mpris2Controller * controller
gboolean got_search_changed
gboolean got_signal
GMainLoop * ml
gint num_scopes
gboolean scope_up
UnityLensImpl * self
gboolean timeout_reached
struct _Block3Data

Definition at line 263 of file protocol-previews.c.

Class Members
gpointer _async_data_
Block2Data * _data2_
int _ref_count_
UnityProtocolMoviePreview * _result_
GDBusConnection * bus
GFunc cb
gpointer cb_target
Mpris2Controller * contr
gboolean got_signal
UnityLensSearch * lens_search
GMainLoop * ml
guint64 seqnum
struct _Block4Data

Definition at line 292 of file protocol-previews.c.

Class Members
Block3Data * _data3_
int _ref_count_
UnityProtocolSeriesPreview * _result_
gboolean got_changed_signal
gboolean got_gen_signal
gboolean got_search_changed
GMainLoop * ml
gulong update_sig_id
struct _Block5Data

Definition at line 370 of file unity-lens-private.c.

Class Members
gpointer _async_data_
Block4Data * _data4_
int _ref_count_
gboolean got_global_search
gboolean got_lens_search
UnityLensSearch * lens_search
GMainLoop * ml
gint num_changed_signals
gint num_gen_signals
gint num_scopes
UnityScope * scope
UnityLensImpl * self
struct _Block6Data

Definition at line 377 of file unity-lens-private.c.

Class Members
Block5Data * _data5_
int _ref_count_
GCancellable * canc1
GCancellable * canc2
gboolean got_search_changed
GMainLoop * ml
gint num_changed
guint num_searches
guint64 seqnum
struct _Block7Data

Definition at line 383 of file unity-lens-private.c.

Class Members
Block6Data * _data6_
int _ref_count_
GCancellable * canc
UnityLensSearch * lens_search
GMainLoop * ml
UnityScope * scope
gulong update_sig_id
struct _UnityTestParamSpecScopeSuite

Definition at line 106 of file test-scope-signals.c.

Class Members
GParamSpec parent_instance

Define Documentation

#define _g_main_loop_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))

Definition at line 45 of file test-scope-signals.c.

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

Definition at line 46 of file test-scope-signals.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 53 of file test-scope-signals.c.

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

Definition at line 37 of file test-scope-signals.c.

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

Definition at line 38 of file test-scope-signals.c.

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

Definition at line 35 of file test-scope-signals.c.

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

Definition at line 36 of file test-scope-signals.c.

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

Definition at line 39 of file test-scope-signals.c.

Definition at line 34 of file test-scope-signals.c.


Typedef Documentation

typedef struct _Block2Data

Definition at line 44 of file test-scope-signals.c.

typedef struct _Block3Data

Definition at line 47 of file test-scope-signals.c.

typedef struct _Block4Data

Definition at line 48 of file test-scope-signals.c.

typedef struct _Block5Data

Definition at line 49 of file test-scope-signals.c.

typedef struct _Block6Data

Definition at line 50 of file test-scope-signals.c.

typedef struct _Block7Data

Definition at line 51 of file test-scope-signals.c.

Definition at line 52 of file test-scope-signals.c.

typedef struct _UnityTestScopeSuite

Definition at line 41 of file test-scope-signals.c.

typedef struct _UnityTestScopeSuiteClass

Definition at line 42 of file test-scope-signals.c.

Definition at line 43 of file test-scope-signals.c.


Function Documentation

static void ___lambda10__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 494 of file test-scope-signals.c.

                                                                                                                                                                          {
       __lambda10_ (self, search, search_type, cancellable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar * ___lambda11__unity_scope_generate_search_key ( UnityScope *  _sender,
UnityLensSearch *  search,
gpointer  self 
) [static]

Definition at line 512 of file test-scope-signals.c.

                                                                                                                         {
       gchar* result;
       result = __lambda11_ (self, search);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda12__gsource_func ( gpointer  self) [static]

Definition at line 526 of file test-scope-signals.c.

                                                          {
       gboolean result;
       result = __lambda12_ ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda13__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 587 of file test-scope-signals.c.

                                                                                                                                                                          {
       __lambda13_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda14__gsource_func ( gpointer  self) [static]

Definition at line 600 of file test-scope-signals.c.

                                                          {
       gboolean result;
       result = __lambda14_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda15__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 686 of file test-scope-signals.c.

                                                                                                                                                                          {
       __lambda15_ (self, search, search_type, cancellable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda16__gsource_func ( gpointer  self) [static]

Definition at line 698 of file test-scope-signals.c.

                                                          {
       gboolean result;
       result = __lambda16_ ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda3__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 250 of file test-scope-signals.c.

                                                                                                                                                                         {
       __lambda3_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda4__gsource_func ( gpointer  self) [static]

Definition at line 263 of file test-scope-signals.c.

                                                         {
       gboolean result;
       result = __lambda4_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda5__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 320 of file test-scope-signals.c.

                                                                                                                                                                         {
       __lambda5_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda6__gsource_func ( gpointer  self) [static]

Definition at line 332 of file test-scope-signals.c.

                                                         {
       gboolean result;
       result = __lambda6_ ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda7__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 392 of file test-scope-signals.c.

                                                                                                                                                                         {
       __lambda7_ (self, search, search_type, cancellable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar * ___lambda8__unity_scope_generate_search_key ( UnityScope *  _sender,
UnityLensSearch *  search,
gpointer  self 
) [static]

Definition at line 408 of file test-scope-signals.c.

                                                                                                                        {
       gchar* result;
       result = __lambda8_ (self, search);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda9__gsource_func ( gpointer  self) [static]

Definition at line 422 of file test-scope-signals.c.

                                                         {
       gboolean result;
       result = __lambda9_ ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda10_ ( Block5Data *  _data5_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

Definition at line 478 of file test-scope-signals.c.

                                                                                                                                    {
       gint _tmp0_;
       g_return_if_fail (lens_search != NULL);
       g_return_if_fail (cancellable != NULL);
       _tmp0_ = _data5_->num_changed_signals;
       _data5_->num_changed_signals = _tmp0_ + 1;
       if (_data5_->num_changed_signals == 1) {
              unity_scope_set_view_type_internal (_data5_->scope, UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW);
       } else {
              if (_data5_->num_changed_signals >= 2) {
                     g_main_loop_quit (_data5_->ml);
              }
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar * __lambda11_ ( Block5Data *  _data5_,
UnityLensSearch *  lens_search 
) [static]

Definition at line 499 of file test-scope-signals.c.

                                                                              {
       gchar* result = NULL;
       gint _tmp0_;
       gchar* _tmp1_;
       g_return_val_if_fail (lens_search != NULL, NULL);
       _tmp0_ = _data5_->num_gen_signals;
       _data5_->num_gen_signals = _tmp0_ + 1;
       _tmp1_ = g_strdup ("foo");
       result = _tmp1_;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda12_ ( void  ) [static]

Definition at line 519 of file test-scope-signals.c.

                                   {
       gboolean result = FALSE;
       g_assert_not_reached ();
       return result;
}

Here is the caller graph for this function:

static void __lambda13_ ( Block6Data *  _data6_) [static]

Definition at line 580 of file test-scope-signals.c.

                                              {
       gint _tmp0_;
       _tmp0_ = _data6_->num_changed;
       _data6_->num_changed = _tmp0_ + 1;
}

Here is the caller graph for this function:

static gboolean __lambda14_ ( Block6Data *  _data6_) [static]

Definition at line 592 of file test-scope-signals.c.

                                                  {
       gboolean result = FALSE;
       g_main_loop_quit (_data6_->ml);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void __lambda15_ ( Block7Data *  _data7_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

Definition at line 664 of file test-scope-signals.c.

                                                                                                                                    {
       g_return_if_fail (lens_search != NULL);
       g_return_if_fail (cancellable != NULL);
       if (_data7_->canc == NULL) {
              GCancellable* _tmp0_;
              GCancellable* _tmp1_;
              _tmp0_ = cancellable;
              _tmp1_ = _g_object_ref0 (_tmp0_);
              _g_object_unref0 (_data7_->canc);
              _data7_->canc = _tmp1_;
              unity_scope_queue_search_changed (_data7_->scope, UNITY_SEARCH_TYPE_DEFAULT);
       } else {
              GCancellable* _tmp2_;
              gboolean _tmp3_ = FALSE;
              _tmp2_ = cancellable;
              _tmp3_ = g_cancellable_is_cancelled (_tmp2_);
              _vala_assert (_tmp3_ == FALSE, "cancellable.is_cancelled () == false");
              g_main_loop_quit (_data7_->ml);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda16_ ( void  ) [static]

Definition at line 691 of file test-scope-signals.c.

                                   {
       gboolean result = FALSE;
       g_assert_not_reached ();
       return result;
}

Here is the caller graph for this function:

static void __lambda3_ ( Block2Data *  _data2_) [static]

Definition at line 244 of file test-scope-signals.c.

                                             {
       _data2_->got_signal = TRUE;
       g_main_loop_quit (_data2_->ml);
}

Here is the caller graph for this function:

static gboolean __lambda4_ ( Block2Data *  _data2_) [static]

Definition at line 255 of file test-scope-signals.c.

                                                 {
       gboolean result = FALSE;
       g_main_loop_quit (_data2_->ml);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void __lambda5_ ( Block3Data *  _data3_) [static]

Definition at line 314 of file test-scope-signals.c.

                                             {
       _data3_->got_signal = TRUE;
       g_main_loop_quit (_data3_->ml);
}

Here is the caller graph for this function:

static gboolean __lambda6_ ( void  ) [static]

Definition at line 325 of file test-scope-signals.c.

                                  {
       gboolean result = FALSE;
       g_assert_not_reached ();
       return result;
}

Here is the caller graph for this function:

static void __lambda7_ ( Block4Data *  _data4_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

Definition at line 384 of file test-scope-signals.c.

                                                                                                                                   {
       g_return_if_fail (lens_search != NULL);
       g_return_if_fail (cancellable != NULL);
       _data4_->got_changed_signal = TRUE;
       g_main_loop_quit (_data4_->ml);
}

Here is the caller graph for this function:

static gchar * __lambda8_ ( Block4Data *  _data4_,
UnityLensSearch *  lens_search 
) [static]

Definition at line 397 of file test-scope-signals.c.

                                                                             {
       gchar* result = NULL;
       gchar* _tmp0_;
       g_return_val_if_fail (lens_search != NULL, NULL);
       _data4_->got_gen_signal = TRUE;
       _tmp0_ = g_strdup ("foo");
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda9_ ( void  ) [static]

Definition at line 415 of file test-scope-signals.c.

                                  {
       gboolean result = FALSE;
       g_assert_not_reached ();
       return result;
}

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 659 of file test-scope-signals.c.

                                               {
       return self ? g_object_ref (self) : NULL;
}

Here is the caller graph for this function:

static void _unity_test_scope_suite_test_cancellable_gtest_data_func ( gpointer  self) [static]

Definition at line 205 of file test-scope-signals.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 200 of file test-scope-signals.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_test_scope_suite_test_no_search_changed_gtest_data_func ( gpointer  self) [static]

Definition at line 180 of file test-scope-signals.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_test_scope_suite_test_search_changed_gtest_data_func ( gpointer  self) [static]

Definition at line 185 of file test-scope-signals.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_test_scope_suite_test_search_key_details_gtest_data_func ( gpointer  self) [static]

Definition at line 195 of file test-scope-signals.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_test_scope_suite_test_search_key_gtest_data_func ( gpointer  self) [static]

Definition at line 190 of file test-scope-signals.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static Block2Data * block2_data_ref ( Block2Data *  _data2_) [static]

Definition at line 228 of file test-scope-signals.c.

                                                         {
       g_atomic_int_inc (&_data2_->_ref_count_);
       return _data2_;
}

Here is the caller graph for this function:

static void block2_data_unref ( void *  _userdata_) [static]

Definition at line 234 of file test-scope-signals.c.

                                                  {
       Block2Data* _data2_;
       _data2_ = (Block2Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
              _g_main_loop_unref0 (_data2_->ml);
              g_slice_free (Block2Data, _data2_);
       }
}

Here is the caller graph for this function:

static Block3Data * block3_data_ref ( Block3Data *  _data3_) [static]

Definition at line 298 of file test-scope-signals.c.

                                                         {
       g_atomic_int_inc (&_data3_->_ref_count_);
       return _data3_;
}

Here is the caller graph for this function:

static void block3_data_unref ( void *  _userdata_) [static]

Definition at line 304 of file test-scope-signals.c.

                                                  {
       Block3Data* _data3_;
       _data3_ = (Block3Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
              _g_main_loop_unref0 (_data3_->ml);
              g_slice_free (Block3Data, _data3_);
       }
}

Here is the caller graph for this function:

static Block4Data * block4_data_ref ( Block4Data *  _data4_) [static]

Definition at line 368 of file test-scope-signals.c.

                                                         {
       g_atomic_int_inc (&_data4_->_ref_count_);
       return _data4_;
}

Here is the caller graph for this function:

static void block4_data_unref ( void *  _userdata_) [static]

Definition at line 374 of file test-scope-signals.c.

                                                  {
       Block4Data* _data4_;
       _data4_ = (Block4Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
              _g_main_loop_unref0 (_data4_->ml);
              g_slice_free (Block4Data, _data4_);
       }
}

Here is the caller graph for this function:

static Block5Data * block5_data_ref ( Block5Data *  _data5_) [static]

Definition at line 461 of file test-scope-signals.c.

                                                         {
       g_atomic_int_inc (&_data5_->_ref_count_);
       return _data5_;
}

Here is the caller graph for this function:

static void block5_data_unref ( void *  _userdata_) [static]

Definition at line 467 of file test-scope-signals.c.

                                                  {
       Block5Data* _data5_;
       _data5_ = (Block5Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
              _g_object_unref0 (_data5_->scope);
              _g_main_loop_unref0 (_data5_->ml);
              g_slice_free (Block5Data, _data5_);
       }
}

Here is the caller graph for this function:

static Block6Data * block6_data_ref ( Block6Data *  _data6_) [static]

Definition at line 564 of file test-scope-signals.c.

                                                         {
       g_atomic_int_inc (&_data6_->_ref_count_);
       return _data6_;
}

Here is the caller graph for this function:

static void block6_data_unref ( void *  _userdata_) [static]

Definition at line 570 of file test-scope-signals.c.

                                                  {
       Block6Data* _data6_;
       _data6_ = (Block6Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
              _g_main_loop_unref0 (_data6_->ml);
              g_slice_free (Block6Data, _data6_);
       }
}

Here is the caller graph for this function:

static Block7Data * block7_data_ref ( Block7Data *  _data7_) [static]

Definition at line 641 of file test-scope-signals.c.

                                                         {
       g_atomic_int_inc (&_data7_->_ref_count_);
       return _data7_;
}

Here is the caller graph for this function:

static void block7_data_unref ( void *  _userdata_) [static]

Definition at line 647 of file test-scope-signals.c.

                                                  {
       Block7Data* _data7_;
       _data7_ = (Block7Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
              _g_object_unref0 (_data7_->canc);
              _g_object_unref0 (_data7_->scope);
              _g_main_loop_unref0 (_data7_->ml);
              g_slice_free (Block7Data, _data7_);
       }
}

Here is the caller graph for this function:

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

Definition at line 795 of file test-scope-signals.c.

                                                                                                                                               {
       UnityTestParamSpecScopeSuite* spec;
       g_return_val_if_fail (g_type_is_a (object_type, UNITY_TEST_TYPE_SCOPE_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);
}
static void unity_test_scope_suite_class_init ( UnityTestScopeSuiteClass *  klass) [static]

Definition at line 845 of file test-scope-signals.c.

                                                                                 {
       unity_test_scope_suite_parent_class = g_type_class_peek_parent (klass);
       UNITY_TEST_SCOPE_SUITE_CLASS (klass)->finalize = unity_test_scope_suite_finalize;
}

Here is the call graph for this function:

UnityTestScopeSuite * unity_test_scope_suite_construct ( GType  object_type)

Definition at line 210 of file test-scope-signals.c.

                                                                          {
       UnityTestScopeSuite* self = NULL;
       self = (UnityTestScopeSuite*) g_type_create_instance (object_type);
       g_test_add_data_func ("/Unit/Scope/Signal/NoSearchChanged", NULL, _unity_test_scope_suite_test_no_search_changed_gtest_data_func);
       g_test_add_data_func ("/Unit/Scope/Signal/SearchChanged", NULL, _unity_test_scope_suite_test_search_changed_gtest_data_func);
       g_test_add_data_func ("/Unit/Scope/Signal/SearchKey", NULL, _unity_test_scope_suite_test_search_key_gtest_data_func);
       g_test_add_data_func ("/Unit/Scope/Signal/SearchKeyDetails", NULL, _unity_test_scope_suite_test_search_key_details_gtest_data_func);
       g_test_add_data_func ("/Unit/Scope/Signals/MultipleQueueCalls", NULL, _unity_test_scope_suite_test_multiple_queue_calls_gtest_data_func);
       g_test_add_data_func ("/Unit/Scope/Signals/Cancellable", NULL, _unity_test_scope_suite_test_cancellable_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_scope_suite_finalize ( UnityTestScopeSuite *  obj) [static]

Definition at line 856 of file test-scope-signals.c.

                                                                       {
       UnityTestScopeSuite * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TEST_TYPE_SCOPE_SUITE, UnityTestScopeSuite);
}

Here is the caller graph for this function:

Definition at line 119 of file test-scope-signals.c.

      {
       UNITY_TEST_SCOPE_SUITE_DUMMY_PROPERTY
};
static void unity_test_scope_suite_instance_init ( UnityTestScopeSuite *  self) [static]

Definition at line 851 of file test-scope-signals.c.

                                                                              {
       self->ref_count = 1;
}
UnityTestScopeSuite * unity_test_scope_suite_new ( void  )

Definition at line 223 of file test-scope-signals.c.

Here is the call graph for this function:

Here is the caller graph for this function:

gpointer unity_test_scope_suite_ref ( gpointer  instance)

Definition at line 876 of file test-scope-signals.c.

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

Here is the caller graph for this function:

static void unity_test_scope_suite_test_cancellable ( void  ) [static]

Definition at line 705 of file test-scope-signals.c.

                                                           {
       Block7Data* _data7_;
       GMainLoop* _tmp0_;
       UnityScope* _tmp1_;
       guint _tmp2_ = 0U;
       guint tid;
       gboolean _tmp3_ = FALSE;
       _data7_ = g_slice_new0 (Block7Data);
       _data7_->_ref_count_ = 1;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       _data7_->ml = _tmp0_;
       _tmp1_ = unity_scope_new ("com/canonical/Scope/Test");
       _data7_->scope = _tmp1_;
       _vala_assert (_data7_->scope != NULL, "scope != null");
       unity_scope_set_view_type_internal (_data7_->scope, UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW);
       _data7_->canc = NULL;
       g_signal_connect_data (_data7_->scope, "search-changed", (GCallback) ___lambda15__unity_scope_search_changed, block7_data_ref (_data7_), (GClosureNotify) block7_data_unref, 0);
       unity_scope_queue_search_changed (_data7_->scope, UNITY_SEARCH_TYPE_DEFAULT);
       _tmp2_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda16__gsource_func, NULL, NULL);
       tid = _tmp2_;
       g_main_loop_run (_data7_->ml);
       _vala_assert (_data7_->canc != NULL, "canc != null");
       _tmp3_ = g_cancellable_is_cancelled (_data7_->canc);
       _vala_assert (_tmp3_ == TRUE, "canc.is_cancelled () == true");
       g_source_remove (tid);
       block7_data_unref (_data7_);
       _data7_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_test_scope_suite_test_multiple_queue_calls ( void  ) [static]

Definition at line 607 of file test-scope-signals.c.

                                                                    {
       Block6Data* _data6_;
       GMainLoop* _tmp0_;
       UnityScope* _tmp1_;
       UnityScope* scope;
       _data6_ = g_slice_new0 (Block6Data);
       _data6_->_ref_count_ = 1;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       _data6_->ml = _tmp0_;
       _tmp1_ = unity_scope_new ("com/canonical/Scope/Test");
       scope = _tmp1_;
       _vala_assert (scope != NULL, "scope != null");
       unity_scope_set_view_type_internal (scope, UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW);
       _data6_->num_changed = 0;
       g_signal_connect_data (scope, "search-changed", (GCallback) ___lambda13__unity_scope_search_changed, block6_data_ref (_data6_), (GClosureNotify) block6_data_unref, 0);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_DEFAULT);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_GLOBAL);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_DEFAULT);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_GLOBAL);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_DEFAULT);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_GLOBAL);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_DEFAULT);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_DEFAULT);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_GLOBAL);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_GLOBAL);
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda14__gsource_func, block6_data_ref (_data6_), block6_data_unref);
       g_main_loop_run (_data6_->ml);
       _vala_assert (_data6_->num_changed == 1, "num_changed == 1");
       _g_object_unref0 (scope);
       block6_data_unref (_data6_);
       _data6_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_test_scope_suite_test_no_search_changed ( void  ) [static]

Definition at line 270 of file test-scope-signals.c.

                                                                 {
       Block2Data* _data2_;
       GMainLoop* _tmp0_;
       UnityScope* _tmp1_;
       UnityScope* scope;
       guint _tmp2_ = 0U;
       guint tid;
       _data2_ = g_slice_new0 (Block2Data);
       _data2_->_ref_count_ = 1;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       _data2_->ml = _tmp0_;
       _tmp1_ = unity_scope_new ("com/canonical/Scope/Test");
       scope = _tmp1_;
       _vala_assert (scope != NULL, "scope != null");
       _data2_->got_signal = FALSE;
       g_signal_connect_data (scope, "search-changed", (GCallback) ___lambda3__unity_scope_search_changed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_DEFAULT);
       _tmp2_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda4__gsource_func, block2_data_ref (_data2_), block2_data_unref);
       tid = _tmp2_;
       g_main_loop_run (_data2_->ml);
       _vala_assert (_data2_->got_signal == FALSE, "got_signal == false");
       g_source_remove (tid);
       _g_object_unref0 (scope);
       block2_data_unref (_data2_);
       _data2_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_test_scope_suite_test_search_changed ( void  ) [static]

Definition at line 339 of file test-scope-signals.c.

                                                              {
       Block3Data* _data3_;
       GMainLoop* _tmp0_;
       UnityScope* _tmp1_;
       UnityScope* scope;
       guint _tmp2_ = 0U;
       guint tid;
       _data3_ = g_slice_new0 (Block3Data);
       _data3_->_ref_count_ = 1;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       _data3_->ml = _tmp0_;
       _tmp1_ = unity_scope_new ("com/canonical/Scope/Test");
       scope = _tmp1_;
       _vala_assert (scope != NULL, "scope != null");
       unity_scope_set_view_type_internal (scope, UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW);
       _data3_->got_signal = FALSE;
       g_signal_connect_data (scope, "search-changed", (GCallback) ___lambda5__unity_scope_search_changed, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_DEFAULT);
       _tmp2_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda6__gsource_func, NULL, NULL);
       tid = _tmp2_;
       g_main_loop_run (_data3_->ml);
       _vala_assert (_data3_->got_signal == TRUE, "got_signal == true");
       g_source_remove (tid);
       _g_object_unref0 (scope);
       block3_data_unref (_data3_);
       _data3_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_test_scope_suite_test_search_key ( void  ) [static]

Definition at line 429 of file test-scope-signals.c.

                                                          {
       Block4Data* _data4_;
       GMainLoop* _tmp0_;
       UnityScope* _tmp1_;
       UnityScope* scope;
       guint _tmp2_ = 0U;
       guint tid;
       _data4_ = g_slice_new0 (Block4Data);
       _data4_->_ref_count_ = 1;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       _data4_->ml = _tmp0_;
       _tmp1_ = unity_scope_new ("com/canonical/Scope/Test");
       scope = _tmp1_;
       _vala_assert (scope != NULL, "scope != null");
       unity_scope_set_view_type_internal (scope, UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW);
       _data4_->got_changed_signal = FALSE;
       g_signal_connect_data (scope, "search-changed", (GCallback) ___lambda7__unity_scope_search_changed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
       _data4_->got_gen_signal = FALSE;
       g_signal_connect_data (scope, "generate-search-key", (GCallback) ___lambda8__unity_scope_generate_search_key, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
       unity_scope_queue_search_changed (scope, UNITY_SEARCH_TYPE_DEFAULT);
       _tmp2_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda9__gsource_func, NULL, NULL);
       tid = _tmp2_;
       g_main_loop_run (_data4_->ml);
       _vala_assert (_data4_->got_changed_signal == TRUE, "got_changed_signal == true");
       _vala_assert (_data4_->got_gen_signal == TRUE, "got_gen_signal == true");
       g_source_remove (tid);
       _g_object_unref0 (scope);
       block4_data_unref (_data4_);
       _data4_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_test_scope_suite_test_search_key_details ( void  ) [static]

Definition at line 533 of file test-scope-signals.c.

                                                                  {
       Block5Data* _data5_;
       GMainLoop* _tmp0_;
       UnityScope* _tmp1_;
       guint _tmp2_ = 0U;
       guint tid;
       _data5_ = g_slice_new0 (Block5Data);
       _data5_->_ref_count_ = 1;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       _data5_->ml = _tmp0_;
       _tmp1_ = unity_scope_new ("com/canonical/Scope/Test");
       _data5_->scope = _tmp1_;
       _vala_assert (_data5_->scope != NULL, "scope != null");
       unity_scope_set_view_type_internal (_data5_->scope, UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW);
       _data5_->num_changed_signals = 0;
       _data5_->num_gen_signals = 0;
       g_signal_connect_data (_data5_->scope, "search-changed", (GCallback) ___lambda10__unity_scope_search_changed, block5_data_ref (_data5_), (GClosureNotify) block5_data_unref, 0);
       g_signal_connect_data (_data5_->scope, "generate-search-key::default", (GCallback) ___lambda11__unity_scope_generate_search_key, block5_data_ref (_data5_), (GClosureNotify) block5_data_unref, 0);
       unity_scope_queue_search_changed (_data5_->scope, UNITY_SEARCH_TYPE_DEFAULT);
       unity_scope_queue_search_changed (_data5_->scope, UNITY_SEARCH_TYPE_GLOBAL);
       _tmp2_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda12__gsource_func, NULL, NULL);
       tid = _tmp2_;
       g_main_loop_run (_data5_->ml);
       _vala_assert (_data5_->num_changed_signals == 2, "num_changed_signals == 2");
       _vala_assert (_data5_->num_gen_signals == 1, "num_gen_signals == 1");
       g_source_remove (tid);
       block5_data_unref (_data5_);
       _data5_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_test_scope_suite_unref ( gpointer  instance)

Definition at line 884 of file test-scope-signals.c.

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

Here is the caller graph for this function:

gpointer unity_test_value_get_scope_suite ( const GValue *  value)

Definition at line 804 of file test-scope-signals.c.

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

Definition at line 761 of file test-scope-signals.c.

                                                                                                                                                   {
       if (collect_values[0].v_pointer) {
              UnityTestScopeSuite* 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_scope_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_scope_suite_copy_value ( const GValue *  src_value,
GValue *  dest_value 
) [static]

Definition at line 747 of file test-scope-signals.c.

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

Definition at line 740 of file test-scope-signals.c.

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

Here is the call graph for this function:

static void unity_test_value_scope_suite_init ( GValue *  value) [static]

Definition at line 735 of file test-scope-signals.c.

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

Definition at line 778 of file test-scope-signals.c.

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

Here is the call graph for this function:

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

Definition at line 756 of file test-scope-signals.c.

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

Definition at line 810 of file test-scope-signals.c.

                                                                         {
       UnityTestScopeSuite* old;
       g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TEST_TYPE_SCOPE_SUITE));
       old = value->data[0].v_pointer;
       if (v_object) {
              g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, UNITY_TEST_TYPE_SCOPE_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_scope_suite_ref (value->data[0].v_pointer);
       } else {
              value->data[0].v_pointer = NULL;
       }
       if (old) {
              unity_test_scope_suite_unref (old);
       }
}

Here is the call graph for this function:

void unity_test_value_take_scope_suite ( GValue *  value,
gpointer  v_object 
)

Definition at line 828 of file test-scope-signals.c.

                                                                          {
       UnityTestScopeSuite* old;
       g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TEST_TYPE_SCOPE_SUITE));
       old = value->data[0].v_pointer;
       if (v_object) {
              g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, UNITY_TEST_TYPE_SCOPE_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_scope_suite_unref (old);
       }
}

Here is the call graph for this function:


Variable Documentation

gpointer unity_test_scope_suite_parent_class = NULL [static]

Definition at line 111 of file test-scope-signals.c.