jigcell.compare.tests
Class OAAConnectorTest

java.lang.Object
  extended by jigcell.compare.tests.OAAConnectorTest

public class OAAConnectorTest
extends java.lang.Object

Tests the OAAConnector class.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.

Author:
Nicholas Allen

Field Summary
protected  com.sri.oaa2.lib.LibOaa myOaa
          OAA connection
 
Constructor Summary
OAAConnectorTest()
          Tests the OAAConnector class.
 
Method Summary
protected  void dispatch(java.lang.String command, java.lang.String input, java.lang.String output)
          Dispatches a command through the OAAConnector.
protected  void execute(java.lang.String command)
          Executes a command through the OAAConnector.
static void main(java.lang.String[] args)
          Tests the OAAConnector class.
protected  void sendFile(java.lang.String name, java.lang.String file)
          Sends a file through the OAAConnector.
 void test()
          Tests the OAAConnector class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myOaa

protected com.sri.oaa2.lib.LibOaa myOaa
OAA connection

Constructor Detail

OAAConnectorTest

public OAAConnectorTest()
Tests the OAAConnector class.

Method Detail

main

public static void main(java.lang.String[] args)
Tests the OAAConnector class.


test

public void test()
Tests the OAAConnector class.


dispatch

protected void dispatch(java.lang.String command,
                        java.lang.String input,
                        java.lang.String output)
Dispatches a command through the OAAConnector.

Parameters:
command - Dispatch command
input - List of input variables or null if none
output - Name of output variable or null if none

execute

protected void execute(java.lang.String command)
Executes a command through the OAAConnector.

Parameters:
command - Command

sendFile

protected void sendFile(java.lang.String name,
                        java.lang.String file)
Sends a file through the OAAConnector.

Parameters:
name - File name
file - File contents