1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
#!/usr/bin/env perl
#
# $Id: WebService-YouTube-User.t 11 2007-04-09 04:34:01Z hironori.yoshida $
#
use strict;
use warnings;
use version; our $VERSION = qv('1.0.3');
use blib;
use Test::Base tests => 4;
use WebService::YouTube::User;
can_ok( 'WebService::YouTube::User', qw(new) );
my $user = WebService::YouTube::User->new;
isa_ok( $user, 'WebService::YouTube::User' );
# derived from youtube.users.get_profile
can_ok(
$user, qw(
first_name
last_name
about_me
age
video_upload_count
video_watch_count
homepage
hometown
gender
occupations
companies
city
country
books
hobbies
movies
relationship
friend_count
favorite_video_count
currently_on
)
);
# derived from youtube.users.list_friends
can_ok(
$user,
qw(
user
video_upload_count
favorite_count
friend_count
)
);
|