<?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">GLibサポート付きの検証</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>Cutterライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GLibサポート付きの検証</refname>
<refpurpose>GLibサポート付きであなたのプログラムが期待通りに動作しているかを検証します。</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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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> <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">オブジェクト階層</title>
<screen>
</screen>
</refsect1>


<refsect1 id="cutter-Assertions-with-GLib-support.description" role="desc">
<title role="desc.title">説明</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 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gcut-assert-equal-value" role="function" condition="since:1.0.3">
<title>gcut_assert_equal_value ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gcut-assert-equal-list" role="function" condition="since:1.0.6">
<title>gcut_assert_equal_list ()</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>期待するリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>equal_function</para></entry>
<entry role="parameter_description"><para><parameter>expected</parameter>リストと<parameter>actual</parameter>リストの各要素を比較する関数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>inspect_function</para></entry>
<entry role="parameter_description"><para><parameter>expected</parameter>リストと<parameter>actual</parameter>リスとの詳細を示す関数。</para></entry>
<entry role="parameter_annotations"/></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"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待する整数のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待する整数のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の整数のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待する符号無し整数のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の符号無し整数のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待する文字列のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待する文字列のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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><parameter>expected</parameter>と<parameter>actual</parameter>が同じGObject *を同じ順番で持っているときパスします。</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>期待する<link linkend="GObject"><type>GObject</type></link>のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の<link linkend="GObject"><type>GObject</type></link>のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待する<link linkend="GObject"><type>GObject</type></link>のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の<link linkend="GObject"><type>GObject</type></link>のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>equal_function</para></entry>
<entry role="parameter_description"><para>ふたつの<link linkend="GObject"><type>GObject</type></link>を比較する関数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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><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>type</para></entry>
<entry role="parameter_description"><para><link linkend="GEnum"><type>GEnum</type></link>の型。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待する列挙値のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の列挙値のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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><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>type</para></entry>
<entry role="parameter_description"><para><link linkend="GFlags"><type>GFlags</type></link>の型。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待するフラグ値のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際のフラグ値のリスト。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待する文字列の<link linkend="GHashTable"><type>GHashTable</type></link>。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の<link linkend="GHashTable"><type>GHashTable</type></link>。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>equal_function</para></entry>
<entry role="parameter_description"><para><parameter>expected</parameter>ハッシュテーブルと<parameter>actual</parameter>ハッシュテーブルのそれぞれの値を比較する関数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>key_inspect_function</para></entry>
<entry role="parameter_description"><para><parameter>expected</parameter>ハッシュテーブルと<parameter>actual</parameter>ハッシュテーブルのそれぞれのキーの詳細を示す関数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>value_inspect_function</para></entry>
<entry role="parameter_description"><para><parameter>expected</parameter>ハッシュテーブルと<parameter>actual</parameter>ハッシュテーブルのそれぞれの値の詳細を示す関数。</para></entry>
<entry role="parameter_annotations"/></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"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待する文字列の<link linkend="GHashTable"><type>GHashTable</type></link>。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実際の文字列の<link linkend="GHashTable"><type>GHashTable</type></link>。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.4から</para></refsect2>
<refsect2 id="gcut-assert-error" role="function" condition="since:1.0.3">
<title>gcut_assert_error ()</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><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>検証対象の<link linkend="GError"><type>GError</type></link>。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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><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>検証対象の<link linkend="GError"><type>GError</type></link>。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0から</para></refsect2>
<refsect2 id="gcut-assert-equal-error" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_error ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.5から</para></refsect2>
<refsect2 id="gcut-assert-remove-path" role="function" condition="since:1.0.3">
<title>gcut_assert_remove_path ()</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>削除するパスの最初の要素。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>パスの残りの要素。NULL終端。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>削除するパスの最初の要素。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>パスの残りの要素。NULL終端。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.4から</para></refsect2>
<refsect2 id="gcut-assert-equal-enum" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_enum ()</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>例:</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/>
<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><link linkend="GEnum"><type>GEnum</type></link>の型。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.5から</para></refsect2>
<refsect2 id="gcut-assert-equal-flags" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_flags ()</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>例:</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/>
<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><link linkend="GFlags"><type>GFlags</type></link>の型。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>expected</para></entry>
<entry role="parameter_description"><para>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.5から</para></refsect2>
<refsect2 id="gcut-assert-equal-object" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_object ()</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>例:</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/>
<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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>例:</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/>
<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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>equal_function</para></entry>
<entry role="parameter_description"><para>ふたつのオブジェクトを比較する関数。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.5から</para></refsect2>
<refsect2 id="gcut-assert-equal-int64" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_int64 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.4から</para></refsect2>
<refsect2 id="gcut-assert-equal-uint64" role="function" condition="since:1.0.5">
<title>gcut_assert_equal_uint64 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.4から</para></refsect2>
<refsect2 id="gcut-assert-equal-pid" role="function" condition="since:1.0.6">
<title>gcut_assert_equal_pid ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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 ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.7から</para></refsect2>
<refsect2 id="gcut-assert-equal-string" role="function" condition="since:1.1.5">
<title>gcut_assert_equal_string ()</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>期待値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>actual</para></entry>
<entry role="parameter_description"><para>実測値。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>...</para></entry>
<entry role="parameter_description"><para>追加メッセージ（省略可能）。詳細は<link linkend="cut-message"><function>cut_message()</function></link>を見てください。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="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>
