macaw.test.curation
Class TestOntologyTermFilter

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by macaw.test.curation.MacawCurationTestCase
              extended by macaw.test.curation.TestOntologyTermFilter
All Implemented Interfaces:
junit.framework.Test

public class TestOntologyTermFilter
extends MacawCurationTestCase


Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Field Summary
 
Fields inherited from class macaw.test.curation.MacawCurationTestCase
admin, curationService, jsmith, log
 
Constructor Summary
TestOntologyTermFilter()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testOntologyTermE1()
          Term=unspecified, Description=unspecified
 void testOntologyTermN1()
          Term=unspecified, Description=no match
 void testOntologyTermN2()
          Term=unspecified, Description=match
 void testOntologyTermN3()
          Term=unmatched, Description=unspecified
 void testOntologyTermN4()
          Term=no match, Description=no match
 void testOntologyTermN5()
          Term=no match, Description=match
 void testOntologyTermN6()
          Term=match, Description=unspecified
 void testOntologyTermN7()
          Term=match, Description=no match
 void testOntologyTermN8()
          Term=match, Description=match
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestOntologyTermFilter

public TestOntologyTermFilter()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class MacawCurationTestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class MacawCurationTestCase
Throws:
java.lang.Exception

testOntologyTermN1

public void testOntologyTermN1()
Term=unspecified, Description=no match


testOntologyTermN2

public void testOntologyTermN2()
Term=unspecified, Description=match


testOntologyTermN3

public void testOntologyTermN3()
Term=unmatched, Description=unspecified


testOntologyTermN4

public void testOntologyTermN4()
Term=no match, Description=no match


testOntologyTermN5

public void testOntologyTermN5()
Term=no match, Description=match


testOntologyTermN6

public void testOntologyTermN6()
Term=match, Description=unspecified


testOntologyTermN7

public void testOntologyTermN7()
Term=match, Description=no match


testOntologyTermN8

public void testOntologyTermN8()
Term=match, Description=match


testOntologyTermE1

public void testOntologyTermE1()
Term=unspecified, Description=unspecified