<?xml version="1.0"?>
<!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="PackageKit-egg-test">
<refmeta>
<refentrytitle role="top_of_page" id="PackageKit-egg-test.top_of_page">egg-test</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>PACKAGEKIT Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>egg-test</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="PackageKit-egg-test.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
typedef             <link linkend="EggTest">EggTest</link>;
<link linkend="gboolean">gboolean</link>            <link linkend="egg-test-start">egg_test_start</link>                      (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *name);
<link linkend="void">void</link>                <link linkend="egg-test-end">egg_test_end</link>                        (<link linkend="EggTest">EggTest</link> *test);
<link linkend="void">void</link>                <link linkend="egg-test-title">egg_test_title</link>                      (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *format,
                                                         ...);
<link linkend="void">void</link>                <link linkend="egg-test-title-assert">egg_test_title_assert</link>               (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *text,
                                                         <link linkend="gboolean">gboolean</link> value);
<link linkend="void">void</link>                <link linkend="egg-test-assert">egg_test_assert</link>                     (<link linkend="EggTest">EggTest</link> *test,
                                                         <link linkend="gboolean">gboolean</link> value);
<link linkend="void">void</link>                <link linkend="egg-test-success">egg_test_success</link>                    (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *format,
                                                         ...);
<link linkend="void">void</link>                <link linkend="egg-test-failed">egg_test_failed</link>                     (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *format,
                                                         ...);
<link linkend="EggTest">EggTest</link> *           <link linkend="egg-test-init">egg_test_init</link>                       (void);
<link linkend="gint">gint</link>                <link linkend="egg-test-finish">egg_test_finish</link>                     (<link linkend="EggTest">EggTest</link> *test);
<link linkend="guint">guint</link>               <link linkend="egg-test-elapsed">egg_test_elapsed</link>                    (<link linkend="EggTest">EggTest</link> *test);
<link linkend="void">void</link>                <link linkend="egg-test-loop-quit">egg_test_loop_quit</link>                  (<link linkend="EggTest">EggTest</link> *test);
<link linkend="void">void</link>                <link linkend="egg-test-loop-wait">egg_test_loop_wait</link>                  (<link linkend="EggTest">EggTest</link> *test,
                                                         <link linkend="guint">guint</link> timeout);
