Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/text_fmt
Modified Files:
ewl_text_fmt.c
Log Message:
Remove text format destroy test since it's impossible for it to set the format
to NULL.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text_fmt/ewl_text_fmt.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_text_fmt.c 23 Aug 2007 05:26:48 -0000 1.4
+++ ewl_text_fmt.c 8 Nov 2007 20:35:37 -0000 1.5
@@ -8,7 +8,6 @@
static int tf_new(char *buf, int len);
static int tf_new_null_text(char *buf, int len);
-static int tf_destroy(char *buf, int len);
static int tf_clear(char *buf, int len);
static int tf_count_empty(char *buf, int len);
@@ -37,7 +36,6 @@
static Ewl_Unit_Test text_fmt_unit_tests[] = {
{"New Format", tf_new, -1, NULL},
{"New NULL Text", tf_new_null_text, -1, NULL},
- {"Destroy Format", tf_destroy, -1, NULL},
{"Clear Format", tf_clear, -1, NULL},
{"Count empty", tf_count_empty, -1, NULL},
@@ -113,24 +111,6 @@
return 0;
}
ewl_text_fmt_destroy(fmt);
- return 1;
-}
-
-static int
-tf_destroy(char *buf, int len)
-{
- Ewl_Widget *t;
- Ewl_Text_Fmt *fmt;
-
- t = ewl_text_new();
- fmt = ewl_text_fmt_new(EWL_TEXT(t));
-
- ewl_text_fmt_destroy(fmt);
- if (fmt)
- {
- snprintf(buf, len, "_destroy failed to make fmt NULL.");
- return 0;
- }
return 1;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs