public class XmlDomHandlerTest extends XmlDomHandler
XmlDomHandler.XmlType
限定符和类型 | 字段和说明 |
---|---|
private static java.lang.String |
COMPONENT |
private static java.lang.String |
COUPLING |
private static java.lang.String |
FILE_COMPONENT1 |
private static java.lang.String |
FILE_COUPLING |
private static java.lang.String |
FILE_INTERPOLATION |
org.junit.rules.ExpectedException |
thrown |
document
构造器和说明 |
---|
XmlDomHandlerTest() |
限定符和类型 | 方法和说明 |
---|---|
private static java.io.File |
createNewFile(java.lang.String filename) |
void |
testBuildComponent()
Test method for
XmlDomHandler.buildComponent() . |
void |
testBuildCoupling()
Test method for
XmlDomHandler.buildCoupling() . |
void |
testParseXml()
Test method for
XmlDomHandler.parseXml(String, XmlType) . |
void |
testParseXmlException_FileNotFound()
Test method for
XmlDomHandler.parseXml(String, XmlType) . |
void |
testParseXmlException_notValidating1()
Test method for
XmlDomHandler.parseXml(String, XmlType) . |
void |
testWriteCouplingToFile() |
void |
testXmlDomHandler()
Test method for
XmlDomHandler . |
buildComponent, buildCoupling, getErrorHandlerMessages, parseXml, writeCouplingToFile
private static final java.lang.String FILE_COUPLING
private static final java.lang.String FILE_COMPONENT1
private static final java.lang.String FILE_INTERPOLATION
private static final java.lang.String COUPLING
private static final java.lang.String COMPONENT
public org.junit.rules.ExpectedException thrown
public XmlDomHandlerTest() throws XmlDomHandlerException
public void testXmlDomHandler()
XmlDomHandler
.public void testParseXml()
XmlDomHandler.parseXml(String, XmlType)
.public void testParseXmlException_FileNotFound() throws XmlDomHandlerException
XmlDomHandler.parseXml(String, XmlType)
.public void testParseXmlException_notValidating1() throws XmlDomHandlerException
XmlDomHandler.parseXml(String, XmlType)
.public void testBuildComponent()
XmlDomHandler.buildComponent()
.public void testBuildCoupling()
XmlDomHandler.buildCoupling()
.public void testWriteCouplingToFile()
private static java.io.File createNewFile(java.lang.String filename)