File: GstTag.t

package info (click to toggle)
libgstreamer-perl 0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 900 kB
  • ctags: 59
  • sloc: perl: 2,456; ansic: 32; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 429 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 6;

# $Id$

use Glib qw(TRUE FALSE);
use GStreamer -init;

ok(GStreamer::Tag::exists("artist"));
is(GStreamer::Tag::get_type("artist"), "Glib::String");
ok(defined GStreamer::Tag::get_nick("artist"));
ok(defined GStreamer::Tag::get_description("artist"));
isa_ok(GStreamer::Tag::get_flag("artist"), "GStreamer::TagFlag");
ok(!GStreamer::Tag::is_fixed("artist"));