After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 529832 - Need more test
Need more test
Status: RESOLVED OBSOLETE
Product: libgoffice
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-04-25 05:59 UTC by Hiroyuki Ikezoe
Modified: 2018-05-22 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A sample test code with Cutter (1.27 KB, text/x-csrc)
2008-04-25 06:01 UTC, Hiroyuki Ikezoe
  Details
A sample test code with GTester (1.74 KB, text/x-csrc)
2008-04-25 06:02 UTC, Hiroyuki Ikezoe
  Details
A patch to mak both test cases. (1.14 KB, patch)
2008-04-25 06:04 UTC, Hiroyuki Ikezoe
none Details | Review
Revised patch (1.04 KB, patch)
2008-04-25 07:10 UTC, Hiroyuki Ikezoe
none Details | Review

Description Hiroyuki Ikezoe 2008-04-25 05:59:29 UTC
There are no sufficient test in GOffice.

I need it!
Comment 1 Hiroyuki Ikezoe 2008-04-25 06:01:32 UTC
Created attachment 109880 [details]
A sample test code with Cutter

There is no main() function since Cutter loads and runs test_ prefix functions directly.
Comment 2 Hiroyuki Ikezoe 2008-04-25 06:02:14 UTC
Created attachment 109881 [details]
A sample test code with GTester
Comment 3 Hiroyuki Ikezoe 2008-04-25 06:04:24 UTC
Created attachment 109882 [details] [review]
A patch to mak both test cases.
Comment 4 Hiroyuki Ikezoe 2008-04-25 06:07:25 UTC
To run Cutter version test:

 make && cutter .libs (in tests directory)

or (veborse mode)

 make && cutter -v v .libs  


To run GTester version test:

 make check && ./tests/test-regex-with-gtester

Comment 5 Hiroyuki Ikezoe 2008-04-25 06:07:51 UTC
Comment on attachment 109882 [details] [review]
A patch to mak both test cases.

No conditional make yet.
Comment 6 Jean Bréfort 2008-04-25 06:47:58 UTC
I'd prefer an optional depedency. Not everybody has Cutter installed. It's just for developers, imho.
Comment 7 Hiroyuki Ikezoe 2008-04-25 07:10:00 UTC
Created attachment 109885 [details] [review]
Revised patch

Conditional make whether Cutter is installed or not.
Comment 8 GNOME Infrastructure Team 2018-05-22 13:01:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/goffice/issues/14.