test.wsmo4j.validator
Class AnonIDRef

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.wsmo4j.validator.ValidatorTestCase
              extended by test.wsmo4j.validator.AnonIDRef
All Implemented Interfaces:
junit.framework.Test

public class AnonIDRef
extends ValidatorTestCase

Title: WSMO4J

Description: WSMO API and a Reference Implementation

Copyright: Copyright (c) 2004-2005

Company: University of Innsbruck, Austria

Version:
1.0
Author:
Holger Lausen, Nathalie Steinmetz

Field Summary
 
Fields inherited from class test.wsmo4j.validator.ValidatorTestCase
axiom, dataFactory, errors, le, leFactory, leSet, parser, warnings
 
Constructor Summary
AnonIDRef()
           
 
Method Summary
 void testAddMemberOf()
           
 void testAddSuperConcept()
           
 void testAddSuperRelation()
           
 void testAddValueAttribute()
           
 void testAddValueParameter()
           
 void testAnonymousSubConcept()
          Anonymous concept is a subconcept of non anonymous concept concept http://example/testProblemC1 concept _# subConceptOf http://example/testProblemC1 This WSML fragment is valid (if reparsed it would be the same)
 void testAnonymousSuperConcept()
          Anonymous concept could not have sub concepts: concept _# concept http://example/testProblemC1 subConceptOf _# The link between the two concepts is lost after a parse/serialize
 void testAnonymousSuperRelation()
           
 void testAttributeAddType()
           
 void testConceptAddAttribute()
           
 void testCreateRelationInstance()
           
 void testMutableConcept()
           
 void testMutableEntityWithAnonId()
           
 void testParemeterAddType()
           
 
Methods inherited from class test.wsmo4j.validator.ValidatorTestCase
createAxiomDef, getOntHeader, getOntLocalName, printError, printWarning, removeAxiomDef, setUp, 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
 

Constructor Detail

AnonIDRef

public AnonIDRef()
Method Detail

testAnonymousSuperRelation

public void testAnonymousSuperRelation()
                                throws Exception
Throws:
Exception

testAnonymousSuperConcept

public void testAnonymousSuperConcept()
                               throws Exception
Anonymous concept could not have sub concepts: concept _# concept http://example/testProblemC1 subConceptOf _# The link between the two concepts is lost after a parse/serialize

Throws:
Exception

testAnonymousSubConcept

public void testAnonymousSubConcept()
                             throws Exception
Anonymous concept is a subconcept of non anonymous concept concept http://example/testProblemC1 concept _# subConceptOf http://example/testProblemC1 This WSML fragment is valid (if reparsed it would be the same)

Throws:
Exception

testMutableEntityWithAnonId

public void testMutableEntityWithAnonId()
                                 throws Exception
Throws:
Exception

testMutableConcept

public void testMutableConcept()
                        throws Exception
Throws:
Exception

testAddSuperConcept

public void testAddSuperConcept()
                         throws Exception
Throws:
Exception

testConceptAddAttribute

public void testConceptAddAttribute()
                             throws Exception
Throws:
Exception

testParemeterAddType

public void testParemeterAddType()
                          throws Exception
Throws:
Exception

testAttributeAddType

public void testAttributeAddType()
                          throws Exception
Throws:
Exception

testAddMemberOf

public void testAddMemberOf()
                     throws Exception
Throws:
Exception

testAddValueAttribute

public void testAddValueAttribute()
                           throws Exception
Throws:
Exception

testAddValueParameter

public void testAddValueParameter()
                           throws Exception
Throws:
Exception

testAddSuperRelation

public void testAddSuperRelation()
                          throws Exception
Throws:
Exception

testCreateRelationInstance

public void testCreateRelationInstance()
                                throws Exception
Throws:
Exception


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