edu.stanford.smi.protegex.owl.ui.conditions.tests
Class AbstractConditionsTableTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byedu.stanford.smi.protegex.owl.tests.AbstractOWLTestCase
              extended byedu.stanford.smi.protegex.owl.tests.AbstractJenaTestCase
                  extended byedu.stanford.smi.protegex.owl.ui.conditions.tests.AbstractConditionsTableTestCase
All Implemented Interfaces:
ConditionsTableConstants, junit.framework.Test
Direct Known Subclasses:
AbstractTransferTestCase, AddRowTestCase, ChangeConditionsTableModelTestCase, ChangeInheritedTestCase, CutRowTestCase, DeleteRowTestCase, FillConditionsTableModelTestCase, FillInheritedTestCase, ImportTestCase, SetConditionTestCase

public abstract class AbstractConditionsTableTestCase
extends AbstractJenaTestCase
implements ConditionsTableConstants

Author:
Holger Knublauch

Field Summary
protected  List events
           
protected static Integer INHERITED
           
protected static Integer NECESSARY
           
protected static String SUFFICIENT
           
 
Fields inherited from class edu.stanford.smi.protegex.owl.tests.AbstractJenaTestCase
ontModel, owlFullModel
 
Fields inherited from class edu.stanford.smi.protegex.owl.tests.AbstractOWLTestCase
owlModel, owlThing, project
 
Fields inherited from class junit.framework.TestCase
 
Fields inherited from interface edu.stanford.smi.protegex.owl.ui.conditions.ConditionsTableConstants
COL_COUNT, COL_EXPRESSION, TYPE_DEFINITION_BASE, TYPE_INHERITED, TYPE_SUPERCLASS
 
Constructor Summary
AbstractConditionsTableTestCase()
           
 
Method Summary
protected  void assertTableModelStructure(ConditionsTableModel tableModel, Object[] structure)
           
protected  TableModelEvent getEvent(int index)
           
protected  ConditionsTableModel getTableModel(OWLNamedClass hostCls)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.tests.AbstractJenaTestCase
getNamedClassesCount, loadRemoteOntology, loadRemoteOntologyWithProtegeMetadataOntology, loadTestOntology, ontResourceExists, reload, reloadWithJenaLoader
 
Methods inherited from class edu.stanford.smi.protegex.owl.tests.AbstractOWLTestCase
assertContains, assertContains, assertContainsNot, assertHasValue, assertSize, assertSize, dumpRDF, getRemoteOntologyURI, getTestOntologyURI, hasTypedLiteral, list, setUp
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

events

protected List events

SUFFICIENT

protected static final String SUFFICIENT
See Also:
Constant Field Values

NECESSARY

protected static final Integer NECESSARY

INHERITED

protected static final Integer INHERITED
Constructor Detail

AbstractConditionsTableTestCase

public AbstractConditionsTableTestCase()
Method Detail

assertTableModelStructure

protected void assertTableModelStructure(ConditionsTableModel tableModel,
                                         Object[] structure)

getEvent

protected TableModelEvent getEvent(int index)

getTableModel

protected ConditionsTableModel getTableModel(OWLNamedClass hostCls)