test.wsmo4j.parser.xml
Class XmlParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.wsmo4j.Wsmo4jTestCase
              extended by test.wsmo4j.parser.xml.XmlParserTest
All Implemented Interfaces:
junit.framework.Test

public class XmlParserTest
extends Wsmo4jTestCase

All test methods for xml parsing/serialization

Author:
not attributable

Field Summary
protected  org.wsmo.wsml.Parser parser
           
protected  org.wsmo.wsml.Serializer serializer
           
protected  String TEST_FILE
           
protected  String TEST_FILE_WSML
           
 
Fields inherited from class test.wsmo4j.Wsmo4jTestCase
dataFactory, factory, leFactory
 
Constructor Summary
XmlParserTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testD16Example()
           
 void testFileIdentityAfterSerializationParse()
          Try to parse/serialized multiple times a file
 
Methods inherited from class test.wsmo4j.Wsmo4jTestCase
createIRI, createIRI
 
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

TEST_FILE

protected final String TEST_FILE
See Also:
Constant Field Values

TEST_FILE_WSML

protected final String TEST_FILE_WSML
See Also:
Constant Field Values
Constructor Detail

XmlParserTest

public XmlParserTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class Wsmo4jTestCase
Throws:
Exception

tearDown

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

testD16Example

public void testD16Example()
                    throws Exception
Throws:
Exception

testFileIdentityAfterSerializationParse

public void testFileIdentityAfterSerializationParse()
                                             throws Exception
Try to parse/serialized multiple times a file

Throws:
Exception


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