<link linkend="void">void</link>                <link linkend="egg-test-loop-check">egg_test_loop_check</link>                 (<link linkend="EggTest">EggTest</link> *test);
<link linkend="void">void</link>                <link linkend="egg-test-set-user-data">egg_test_set_user_data</link>              (<link linkend="EggTest">EggTest</link> *test,
                                                         <link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link>            <link linkend="egg-test-get-user-data">egg_test_get_user_data</link>              (<link linkend="EggTest">EggTest</link> *test);
<link linkend="gchar">gchar</link> *             <link linkend="egg-test-get-data-file">egg_test_get_data_file</link>              (const <link linkend="gchar">gchar</link> *filename);
</synopsis>
</refsynopsisdiv>









<refsect1 id="PackageKit-egg-test.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="PackageKit-egg-test.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="EggTest" role="typedef">
<title>EggTest</title>
<indexterm zone="EggTest"><primary sortas="EggTest">EggTest</primary></indexterm><programlisting>typedef struct EggTest EggTest;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="egg-test-start" role="function">
<title>egg_test_start ()</title>
<indexterm zone="egg-test-start"><primary sortas="egg_test_start">egg_test_start</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            egg_test_start                      (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *name);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-end" role="function">
<title>egg_test_end ()</title>
<indexterm zone="egg-test-end"><primary sortas="egg_test_end">egg_test_end</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_end                        (<link linkend="EggTest">EggTest</link> *test);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-title" role="function">
<title>egg_test_title ()</title>
<indexterm zone="egg-test-title"><primary sortas="egg_test_title">egg_test_title</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_title                      (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *format,
                                                         ...);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>format</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-title-assert" role="function">
<title>egg_test_title_assert ()</title>
<indexterm zone="egg-test-title-assert"><primary sortas="egg_test_title_assert">egg_test_title_assert</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_title_assert               (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *text,
                                                         <link linkend="gboolean">gboolean</link> value);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>text</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>value</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-assert" role="function">
<title>egg_test_assert ()</title>
<indexterm zone="egg-test-assert"><primary sortas="egg_test_assert">egg_test_assert</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_assert                     (<link linkend="EggTest">EggTest</link> *test,
                                                         <link linkend="gboolean">gboolean</link> value);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>value</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-success" role="function">
<title>egg_test_success ()</title>
<indexterm zone="egg-test-success"><primary sortas="egg_test_success">egg_test_success</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_success                    (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *format,
                                                         ...);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>format</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-failed" role="function">
<title>egg_test_failed ()</title>
<indexterm zone="egg-test-failed"><primary sortas="egg_test_failed">egg_test_failed</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_failed                     (<link linkend="EggTest">EggTest</link> *test,
                                                         const <link linkend="gchar">gchar</link> *format,
                                                         ...);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>format</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-init" role="function">
<title>egg_test_init ()</title>
<indexterm zone="egg-test-init"><primary sortas="egg_test_init">egg_test_init</primary></indexterm><programlisting><link linkend="EggTest">EggTest</link> *           egg_test_init                       (void);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-finish" role="function">
<title>egg_test_finish ()</title>
<indexterm zone="egg-test-finish"><primary sortas="egg_test_finish">egg_test_finish</primary></indexterm><programlisting><link linkend="gint">gint</link>                egg_test_finish                     (<link linkend="EggTest">EggTest</link> *test);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-elapsed" role="function">
<title>egg_test_elapsed ()</title>
<indexterm zone="egg-test-elapsed"><primary sortas="egg_test_elapsed">egg_test_elapsed</primary></indexterm><programlisting><link linkend="guint">guint</link>               egg_test_elapsed                    (<link linkend="EggTest">EggTest</link> *test);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> time in ms
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-loop-quit" role="function">
<title>egg_test_loop_quit ()</title>
<indexterm zone="egg-test-loop-quit"><primary sortas="egg_test_loop_quit">egg_test_loop_quit</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_loop_quit                  (<link linkend="EggTest">EggTest</link> *test);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-loop-wait" role="function">
<title>egg_test_loop_wait ()</title>
<indexterm zone="egg-test-loop-wait"><primary sortas="egg_test_loop_wait">egg_test_loop_wait</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_loop_wait                  (<link linkend="EggTest">EggTest</link> *test,
                                                         <link linkend="guint">guint</link> timeout);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>timeout</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-loop-check" role="function">
<title>egg_test_loop_check ()</title>
<indexterm zone="egg-test-loop-check"><primary sortas="egg_test_loop_check">egg_test_loop_check</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_loop_check                 (<link linkend="EggTest">EggTest</link> *test);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-set-user-data" role="function">
<title>egg_test_set_user_data ()</title>
<indexterm zone="egg-test-set-user-data"><primary sortas="egg_test_set_user_data">egg_test_set_user_data</primary></indexterm><programlisting><link linkend="void">void</link>                egg_test_set_user_data              (<link linkend="EggTest">EggTest</link> *test,
                                                         <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-get-user-data" role="function">
<title>egg_test_get_user_data ()</title>
<indexterm zone="egg-test-get-user-data"><primary sortas="egg_test_get_user_data">egg_test_get_user_data</primary></indexterm><programlisting><link linkend="gpointer">gpointer</link>            egg_test_get_user_data              (<link linkend="EggTest">EggTest</link> *test);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>test</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="egg-test-get-data-file" role="function">
<title>egg_test_get_data_file ()</title>
<indexterm zone="egg-test-get-data-file"><primary sortas="egg_test_get_data_file">egg_test_get_data_file</primary></indexterm><programlisting><link linkend="gchar">gchar</link> *             egg_test_get_data_file              (const <link linkend="gchar">gchar</link> *filename);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>filename</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
