GNOME Bugzilla – Bug 710520
gst-rtsp-server: Improve unit tests (and fix bugs) for rtsp token
Last modified: 2014-02-25 22:28:56 UTC
Created attachment 257725 [details] [review] Proposed patch for fixing the bugs when creating empty token. Add new unit tests for RTSP token. Also fix the bugs concerning gst_rtsp_token_new_empty() before adding the unit tests that trigger the bug so that each commit of gst-rtsp-server builds successfully.
Created attachment 257726 [details] [review] Proposed patch for validating the arguments for gst_rtsp_token_is_allowed.
Created attachment 257727 [details] [review] Proposed patch for adding unit tests for RTSP token.
commit 0e1665b7c6c886dab801f1a319015b99aa3d043a Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Sat Oct 19 19:25:27 2013 +0200 tests: Add unit tests for token Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710520 commit e4509ed92cd38ea253a64113e0ea6f1a0907f085 Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Sat Oct 19 19:24:34 2013 +0200 token: Validate args for gst_rtsp_token_is_allowed See https://bugzilla.gnome.org/show_bug.cgi?id=710520 commit c9025a58e106355a3143cad26b4e1352b6acf0c3 Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Sat Oct 19 19:21:53 2013 +0200 token: Fix bug when creating empty token We always want to have a valid GstStructure in the token. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=710520