GNOME Bugzilla – Bug 547889
Implementing C++ version of GNode test case for Glib:NodeTree
Last modified: 2008-08-26 13:43:15 UTC
The test case of GNode is a little bit sofisticated and useful.
Created attachment 116646 [details] [review] C++ version of GNode's test case ChangeLog: 2008-08-15 Szilárd Pfeiffer <szilard.pfeiffer@gmail.com> * tests/glibmm_nodetree/main.cc: Implemet the C++ version of GNode test case. Bug #547889
I committed that, commenting out the use of NodeTree::copy, which is not yet in the API. I would also like to see this use more C++-like variable scope, avoiding reuse of the same variables, such as "node".
(In reply to comment #2) > I committed that, commenting out the use of NodeTree::copy, which is not yet in > the API. > I set this bug to the dependent of bug 547901 to avoid this problem. Was it a wrong way?
Yeah. I just wanted to get some of it in now because it's useful to test the other things.
The whole test case is now uncommented.