[grisbi-cvs] grisbi/src utils_dates_cunit.c, NONE, 1.1 utils_dates_cunit.h, NONE, 1.1 Makefile.am, 1.154, 1.155 main.c, 1.143, 1.144
Mickaƫl Remars
mykeul at users.sourceforge.net
Thu May 21 11:42:55 CEST 2009
- Previous message: [grisbi-cvs] grisbi/src gsb_real.c,1.45,1.46
- Next message: [grisbi-cvs] grisbi/po cs.po, 1.34, 1.35 da.po, 1.41, 1.42 de.po, 1.87, 1.88 el.po, 1.5, 1.6 es.po, 1.79, 1.80 fa.po, 1.28, 1.29 fr.po, 1.158, 1.159 grisbi.pot, 1.76, 1.77 he.po, 1.34, 1.35 it.po, 1.34, 1.35 nl.po, 1.33, 1.34 pl.po, 1.39, 1.40 pt_BR.po, 1.36, 1.37 ro.po, 1.34, 1.35 ru.po, 1.33, 1.34 zh_CN.po, 1.28, 1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv27047/src
Modified Files:
Makefile.am main.c
Added Files:
utils_dates_cunit.c utils_dates_cunit.h
Log Message:
Added a few unit-tests on gsb_parse_date_string()
--- NEW FILE: utils_dates_cunit.h ---
#ifndef _UTILS_DATES_CUNIT_H
#define _UTILS_DATES_CUNIT_H (1)
#include <CUnit/Basic.h>
/* START_INCLUDE_H */
/* END_INCLUDE_H */
/* START_DECLARATION */
CU_pSuite utils_dates_cunit_create_suite ( );
/* END_DECLARATION */
#endif//_UTILS_DATES_CUNIT_H
--- NEW FILE: utils_dates_cunit.c ---
(This appears to be a binary file; contents omitted.)
Index: main.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/main.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- main.c 17 May 2009 15:53:25 -0000 1.143
+++ main.c 21 May 2009 09:42:53 -0000 1.144
@@ -89,6 +89,7 @@
#include <CUnit/Basic.h>
#include "gsb_real_cunit.h"
+#include "utils_dates_cunit.h"
int gsb_cunit_run_tests()
{
@@ -97,8 +98,9 @@
return CU_get_error();
/* add a suite to the registry */
- CU_pSuite pSuite = gsb_real_cunit_create_suite();
- if(NULL == pSuite)
+ if ( ( NULL == gsb_real_cunit_create_suite ( ) )
+ || ( NULL == utils_dates_cunit_create_suite ( ) )
+ )
{
CU_cleanup_registry();
return CU_get_error();
Index: Makefile.am
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/Makefile.am,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- Makefile.am 11 May 2009 18:54:27 -0000 1.154
+++ Makefile.am 21 May 2009 09:42:53 -0000 1.155
@@ -138,6 +138,7 @@
utils.c \
utils_buttons.c \
utils_dates.c \
+ utils_dates_cunit.c \
utils_editables.c \
utils_file_selection.c \
utils_files.c \
@@ -283,6 +284,7 @@
utils.h \
utils_buttons.h \
utils_dates.h \
+ utils_dates_cunit.h \
utils_editables.h \
utils_file_selection.h \
utils_files.h \
- Previous message: [grisbi-cvs] grisbi/src gsb_real.c,1.45,1.46
- Next message: [grisbi-cvs] grisbi/po cs.po, 1.34, 1.35 da.po, 1.41, 1.42 de.po, 1.87, 1.88 el.po, 1.5, 1.6 es.po, 1.79, 1.80 fa.po, 1.28, 1.29 fr.po, 1.158, 1.159 grisbi.pot, 1.76, 1.77 he.po, 1.34, 1.35 it.po, 1.34, 1.35 nl.po, 1.33, 1.34 pl.po, 1.39, 1.40 pt_BR.po, 1.36, 1.37 ro.po, 1.34, 1.35 ru.po, 1.33, 1.34 zh_CN.po, 1.28, 1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list