libgitk_widget.c File Reference

test suite for libgitk : widget More...

#include "libgitk.h"

Include dependency graph for libgitk_widget.c:

Include dependency graph

Go to the source code of this file.

Functions

TCase * libgitk_widget_tcase (void)
 widget test suite

void test_gitk_widget_set_get_value (void)
 loads a skeleton dialog from string

void test_setup (void)
 announce start of the test

void test_teardown (void)
 announce end of the test


Variables

gchar * dialog1_desc
 minimal test dialog number 1


Detailed Description

test suite for libgitk : widget

Id
libgitk_widget.c,v 1.7 2004/08/06 23:48:44 ensonic Exp

Author:
Stefan Kost <ensonic@users.sf.net>
Date:
Thu Feb 28 15:57:43 2002

Definition in file libgitk_widget.c.


Function Documentation

void test_gitk_widget_set_get_value void   )  [static]
 

loads a skeleton dialog from string

Test:
loads a skeleton dialog from string

Definition at line 57 of file libgitk_widget.c.

References dialog1_desc, ERROR_STR_LENGTH, errormsg, gitk_dialog_free(), gitk_dialog_hide(), gitk_dialog_new_from_string(), gitk_dialog_show(), gitk_done(), gitk_get_error_code(), gitk_get_error_str(), gitk_init(), GitkDialogPtr, test_argc, and test_argvptr.

Referenced by libgitk_widget_tcase().

Here is the call graph for this function:

void test_setup void   )  [static]
 

announce start of the test

Definition at line 20 of file libgitk_widget.c.

References gitk_log.

Referenced by libgitk_widget_tcase().

void test_teardown void   )  [static]
 

announce end of the test

Definition at line 27 of file libgitk_widget.c.

References gitk_log.

Referenced by libgitk_widget_tcase().


Variable Documentation

gchar* dialog1_desc [static]
 

Initial value:

\
"<?xml version=\"1.0\" ?>"\
"<!DOCTYPE giml SYSTEM \"http://gitk.sourceforge.net/giml.dtd\">"\
"<giml xmlns=\""GITK_NS_URL"\""\
" xmlns:dc=\"http://purl.org/dc/elements/1.1/\""\
" xmlns:i18n=\""I18N_NS_URL"\""\
" >"\
"  <dialog>"\
"    <meta>"\
"      <dc:title><i18n:text>dialog 1</i18n:text></dc:title>"\
"    </meta>"\
"   <widgetgroup>"\
"     <widget id=\"Name\" type=\"characterinput_alphabetic\">"\
"       <label><i18n:text>name</i18n:text></label>"\
"       <disabled>true</disabled>"\
"     </widget>"\
"   </widgetgroup>"\
"  </dialog>"\
"</giml>"
minimal test dialog number 1

Definition at line 34 of file libgitk_widget.c.

Referenced by test_gitk_widget_set_get_value().


Generated on Thu Oct 28 11:03:38 2004 for gitk by doxygen 1.3.6