uk.ac.cam.ch.wwmm.opsin
Class ParserTest

java.lang.Object
  extended by uk.ac.cam.ch.wwmm.opsin.ParserTest

public class ParserTest
extends java.lang.Object


Constructor Summary
ParserTest()
           
 
Method Summary
static void cleanUp()
           
static void setUp()
           
 void testConvertStringToComponentRatios1()
           
 void testConvertStringToComponentRatios2()
           
 void testConvertStringToComponentRatios3()
           
 void testParseReturnsOneWordRuleForEachMixtureComponent()
           
 void testParseThrowsWhenNameIsSubstituentOnly()
           
 void testParseThrowsWhenNameIsUninterpretable()
           
 void testParseUninvertsCASNomenclature()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserTest

public ParserTest()
Method Detail

setUp

public static void setUp()
                  throws java.io.IOException
Throws:
java.io.IOException

cleanUp

public static void cleanUp()

testParseThrowsWhenNameIsUninterpretable

public void testParseThrowsWhenNameIsUninterpretable()
                                              throws ParsingException
Throws:
ParsingException

testParseUninvertsCASNomenclature

public void testParseUninvertsCASNomenclature()
                                       throws ParsingException
Throws:
ParsingException

testParseReturnsOneWordRuleForEachMixtureComponent

public void testParseReturnsOneWordRuleForEachMixtureComponent()
                                                        throws ParsingException
Throws:
ParsingException

testParseThrowsWhenNameIsSubstituentOnly

public void testParseThrowsWhenNameIsSubstituentOnly()
                                              throws ParsingException
Throws:
ParsingException

testConvertStringToComponentRatios1

public void testConvertStringToComponentRatios1()
                                         throws ParsingException
Throws:
ParsingException

testConvertStringToComponentRatios2

public void testConvertStringToComponentRatios2()
                                         throws ParsingException
Throws:
ParsingException

testConvertStringToComponentRatios3

public void testConvertStringToComponentRatios3()
                                         throws ParsingException
Throws:
ParsingException