Version: 1.1.1

ca.ucalgary.seahawk.gui.test
Class MobyContentGUITestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by ca.ucalgary.seahawk.gui.test.MobyContentGUITestCase
All Implemented Interfaces:
junit.framework.Test

public class MobyContentGUITestCase
extends junit.framework.TestCase


Field Summary
static String collectionServiceName
           
static String inputCollectionData
           
static String inputCollectionDataType
           
static String inputSimpleData
           
static String inputSimpleDataType
           
static String SERVICE_NAME_PROP
          The Java property to set to specify what MOBY service should be tested
static String simpleServiceName
           
static String[] testMobyTypes
           
static String testNode
           
static String testXPath
           
static String xmlDocumentFileName
           
 
Constructor Summary
MobyContentGUITestCase(String name)
           
 
Method Summary
static void main(String[] args)
          Runs the test suite when the class is invoked on the command line.
static junit.framework.Test suite()
           
 void testCorrectMobyClientBasedInvocation()
          Tries to use the Bluejay MobyClient to find services based on XPath mapping in a document's contents to MOBY types, then invoke the service on the XPath results.
 void testCorrectMobyServiceInvocationCollection()
          Tries to run a service that returns a Collection type.
 void testCorrectMobyServiceInvocationSimple()
          Tries to run a service that returns Simples.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVICE_NAME_PROP

public static String SERVICE_NAME_PROP
The Java property to set to specify what MOBY service should be tested


xmlDocumentFileName

public static String xmlDocumentFileName

testNode

public static String testNode

testXPath

public static String testXPath

testMobyTypes

public static String[] testMobyTypes

simpleServiceName

public static String simpleServiceName

inputSimpleDataType

public static String inputSimpleDataType

inputSimpleData

public static String inputSimpleData

collectionServiceName

public static String collectionServiceName

inputCollectionDataType

public static String inputCollectionDataType

inputCollectionData

public static String inputCollectionData
Constructor Detail

MobyContentGUITestCase

public MobyContentGUITestCase(String name)
Parameters:
name - Test case name.
Method Detail

testCorrectMobyServiceInvocationSimple

public void testCorrectMobyServiceInvocationSimple()
Tries to run a service that returns Simples.


testCorrectMobyServiceInvocationCollection

public void testCorrectMobyServiceInvocationCollection()
Tries to run a service that returns a Collection type.


testCorrectMobyClientBasedInvocation

public void testCorrectMobyClientBasedInvocation()
Tries to use the Bluejay MobyClient to find services based on XPath mapping in a document's contents to MOBY types, then invoke the service on the XPath results.


suite

public static junit.framework.Test suite()
Returns:
a test suite for all the test methods of this test case.

main

public static void main(String[] args)
                 throws Exception
Runs the test suite when the class is invoked on the command line. The name of the service can be defined through a Java property, moby.testService

Throws:
Exception

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010