|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.modularinput.ModularInputTestCase com.splunk.modularinput.SchemeTest
public class SchemeTest
Tests for the com.splunk.modularinput.Scheme and com.splunk.modularinput.Argument classes that define a modular input scheme to send to Splunk.
Constructor Summary | |
---|---|
SchemeTest()
|
Method Summary | |
---|---|
void |
testGenerateXmlFromArgument()
Checks that the XML generated by an Argument class with all its possible values set is what we expect. |
void |
testGenerateXmlFromArgumentWithDefaultValues()
Checks that the XML produced from an Argument class that is initialized but has no additional manipulations made to it is what we expect. |
void |
testGenerateXmlFromScheme()
Checks that the XML generated by a Scheme object with all its fields set and some arguments added matches what we expect. |
void |
testGenerateXmlFromSchemeWithDefaultValues()
Checks the Scheme generated by creating a Scheme object and setting no fields on it. |
Methods inherited from class com.splunk.modularinput.ModularInputTestCase |
---|
assertXmlEqual, assertXmlEqual, nodeToXml, removeBlankTextNodes, resourceToXmlDocument, stringToXmlDocument, testCoercionMethods, testNormalizeBoolean |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemeTest()
Method Detail |
---|
public void testGenerateXmlFromSchemeWithDefaultValues() throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
public void testGenerateXmlFromScheme() throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
public void testGenerateXmlFromArgumentWithDefaultValues() throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
public void testGenerateXmlFromArgument() throws javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |