2 use Test::More 'no_plan';
4 # Testing the MCube support.
7 use constant _CONFIG => '/tmp/gsmperl/GSM/t/mcube.conf';
8 use constant _TESTGSM => '+32475567606';
9 use constant _TESTMSG => 'Hello world from GSM::SMS';
10 use constant _TESTIMG => '/tmp/gsmperl/GSM/examples/smartmessagingserver/media/groupgraphics/0001.gif';
11 my $nbs = GSM::SMS::NBS->new( _CONFIG );
13 ok($nbs, 'constructor');
15 ok( $nbs->sendSMSTextMessage( _TESTGSM, _TESTMSG ) != 0, 'sending a test text message');
17 ok( $nbs->sendGroupGraphic_file( _TESTGSM, _TESTIMG ) != 0, 'sending group graphic');