Package org.astrogrid.samp.test
Classes for testing.
As well as unit testing of this SAMP toolkit, it includes the
HubTester
class which tests a running
third-party hub implementation and some miscellaneous diagnostic
and utility applications.-
Class Summary Class Description CalcStorm Runs a load of Calculator clients at once all sending messages to each other.Calculator Test client.Calculator.SendMode Represents a delivery pattern.HubTester Tester for a running hub.HubTester.ClientWatcher CallableClient implementation which watches hub.event messages concerning the registration and attributes of other clients.HubTester.TestCallableClient CallableClient implementation for testing.HubTester.WatchedClient Struct-type utility class which aggregates mutable information about a client, to be updated in response to hub event messages.MessageSender Sends a message to one or more other SAMP clients.MessageSender.AsynchSender MessageSender implementation which uses the Asynchronous Call/Response pattern.MessageSender.AsynchSender.Collector CallableClient implementation which collects asynchronous message responses.MessageSender.BlockingMap Map implementation which dispenses its contents via an iterator which will block until all the results are in.MessageSender.BlockingSet Set implementation which dispenses its contents via an iterator which will block until all results are in.MessageSender.MetaClient Client implementation which may know about metadata.MessageSender.NotifySender MessageSender implementation which uses the Notify pattern.MessageSender.SynchSender MessageSender implementation which uses the Synchronous Call/Response pattern.ReplyCollector Partial implementation ofCallableClient
which handles thereceiveReply
method.Snooper Subscribes to SAMP messages and logs any received to an output stream.Tester No-frills test case superclass.TestXmlrpcClient SampXmlrpcClient implementation for testing success or failure of XML-RPC method invocations. -
Exception Summary Exception Description TestException Exception thrown by a failed test.