org.apache.ctakes.preprocessor
Class ClinicalNotePreProcessorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.ctakes.preprocessor.ClinicalNotePreProcessorTest
All Implemented Interfaces:
junit.framework.Test

public class ClinicalNotePreProcessorTest
extends junit.framework.TestCase

Unit tests for the ClinicalNotePreProcessor class. These test the class against clinical note XML data and determine whether the preprocessor successfully parsed out the correct info.

Author:
Mayo Clinic

Constructor Summary
ClinicalNotePreProcessorTest(java.lang.String arg0)
          Constructor for ClinicalNotePreProcessorTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testProcess()
          Tests the process method.
 
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

ClinicalNotePreProcessorTest

public ClinicalNotePreProcessorTest(java.lang.String arg0)
Constructor for ClinicalNotePreProcessorTest.

Parameters:
arg0 -
Method Detail

setUp

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

tearDown

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

testProcess

public void testProcess()
Tests the process method.