# Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl 1.t' # !!!!STOP!!!! # This test file is for the MOBY::Central module. # As a regular Perl user, you probably intend to use MOBY::Client::Central, # which is discouragingly similarly named, and has many similarly named methods, # but quite different functionality. # This code runs on the server side, responding to incoming requests, # and constructing XML messages that communicate the results of those requests. # Note added by Frank Gibbons. # Tests should, as far as possible, avoid the use of literals. # If you register a service with authURI => mysite.com, # and you want to test a retrieved description of the service, don't test that the service returns authURI eq "mysite.com", # test so that it returns the same value as you used to register it in the first place. ######################### # change 'tests => 1' to 'tests => last_test_to_print'; #use SOAP::Lite +trace; use Test::More 'no_plan'; use strict; #Is the client-code even installed? BEGIN { my $missing_modules = < "Rubbish", description => "a human-readable description of the object", contactEmail => 'your@email.address', authURI => "test.suite.com", Relationships => { ISA => [ ['Object', 'article1'], ['Object', 'articleName2']], HASA => [ ['Object', 'articleName3']] } );