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 457173 - unit tests for gtk-doc
unit tests for gtk-doc
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: 1.9
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-15 18:44 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2007-09-22 19:54 UTC
See Also:
GNOME target: 2.20.x
GNOME version: ---


Attachments
autofoo changes for the tests (8.06 KB, patch)
2007-07-15 18:45 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
committed Details | Review
test suite (8.43 KB, application/x-compressed-tar)
2007-07-15 18:47 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
  Details

Description Stefan Sauer (gstreamer, gtkdoc dev) 2007-07-15 18:44:59 UTC
I'd like to re-factor the regular expressions into helper functions in gtkdoc-common.pl and the improve them to handle a lot of the parsing bugs we have. In order to verify that they fix the issues and not cause regressions, I'd like to have a test suite.

Attached is a first try. Can I further develop this in svn?
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2007-07-15 18:45:51 UTC
Created attachment 91828 [details] [review]
autofoo changes for the tests
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2007-07-15 18:47:23 UTC
Created attachment 91829 [details]
test suite

Unpack this inside gtk-doc dir. Creates the tests directory. After that run autogen.sh/autoregen.sh.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2007-07-17 18:37:38 UTC
2007-07-17  Stefan Kost  <ensonic@users.sf.net>

	* Makefile.am:
	* autogen.sh:
	* configure.in:
	* tests/Makefile.am:
	* tests/bugs.sh:
	* tests/bugs/Makefile.am:
	* tests/bugs/docs/Makefile.am:
	* tests/bugs/docs/Makefile.in:
	* tests/bugs/docs/tester-docs.sgml:
	* tests/bugs/docs/tester-sections.txt:
	* tests/bugs/docs/tester.types:
	* tests/bugs/src/Makefile.am:
	* tests/bugs/src/tester.c: (bug_445693), (bug_141869_a),
	(bug_141869_b):
	* tests/bugs/src/tester.h:
	* tests/gobject.sh:
	* tests/gobject/Makefile.am:
	* tests/gobject/docs/Makefile.am:
	* tests/gobject/docs/Makefile.in:
	* tests/gobject/docs/tester-docs.sgml:
	* tests/gobject/docs/tester-sections.txt:
	* tests/gobject/docs/tester.types:
	* tests/gobject/src/Makefile.am:
	* tests/gobject/src/tester.c: (gtkdoc_tester_new),
	(gtkdoc_tester_get_property), (gtkdoc_tester_set_property),
	(gtkdoc_tester_class_init), (gtkdoc_tester_get_type):
	* tests/gobject/src/tester.h:
	* tests/gtk-doc.make:
	* tests/gtkdoctest.sh:
	Add test-suite. Fixes #457173