edu.msu.cme.rdp.classifier.rrnaclassifier
Class TreeFileParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.msu.cme.rdp.classifier.rrnaclassifier.TreeFileParserTest
All Implemented Interfaces:
junit.framework.Test

public class TreeFileParserTest
extends junit.framework.TestCase

A test class for TreeFileParser.


Constructor Summary
TreeFileParserTest(java.lang.String testName)
           
 
Method Summary
private  void displayTrainingTree(HierarchyTree root)
           
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testParseTreeFile()
          Test of parseTreeFile method, of class classification.TrainingFileParser.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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
 

Constructor Detail

TreeFileParserTest

public TreeFileParserTest(java.lang.String testName)
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

testParseTreeFile

public void testParseTreeFile()
                       throws java.lang.Exception
Test of parseTreeFile method, of class classification.TrainingFileParser.

Throws:
java.lang.Exception

displayTrainingTree

private void displayTrainingTree(HierarchyTree root)
                          throws java.io.IOException
Throws:
java.io.IOException