<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-Assertions-with-GLib-support">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-Assertions-with-GLib-support.top_of_page">Assertions with GLib support</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  CUTTER Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Assertions with GLib support</refname>
<refpurpose>Checks that your program works as you
expect with GLib support.</refpurpose>
</refnamediv>

<refsect1 id="cutter-Assertions-with-GLib-support.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-type">gcut_assert_equal_type</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-g-type">cut_assert_equal_g_type</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-value">gcut_assert_equal_value</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-g-value">cut_assert_equal_g_value</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-list">gcut_assert_equal_list</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-list-int">gcut_assert_equal_list_int</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-g-list-int">cut_assert_equal_g_list_int</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-list-uint">gcut_assert_equal_list_uint</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-list-string">gcut_assert_equal_list_string</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-equal-g-list-string">cut_assert_equal_g_list_string</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-list-object">gcut_assert_equal_list_object</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-list-object-custom">gcut_assert_equal_list_object_custom</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-list-enum">gcut_assert_equal_list_enum</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-list-flags">gcut_assert_equal_list_flags</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-hash-table">gcut_assert_equal_hash_table</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-hash-table-string-string">gcut_assert_equal_hash_table_string_string</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-error">gcut_assert_error</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-g-error">cut_assert_g_error</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-error">gcut_assert_equal_error</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-remove-path">gcut_assert_remove_path</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="cut-assert-remove-path">cut_assert_remove_path</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-time-val">gcut_assert_equal_time_val</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-enum">gcut_assert_equal_enum</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-flags">gcut_assert_equal_flags</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-object">gcut_assert_equal_object</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-object-custom">gcut_assert_equal_object_custom</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-int64">gcut_assert_equal_int64</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-not-equal-int64">gcut_assert_not_equal_int64</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-uint64">gcut_assert_equal_uint64</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-not-equal-uint64">gcut_assert_not_equal_uint64</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-pid">gcut_assert_equal_pid</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-not-equal-pid">gcut_assert_not_equal_pid</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-assert-equal-string">gcut_assert_equal_string</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="cutter-Assertions-with-GLib-support.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>
</screen>
</refsect1>


<refsect1 id="cutter-Assertions-with-GLib-support.description" role="desc">
<title role="desc.title">Description</title>

