[gstreamer-bugs] [Bug 585848] Let's revive the test suite

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jun 17 03:23:07 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=585848

  GStreamer | gst-sharp | Ver: git




------- Comment #5 from Maarten Bosmans  2009-06-17 10:23 UTC -------
Arg, a mid-air collision.

Anyway, below is my response to your comments.
I was planning on making a new patch series, but if you applied my patches as
they where (they don't show up on fdo yet), I can address your issues with a
separate follow-up patch.

Maarten

================================================================================

0001
  Yeah, I removed test quite liberally.
  I suppose I can rescue some of what remains after removing the Refcount calls 
  by adding a check for the number of pads on an element, for instance.
  Btw, is there a specific reason the Element.Numpads property is gone now?

0002
  I just figured that the tests should be written the same as one would write 
  an application, i.e. without the need for explicit cleanup.
  I'm not very familiar with the internals of nunit, so I don't know whether or
  not it GCs after every test.

0003
  Yes, that certainly is the more cleaner way of accessing the child elements 
  of a bin. In general however, I have the feeling that this tests depends to 
  much on the implentation details of GstBin, or is the order of child elements 
  always garanteed to be the same as the order in which they were added?

0005
  This could very well be another idiosyncrasy of Windows, but after the first 
  DeInit, all subsequent Init()s failed, causing a lot of errors due to a 
  non-initialized gstreamer. I figured it wouldn't be really nescessary to have 
  a DeInit after every test, so I removed it. But I should make a test case out 
  of it and file a bug, if appropriate.

Well, marking the tests with the IgnoreAttribute is preferred above commenting
them out of course. Note that on my machine these two tests not only failed,
but also caused the entire test suite to crash. By ignoring them I at least get
a summary of the results, which shows the ignored tests as well, so they can't
be forgotten.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=585848.




More information about the Gstreamer-bugs mailing list