File: Factory.t

package info (click to toggle)
libwebservice-musicbrainz-perl 0.17-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 228 kB
  • ctags: 97
  • sloc: perl: 842; makefile: 46
file content (23 lines) | stat: -rw-r--r-- 716 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl WebService-MusicBrainz.t'

#########################

# change 'tests => 1' to 'tests => last_test_to_print';

use Test::More tests => 4;
BEGIN { use_ok('WebService::MusicBrainz') };

#########################

# Insert your test code below, the Test::More module is use()ed here so read
# its man page ( perldoc Test::More ) for help writing this test script.

my $artist_ws = WebService::MusicBrainz->new_artist();
ok( $artist_ws );

my $track_ws = WebService::MusicBrainz->new_track();
ok( $track_ws );

my $release_ws = WebService::MusicBrainz->new_release();
ok( $release_ws );