/usr/include/cutter/gcutter/gcut-assertions-helper.h is in cutter-glib-support 1.1.7-1.2ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2008-2010 Kouhei Sutou <kou@clear-code.com>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef __GCUT_ASSERTIONS_HELPER_H__
#define __GCUT_ASSERTIONS_HELPER_H__
#include <glib.h>
#include <cutter.h>
#include <gcutter/gcut-value-equal.h>
#include <gcutter/gcut-list.h>
#include <gcutter/gcut-hash-table.h>
#include <gcutter/gcut-public.h>
#include <gcutter/gcut-test-utils.h>
#include <gcutter/gcut-error.h>
#include <gcutter/gcut-enum.h>
#include <gcutter/gcut-object.h>
#include <gcutter/gcut-egg.h>
#include <gcutter/gcut-process.h>
#include <gcutter/gcut-string.h>
#include <gcutter/gcut-io.h>
#include <gcutter/gcut-key-file.h>
#include <gcutter/gcut-inspect.h>
#include <gcutter/gcut-data.h>
G_BEGIN_DECLS
void gcut_assert_equal_type_helper (GType expected,
GType actual,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_value_helper (GValue *expected,
GValue *actual,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_list_helper (const GList *expected,
const GList *actual,
GEqualFunc equal_function,
GCutInspectFunction inspect_function,
gpointer inspect_user_data,
const gchar *expression_expected,
const gchar *expression_actual,
const gchar *expression_equal_function);
void gcut_assert_equal_list_int_helper (const GList *expected,
const GList *actual,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_list_uint_helper(const GList *expected,
const GList *actual,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_list_string_helper
(const GList *expected,
const GList *actual,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_list_enum_helper
(GType type,
const GList *expected,
const GList *actual,
const gchar *expression_type,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_list_flags_helper
(GType type,
const GList *expected,
const GList *actual,
const gchar *expression_type,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_list_object_helper
(const GList *expected,
const GList *actual,
GEqualFunc equal_function,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_hash_table_helper
(GHashTable *expected,
GHashTable *actual,
GEqualFunc equal_function,
GCutInspectFunction key_inspect_function,
GCutInspectFunction value_inspect_function,
gpointer inspect_user_data,
const gchar *expression_expected,
const gchar *expression_actual,
const gchar *expression_equal_function);
void gcut_assert_equal_hash_table_string_string_helper
(GHashTable *expected,
GHashTable *actual,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_error_helper (GError *error,
const gchar *expression_error);
void gcut_assert_equal_error_helper (const GError *expected,
const GError *actual,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_remove_path_helper (const gchar *path,
...) G_GNUC_NULL_TERMINATED;
void gcut_assert_equal_time_val_helper (GTimeVal *expected,
GTimeVal *actual,
const gchar *expression_expected,
const gchar *actual_expected);
void gcut_assert_equal_enum_helper (GType enum_type,
gint expected,
gint actual,
const gchar *expression_enum_type,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_flags_helper (GType flags_type,
gint expected,
gint actual,
const gchar *expression_flags_type,
const gchar *expression_expected,
const gchar *expression_actual);
void gcut_assert_equal_object_helper (GObject *expected,
GObject *actual,
GEqualFunc equal_function,
const gchar *expression_expected,
const gchar *expression_actual,
const gchar *expression_equal_function);
void gcut_assert_equal_int64_helper (gint64 expected,
gint64 actual,
const char *expression_expected,
const char *expression_actual);
void gcut_assert_not_equal_int64_helper(gint64 expected,
gint64 actual,
const char *expression_expected,
const char *expression_actual);
void gcut_assert_equal_uint64_helper (guint64 expected,
guint64 actual,
const char *expression_expected,
const char *expression_actual);
void gcut_assert_not_equal_uint64_helper
(guint64 expected,
guint64 actual,
const char *expression_expected,
const char *expression_actual);
void gcut_assert_equal_pid_helper (GPid expected,
GPid actual,
const char *expression_expected,
const char *expression_actual);
void gcut_assert_not_equal_pid_helper (GPid expected,
GPid actual,
const char *expression_expected,
const char *expression_actual);
void gcut_assert_equal_string_helper
(const GString *expected,
const GString *actual,
const gchar *expression_expected,
const gchar *expression_actual);
G_END_DECLS
#endif /* __GCUT_ASSERTIONS_HELPER_H__ */
/*
vi:nowrap:ai:expandtab:sw=4:ts=4
*/
|