mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/business/business-core/test/test-employee.c: fix the test
to reflect the change in Employee->Printable() git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8144 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
3d8b885108
commit
c1818d3d2c
@ -1,3 +1,8 @@
|
||||
2003-03-31 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* src/business/business-core/test/test-employee.c: fix the test
|
||||
to reflect the change in Employee->Printable()
|
||||
|
||||
2003-03-29 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/report/standard-reports/daily-reports.scm: New report
|
||||
|
@ -94,8 +94,10 @@ test_employee (void)
|
||||
{
|
||||
const char *str = get_random_string();
|
||||
const char *res;
|
||||
GncAddress *addr;
|
||||
|
||||
gncEmployeeSetUsername (employee, str);
|
||||
addr = gncEmployeeGetAddr (employee);
|
||||
gncAddressSetName (addr, str);
|
||||
res = gncObjectPrintable (GNC_EMPLOYEE_MODULE_NAME, employee);
|
||||
do_test (res != NULL, "Printable NULL?");
|
||||
do_test (safe_strcmp (str, res) == 0, "Printable equals");
|
||||
|
Loading…
Reference in New Issue
Block a user