</refsect1>
<refsect1 id="cutter-Assertions-with-GLib-support.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gcut-assert-equal-type" role="function" condition="since:1.0.3">
<title>gcut_assert_equal_type&#160;()</title>
<indexterm zone="gcut-assert-equal-type" role="1.0.3"><primary>gcut_assert_equal_type</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_type (<parameter><link linkend="GType"><type>GType</type></link> expected</parameter>,
                        <parameter><link linkend="GType"><type>GType</type></link> actual</parameter>,
                        <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.3</para></refsect2>
<refsect2 id="cut-assert-equal-g-type" role="function" condition="deprecated:1.0.3: Use gcut_assert_equal_type() instead.">
<title>cut_assert_equal_g_type&#160;()</title>
<indexterm zone="cut-assert-equal-g-type" role="deprecated"><primary>cut_assert_equal_g_type</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_g_type (<parameter><link linkend="GType"><type>GType</type></link> expected</parameter>,
                         <parameter><link linkend="GType"><type>GType</type></link> actual</parameter>,
                         <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_equal_g_type</literal> has been deprecated since version 1.0.3 and should not be used in newly-written code.</para> <para>Use <link linkend="gcut-assert-equal-type"><function>gcut_assert_equal_type()</function></link> instead.</para>
</warning>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gcut-assert-equal-value" role="function" condition="since:1.0.3">
<title>gcut_assert_equal_value&#160;()</title>
<indexterm zone="gcut-assert-equal-value" role="1.0.3"><primary>gcut_assert_equal_value</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_value (<parameter><link linkend="GValue"><type>GValue</type></link> *expected</parameter>,
                         <parameter><link linkend="GValue"><type>GValue</type></link> *actual</parameter>,
                         <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.3</para></refsect2>
<refsect2 id="cut-assert-equal-g-value" role="function" condition="deprecated:1.0.3: Use gcut_assert_equal_value() instead.">
<title>cut_assert_equal_g_value&#160;()</title>
<indexterm zone="cut-assert-equal-g-value" role="deprecated"><primary>cut_assert_equal_g_value</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_g_value (<parameter><link linkend="GValue"><type>GValue</type></link> *expected</parameter>,
                          <parameter><link linkend="GValue"><type>GValue</type></link> *actual</parameter>,
                          <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_equal_g_value</literal> has been deprecated since version 1.0.3 and should not be used in newly-written code.</para> <para>Use <link linkend="gcut-assert-equal-value"><function>gcut_assert_equal_value()</function></link> instead.</para>
</warning>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gcut-assert-equal-list" role="function" condition="since:1.0.6">
<title>gcut_assert_equal_list&#160;()</title>
<indexterm zone="gcut-assert-equal-list" role="1.0.6"><primary>gcut_assert_equal_list</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_list (<parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                        <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                        <parameter><link linkend="GEqualFunc"><type>GEqualFunc</type></link> equal_function</parameter>,
                        <parameter><link linkend="GCutInspectFunction"><type>GCutInspectFunction</type></link> inspect_function</parameter>,
                        <parameter><link linkend="gpointer"><type>gpointer</type></link> inspect_user_data</parameter>,
                        <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>equal_function</parameter>
(<parameter>expected</parameter>
, <parameter>actual</parameter>
) == <link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link>.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>equal_function</para></entry>
<entry role="parameter_description"><para>a function that compares each elements of
<parameter>expected</parameter>
and <parameter>actual</parameter>
list.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>inspect_function</para></entry>
<entry role="parameter_description"><para>a function that inspected <parameter>expected</parameter>
and <parameter>actual</parameter>
list.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>inspect_user_data</para></entry>
<entry role="parameter_description"><para>a data to be passed to <parameter>inspect_function</parameter>
.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.6</para></refsect2>
<refsect2 id="gcut-assert-equal-list-int" role="function" condition="since:1.0.3">
<title>gcut_assert_equal_list_int&#160;()</title>
<indexterm zone="gcut-assert-equal-list-int" role="1.0.3"><primary>gcut_assert_equal_list_int</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_list_int (<parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                            <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                            <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of integer.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of integer.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.3</para></refsect2>
<refsect2 id="cut-assert-equal-g-list-int" role="function" condition="deprecated:1.0.3: Use gcut_assert_equal_list_int() instead.|since:0.8">
<title>cut_assert_equal_g_list_int&#160;()</title>
<indexterm zone="cut-assert-equal-g-list-int" role="deprecated"><primary>cut_assert_equal_g_list_int</primary></indexterm><indexterm zone="cut-assert-equal-g-list-int" role="0.8"><primary>cut_assert_equal_g_list_int</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_g_list_int (<parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                             <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                             <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_equal_g_list_int</literal> has been deprecated since version 1.0.3 and should not be used in newly-written code.</para> <para>Use <link linkend="gcut-assert-equal-list-int"><function>gcut_assert_equal_list_int()</function></link> instead.</para>
</warning>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of integer.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of integer.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 0.8</para></refsect2>
<refsect2 id="gcut-assert-equal-list-uint" role="function" condition="since:1.0.3">
<title>gcut_assert_equal_list_uint&#160;()</title>
<indexterm zone="gcut-assert-equal-list-uint" role="1.0.3"><primary>gcut_assert_equal_list_uint</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_list_uint (<parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                             <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                             <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of unsigned integer.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of unsigned integer.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.3</para></refsect2>
<refsect2 id="gcut-assert-equal-list-string" role="function" condition="since:1.0.3">
<title>gcut_assert_equal_list_string&#160;()</title>
<indexterm zone="gcut-assert-equal-list-string" role="1.0.3"><primary>gcut_assert_equal_list_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_list_string (<parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                               <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                               <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.3</para></refsect2>
<refsect2 id="cut-assert-equal-g-list-string" role="function" condition="deprecated:1.0.3: Use gcut_assert_equal_list_string() instead.|since:0.8">
<title>cut_assert_equal_g_list_string&#160;()</title>
<indexterm zone="cut-assert-equal-g-list-string" role="deprecated"><primary>cut_assert_equal_g_list_string</primary></indexterm><indexterm zone="cut-assert-equal-g-list-string" role="0.8"><primary>cut_assert_equal_g_list_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_equal_g_list_string (<parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                                <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                                <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_equal_g_list_string</literal> has been deprecated since version 1.0.3 and should not be used in newly-written code.</para> <para>Use <link linkend="gcut-assert-equal-list-string"><function>gcut_assert_equal_list_string()</function></link> instead.</para>
</warning>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 0.8</para></refsect2>
<refsect2 id="gcut-assert-equal-list-object" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_list_object&#160;()</title>
<indexterm zone="gcut-assert-equal-list-object" role="1.0.5"><primary>gcut_assert_equal_list_object</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_list_object (<parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                               <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                               <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 and <parameter>actual</parameter>
 has same GObject * in
same order.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of <link linkend="GObject"><type>GObject</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of <link linkend="GObject"><type>GObject</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-equal-list-object-custom" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_list_object_custom&#160;()</title>
<indexterm zone="gcut-assert-equal-list-object-custom" role="1.0.5"><primary>gcut_assert_equal_list_object_custom</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_list_object_custom (<parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                                      <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                                      <parameter><link linkend="GEqualFunc"><type>GEqualFunc</type></link> equal_function</parameter>,
                                      <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 and <parameter>actual</parameter>
 has same <link linkend="GObject"><type>GObject</type></link> in same
order. Each comparison of <link linkend="GObject"><type>GObject</type></link> uses <parameter>equal_function</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of <link linkend="GObject"><type>GObject</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of <link linkend="GObject"><type>GObject</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>equal_function</para></entry>
<entry role="parameter_description"><para>a function that compares two <link linkend="GObject"><type>GObject</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-equal-list-enum" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_list_enum&#160;()</title>
<indexterm zone="gcut-assert-equal-list-enum" role="1.0.5"><primary>gcut_assert_equal_list_enum</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_list_enum (<parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
                             <parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                             <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                             <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 and <parameter>actual</parameter>
 has same enum values in
same order.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>type</para></entry>
<entry role="parameter_description"><para>a <link linkend="GEnum"><type>GEnum</type></link> type.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of enum value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of enum value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-equal-list-flags" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_list_flags&#160;()</title>
<indexterm zone="gcut-assert-equal-list-flags" role="1.0.5"><primary>gcut_assert_equal_list_flags</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_list_flags (<parameter><link linkend="GType"><type>GType</type></link> type</parameter>,
                              <parameter><link linkend="GList"><type>GList</type></link> *expected</parameter>,
                              <parameter><link linkend="GList"><type>GList</type></link> *actual</parameter>,
                              <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 and <parameter>actual</parameter>
 has same flags values in
same order.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>type</para></entry>
<entry role="parameter_description"><para>a <link linkend="GFlags"><type>GFlags</type></link> type.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected list of flags value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual list of flags value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-equal-hash-table" role="function" condition="since:1.0.6">
<title>gcut_assert_equal_hash_table&#160;()</title>
<indexterm zone="gcut-assert-equal-hash-table" role="1.0.6"><primary>gcut_assert_equal_hash_table</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_hash_table (<parameter><link linkend="GHashTable"><type>GHashTable</type></link> *expected</parameter>,
                              <parameter><link linkend="GHashTable"><type>GHashTable</type></link> *actual</parameter>,
                              <parameter><link linkend="GEqualFunc"><type>GEqualFunc</type></link> equal_function</parameter>,
                              <parameter><link linkend="GCutInspectFunction"><type>GCutInspectFunction</type></link> key_inspect_function</parameter>,
                              <parameter><link linkend="GCutInspectFunction"><type>GCutInspectFunction</type></link> value_inspect_function</parameter>,
                              <parameter><link linkend="gpointer"><type>gpointer</type></link> inspect_user_data</parameter>,
                              <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected <link linkend="GHashTable"><type>GHashTable</type></link> of string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual <link linkend="GHashTable"><type>GHashTable</type></link> of string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>equal_function</para></entry>
<entry role="parameter_description"><para>a function that compares each values of
<parameter>expected</parameter>
and <parameter>actual</parameter>
hash table.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>key_inspect_function</para></entry>
<entry role="parameter_description"><para>a function that inspected a key of
<parameter>expected</parameter>
and <parameter>actual</parameter>
hash table.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>value_inspect_function</para></entry>
<entry role="parameter_description"><para>a function that inspected a value of
<parameter>expected</parameter>
and <parameter>actual</parameter>
hash table.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>inspect_user_data</para></entry>
<entry role="parameter_description"><para>a data to be passed to <parameter>inspect_function</parameter>
.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.6</para></refsect2>
<refsect2 id="gcut-assert-equal-hash-table-string-string" role="function" condition="since:1.0.4">
<title>gcut_assert_equal_hash_table_string_string&#160;()</title>
<indexterm zone="gcut-assert-equal-hash-table-string-string" role="1.0.4"><primary>gcut_assert_equal_hash_table_string_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_hash_table_string_string
                               (<parameter><link linkend="GHashTable"><type>GHashTable</type></link> *expected</parameter>,
                                <parameter><link linkend="GHashTable"><type>GHashTable</type></link> *actual</parameter>,
                                <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected <link linkend="GHashTable"><type>GHashTable</type></link> of string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual <link linkend="GHashTable"><type>GHashTable</type></link> of string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.4</para></refsect2>
<refsect2 id="gcut-assert-error" role="function" condition="since:1.0.3">
<title>gcut_assert_error&#160;()</title>
<indexterm zone="gcut-assert-error" role="1.0.3"><primary>gcut_assert_error</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_error (<parameter><link linkend="GError"><type>GError</type></link> *error</parameter>,
                   <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>error</parameter>
 == <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>error</para></entry>
<entry role="parameter_description"><para>a target <link linkend="GError"><type>GError</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.3</para></refsect2>
<refsect2 id="cut-assert-g-error" role="function" condition="deprecated:1.0.3: Use gcut_assert_error() instead.|since:1.0">
<title>cut_assert_g_error&#160;()</title>
<indexterm zone="cut-assert-g-error" role="deprecated"><primary>cut_assert_g_error</primary></indexterm><indexterm zone="cut-assert-g-error" role="1.0"><primary>cut_assert_g_error</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_g_error (<parameter><link linkend="GError"><type>GError</type></link> *error</parameter>,
                    <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_g_error</literal> has been deprecated since version 1.0.3 and should not be used in newly-written code.</para> <para>Use <link linkend="gcut-assert-error"><function>gcut_assert_error()</function></link> instead.</para>
</warning>
<para>Passes if <parameter>error</parameter>
 == <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>error</para></entry>
<entry role="parameter_description"><para>a target <link linkend="GError"><type>GError</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0</para></refsect2>
<refsect2 id="gcut-assert-equal-error" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_error&#160;()</title>
<indexterm zone="gcut-assert-equal-error" role="1.0.5"><primary>gcut_assert_equal_error</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_error (<parameter><link linkend="GError"><type>GError</type></link> *expected</parameter>,
                         <parameter><link linkend="GError"><type>GError</type></link> *actual</parameter>,
                         <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-remove-path" role="function" condition="since:1.0.3">
<title>gcut_assert_remove_path&#160;()</title>
<indexterm zone="gcut-assert-remove-path" role="1.0.3"><primary>gcut_assert_remove_path</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_remove_path (<parameter>const <link linkend="gchar"><type>gchar</type></link> *path</parameter>,
                         <parameter>...</parameter>);</programlisting>
<para>Passes if cut_utils_build_path(<parameter>path</parameter>
, ...) is removed successfully.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>a first element of the path to the removed path.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>remaining elements in path. NULL terminated.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.3</para></refsect2>
<refsect2 id="cut-assert-remove-path" role="function" condition="deprecated:1.0.3: Use gcut_assert_remove_path() instead.|since:1.0.2">
<title>cut_assert_remove_path&#160;()</title>
<indexterm zone="cut-assert-remove-path" role="deprecated"><primary>cut_assert_remove_path</primary></indexterm><indexterm zone="cut-assert-remove-path" role="1.0.2"><primary>cut_assert_remove_path</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
cut_assert_remove_path (<parameter>const <link linkend="gchar"><type>gchar</type></link> *path</parameter>,
                        <parameter>...</parameter>);</programlisting>
<warning><para><literal>cut_assert_remove_path</literal> has been deprecated since version 1.0.3 and should not be used in newly-written code.</para> <para>Use <link linkend="gcut-assert-remove-path"><function>gcut_assert_remove_path()</function></link> instead.</para>
</warning>
<para>Passes if cut_utils_build_path(<parameter>path</parameter>
, ...) is removed successfully.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>path</para></entry>
<entry role="parameter_description"><para>a first element of the path to the removed path.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>remaining elements in path. NULL terminated.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.2</para></refsect2>
<refsect2 id="gcut-assert-equal-time-val" role="function" condition="since:1.0.4">
<title>gcut_assert_equal_time_val&#160;()</title>
<indexterm zone="gcut-assert-equal-time-val" role="1.0.4"><primary>gcut_assert_equal_time_val</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_time_val (<parameter><link linkend="GTimeVal"><type>GTimeVal</type></link> expected</parameter>,
                            <parameter><link linkend="GTimeVal"><type>GTimeVal</type></link> actual</parameter>,
                            <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.4</para></refsect2>
<refsect2 id="gcut-assert-equal-enum" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_enum&#160;()</title>
<indexterm zone="gcut-assert-equal-enum" role="1.0.5"><primary>gcut_assert_equal_enum</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_enum (<parameter><link linkend="GType"><type>GType</type></link> enum_type</parameter>,
                        <parameter><link linkend="gint"><type>gint</type></link> expected</parameter>,
                        <parameter><link linkend="gint"><type>gint</type></link> actual</parameter>,
                        <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gcut_assert_equal_enum(GTK_TYPE_DIRECTION_TYPE,
                          GTK_DIR_LEFT, GTK_DIR_LEFT); -> Pass
gcut_assert_equal_enum(GTK_TYPE_DIRECTION_TYPE,
                          GTK_DIR_DOWN, GTK_DIR_LEFT); -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>enum_type</para></entry>
<entry role="parameter_description"><para>a <link linkend="GEnum"><type>GEnum</type></link> type.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-equal-flags" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_flags&#160;()</title>
<indexterm zone="gcut-assert-equal-flags" role="1.0.5"><primary>gcut_assert_equal_flags</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_flags (<parameter><link linkend="GType"><type>GType</type></link> flags_type</parameter>,
                         <parameter><link linkend="guint"><type>guint</type></link> expected</parameter>,
                         <parameter><link linkend="guint"><type>guint</type></link> actual</parameter>,
                         <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gcut_assert_equal_flags(GTK_TYPE_DIALOG_FLAGS,
                        GTK_DIALOG_DESTROY_MODAL |
                          GTK_DIALOG_DESTROY_WITH_PARENT,
                        GTK_DIALOG_DESTROY_MODAL |
                          GTK_DIALOG_DESTROY_WITH_PARENT); -> Pass
gcut_assert_equal_flags(GTK_TYPE_DIALOG_FLAGS,
                        GTK_DIALOG_DESTROY_MODAL |
                          GTK_DIALOG_DESTROY_WITH_PARENT,
                        GTK_DIALOG_DESTROY_MODAL); -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>flags_type</para></entry>
<entry role="parameter_description"><para>a <link linkend="GFlags"><type>GFlags</type></link> type.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-equal-object" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_object&#160;()</title>
<indexterm zone="gcut-assert-equal-object" role="1.0.5"><primary>gcut_assert_equal_object</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_object (<parameter><link linkend="GObject"><type>GObject</type></link> *expected</parameter>,
                          <parameter><link linkend="GObject"><type>GObject</type></link> *actual</parameter>,
                          <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
. See
<link linkend="gcut-assert-equal-object-custom"><function>gcut_assert_equal_object_custom()</function></link> when you need to customize
equality check.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gcut_assert_equal_object(object, object);   -> Pass
gcut_assert_equal_object(object1, object2); -> Fail
gcut_assert_equal_object(NULL, NULL);       -> Pass
gcut_assert_equal_object(object1, NULL);    -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-equal-object-custom" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_object_custom&#160;()</title>
<indexterm zone="gcut-assert-equal-object-custom" role="1.0.5"><primary>gcut_assert_equal_object_custom</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_object_custom (<parameter><link linkend="GObject"><type>GObject</type></link> *expected</parameter>,
                                 <parameter><link linkend="GObject"><type>GObject</type></link> *actual</parameter>,
                                 <parameter><link linkend="GEqualFunc"><type>GEqualFunc</type></link> equal_function</parameter>,
                                 <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>equal_function</parameter>
(<parameter>expected</parameter>
, <parameter>actual</parameter>
) == <link linkend="CUT-TRUE:CAPS"><literal>CUT_TRUE</literal></link>.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
static gboolean
equal_name (gconstpointer data1, gconstpointer data2)
{
    return g_str_equal(my_object_get_name(MY_OBJECT(data1)),
                       my_object_get_name(MY_OBJECT(data2)));
}

gcut_assert_equal_object_custom(object, object, equal_name);   -> Pass
gcut_assert_equal_object_custom(same_name_object1,
                                same_name_object2,
                                equal_name);                   -> Pass
gcut_assert_equal_object_custom(different_name_object1,
                                different_name_object2,
                                equal_name);                   -> Fail
]]></programlisting></informalexample>
<para></para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>equal_function</para></entry>
<entry role="parameter_description"><para>a function that compare two objects.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-equal-int64" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_int64&#160;()</title>
<indexterm zone="gcut-assert-equal-int64" role="1.0.5"><primary>gcut_assert_equal_int64</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_int64 (<parameter><link linkend="gint64"><type>gint64</type></link> expected</parameter>,
                         <parameter><link linkend="gint64"><type>gint64</type></link> actual</parameter>,
                         <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-not-equal-int64" role="function" condition="since:1.1.4">
<title>gcut_assert_not_equal_int64&#160;()</title>
<indexterm zone="gcut-assert-not-equal-int64" role="1.1.4"><primary>gcut_assert_not_equal_int64</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_not_equal_int64 (<parameter><link linkend="gint64"><type>gint64</type></link> expected</parameter>,
                             <parameter><link linkend="gint64"><type>gint64</type></link> actual</parameter>,
                             <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.1.4</para></refsect2>
<refsect2 id="gcut-assert-equal-uint64" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_uint64&#160;()</title>
<indexterm zone="gcut-assert-equal-uint64" role="1.0.5"><primary>gcut_assert_equal_uint64</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_uint64 (<parameter><link linkend="guint64"><type>guint64</type></link> expected</parameter>,
                          <parameter><link linkend="guint64"><type>guint64</type></link> actual</parameter>,
                          <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.5</para></refsect2>
<refsect2 id="gcut-assert-not-equal-uint64" role="function" condition="since:1.1.4">
<title>gcut_assert_not_equal_uint64&#160;()</title>
<indexterm zone="gcut-assert-not-equal-uint64" role="1.1.4"><primary>gcut_assert_not_equal_uint64</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_not_equal_uint64 (<parameter><link linkend="guint64"><type>guint64</type></link> expected</parameter>,
                              <parameter><link linkend="guint64"><type>guint64</type></link> actual</parameter>,
                              <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.1.4</para></refsect2>
<refsect2 id="gcut-assert-equal-pid" role="function" condition="since:1.0.6">
<title>gcut_assert_equal_pid&#160;()</title>
<indexterm zone="gcut-assert-equal-pid" role="1.0.6"><primary>gcut_assert_equal_pid</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_pid (<parameter><link linkend="GPid"><type>GPid</type></link> expected</parameter>,
                       <parameter><link linkend="GPid"><type>GPid</type></link> actual</parameter>,
                       <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.6</para></refsect2>
<refsect2 id="gcut-assert-not-equal-pid" role="function" condition="since:1.0.7">
<title>gcut_assert_not_equal_pid&#160;()</title>
<indexterm zone="gcut-assert-not-equal-pid" role="1.0.7"><primary>gcut_assert_not_equal_pid</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_not_equal_pid (<parameter><link linkend="GPid"><type>GPid</type></link> expected</parameter>,
                           <parameter><link linkend="GPid"><type>GPid</type></link> actual</parameter>,
                           <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 != <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.0.7</para></refsect2>
<refsect2 id="gcut-assert-equal-string" role="function" condition="since:1.1.5">
<title>gcut_assert_equal_string&#160;()</title>
<indexterm zone="gcut-assert-equal-string" role="1.1.5"><primary>gcut_assert_equal_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_assert_equal_string (<parameter><link linkend="GString"><type>GString</type></link> *expected</parameter>,
                          <parameter><link linkend="GString"><type>GString</type></link> *actual</parameter>,
                          <parameter>...</parameter>);</programlisting>
<para>Passes if <parameter>expected</parameter>
 == <parameter>actual</parameter>
.</para>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>an expected value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>an actual value.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>optional message. See <link linkend="cut-message"><function>cut_message()</function></link> for details.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since 1.1.5</para></refsect2>

</refsect1>
<refsect1 id="cutter-Assertions-with-GLib-support.other_details" role="details">
<title role="details.title">Types and Values</title>

</refsect1>

</refentry>
