test.wsmo4j.logicalexpression
Class LogicalExpressionTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.wsmo4j.logicalexpression.LogicalExpressionTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BinaryImplTest, EqualityTest, LogicalExpressionFactoryTest, ParsingTest, QuantifiedImplTest, SerializingTest, UnaryImplTest

public abstract class LogicalExpressionTestCase
extends junit.framework.TestCase

Base Test Case for Logical Expression API provides serializer, parser, and default topEntity

 Created on Aug 1, 2005
 Committed by $Author$
 

Version:
$Revision$ $Date$
Author:
Holger Lausen (holger.lausen@deri.org)

Field Summary
protected  org.wsmo.factory.WsmoFactory factory
           
protected  org.wsmo.factory.LogicalExpressionFactory leFactory
           
protected  String ns
           
protected  org.wsmo.wsml.Parser parser
           
protected  org.wsmo.wsml.Serializer serializer
           
protected  org.wsmo.common.TopEntity topEntity
           
 
Constructor Summary
LogicalExpressionTestCase()
           
 
Method Summary
protected  String serialize(org.omwg.logicalexpression.LogicalExpression logExp)
           
protected static String serialize(org.omwg.logicalexpression.LogicalExpression logExp, org.wsmo.common.TopEntity nsContainer)
           
protected  String serialize(org.wsmo.common.TopEntity top)
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parser

protected org.wsmo.wsml.Parser parser

serializer

protected org.wsmo.wsml.Serializer serializer

factory

protected org.wsmo.factory.WsmoFactory factory

leFactory

protected org.wsmo.factory.LogicalExpressionFactory leFactory

topEntity

protected org.wsmo.common.TopEntity topEntity

ns

protected String ns
Constructor Detail

LogicalExpressionTestCase

public LogicalExpressionTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

serialize

protected String serialize(org.wsmo.common.TopEntity top)

serialize

protected static String serialize(org.omwg.logicalexpression.LogicalExpression logExp,
                                  org.wsmo.common.TopEntity nsContainer)

serialize

protected String serialize(org.omwg.logicalexpression.LogicalExpression logExp)


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.