Package uk.ac.cam.ch.wwmm.opsin
Class ParserTest
- java.lang.Object
-
- uk.ac.cam.ch.wwmm.opsin.ParserTest
-
public class ParserTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ParserTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcleanUp()static voidsetUp()voidtestConvertStringToComponentRatios1()voidtestConvertStringToComponentRatios2()voidtestConvertStringToComponentRatios3()voidtestNoParseForOneComponentSalt()voidtestParseReturnsOneWordRuleForEachMixtureComponent()voidtestParseThrowsWhenNameIsSubstituentOnly()voidtestParseThrowsWhenNameIsUninterpretable()voidtestParseUninvertsCASNomenclature()
-
-
-
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
-
testNoParseForOneComponentSalt
public void testNoParseForOneComponentSalt() 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
-
-