#include "libgitk.h"
Include dependency graph for libgitk_dialog.c:
Go to the source code of this file.
Functions | |
TCase * | libgitk_dialog_tcase (void) |
dialog test suite | |
void | test_gitk_dialog_new_from_string_1 (void) |
loads a skeleton dialog from string | |
void | test_gitk_dialog_show_1 (void) |
load three skeleton dialogs from strings and test priority | |
void | test_gitk_dialog_show_2 (void) |
load three skeleton dialogs from string and show them with same priority | |
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 | |
gchar * | dialog2_desc |
minimal test dialog number 2 | |
gchar * | dialog3_desc |
minimal test dialog number 3 |
testcase for : gitk_dialog_hide(dialog1);gitk_dialog_hide(dialog1);
testcase for : gitk_dialog_free(dialog1);gitk_dialog_free(dialog1);
Definition in file libgitk_dialog.c.
|
loads a skeleton dialog from string
Definition at line 89 of file libgitk_dialog.c. References dialog1_desc, ERROR_STR_LENGTH, errormsg, gitk_dialog_free(), gitk_dialog_new_from_string(), gitk_done(), gitk_get_error_code(), gitk_get_error_str(), gitk_init(), GitkDialogPtr, test_argc, and test_argvptr. Referenced by libgitk_dialog_tcase(). |
Here is the call graph for this function:
|
load three skeleton dialogs from strings and test priority
Definition at line 107 of file libgitk_dialog.c. References dialog1_desc, dialog2_desc, dialog3_desc, ERROR_STR_LENGTH, errormsg, gitk_context_get_highest_used_priority(), 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_dialog_tcase(). |
Here is the call graph for this function:
|
load three skeleton dialogs from string and show them with same priority
Definition at line 148 of file libgitk_dialog.c. References dialog1_desc, dialog2_desc, dialog3_desc, ERROR_STR_LENGTH, errormsg, gitk_context_activate(), 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_dialog_tcase(). |
Here is the call graph for this function:
|
announce start of the test
Definition at line 23 of file libgitk_dialog.c. References gitk_log. Referenced by libgitk_dialog_tcase(). |
|
announce end of the test
Definition at line 30 of file libgitk_dialog.c. References gitk_log. Referenced by libgitk_dialog_tcase(). |
|
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/></widgetgroup>"\ " </dialog>"\ "</giml>"
Definition at line 37 of file libgitk_dialog.c. Referenced by test_gitk_dialog_new_from_string_1(), test_gitk_dialog_show_1(), and test_gitk_dialog_show_2(). |
|
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 2</i18n:text></dc:title>"\ " </meta>"\ " <widgetgroup><widget/></widgetgroup>"\ " </dialog>"\ "</giml>"
Definition at line 54 of file libgitk_dialog.c. Referenced by test_gitk_dialog_show_1(), and test_gitk_dialog_show_2(). |
|
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 3</i18n:text></dc:title>"\ " </meta>"\ " <widgetgroup><widget/></widgetgroup>"\ " </dialog>"\ "</giml>"
Definition at line 71 of file libgitk_dialog.c. Referenced by test_gitk_dialog_show_1(), and test_gitk_dialog_show_2(). |