~ubuntu-branches/ubuntu/saucy/gstreamer0.10/saucy

« back to all changes in this revision

Viewing changes to tests/check/pipelines/parse-launch.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2011-12-11 18:52:12 UTC
  • mfrom: (32.1.14 experimental)
  • Revision ID: package-import@ubuntu.com-20111211185212-3k215ps4qtyz2qa5
Tags: 0.10.35.2-1
* New upstream pre-release:
  + debian/control.in:
    - Build-depend on GLib >= 2.24.
  + debian/patches/99_ltmain_as-needed.patch:
    - Refreshed to apply cleanly again.
  + debian/libgstreamer.symbols:
    - Update symbols file with new API.
* debian/rules:
  + Remove all dependency_libs from the .la files (Closes: #633319).
* debian/control.in:
  + Put GI package into section introspection.
* debian/compat,
  debian/control.in,
  debian/gir1.2-gstreamer.install,
  debian/libgstreamer-dev.install,
  debian/libgstreamer.install,
  debian/patches/79_multiarch-backwards-compat.patch,
  debian/patches/80_ia32-hack.patch,
  debian/rules:
  + Transition package to multi-arch (Closes: #647481).
    Patch taken from the Ubuntu package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
#define PIPELINE11 "fakesink silent=true name = sink identity silent=true name=id ( fakesrc num-buffers=\"4\" ! id. ) id. ! sink."
146
146
#define PIPELINE12 "file:///tmp/test.file ! fakesink silent=true"
147
147
#define PIPELINE13 "fakesrc ! file:///tmp/test.file"
 
148
#define PIPELINE14 "capsfilter caps=application/x-rtp,sprop-parameter-sets=(string)\"x\\,x\""
 
149
#define PIPELINE15 "capsfilter caps=application/x-rtp,sprop-parameter-sets=(string)\"x\\\"x\\,x\""
148
150
 
149
151
GST_START_TEST (test_launch_lines2)
150
152
{
285
287
   * This should warn, but ignore the error and carry on */
286
288
  cur = setup_pipeline ("( filesrc blocksize=4 location=/dev/null @ )");
287
289
  gst_object_unref (cur);
 
290
 
 
291
  /**
 
292
   * Checks if characters inside quotes are not escaped.
 
293
  */
 
294
  cur = setup_pipeline (PIPELINE14);
 
295
  gst_object_unref (cur);
 
296
 
 
297
  /**
 
298
   * Checks if escaped quotes inside quotes are not treated as end string quotes.
 
299
   * This would make the rest of characters to be escaped incorrectly.
 
300
   */
 
301
  cur = setup_pipeline (PIPELINE15);
 
302
  gst_object_unref (cur);
288
303
}
289
304
 
290
305
GST_END_TEST;