com.splunk.modularinput
Class ScriptTest
java.lang.Object
com.splunk.modularinput.ModularInputTestCase
com.splunk.modularinput.ScriptTest
public class ScriptTest
- extends ModularInputTestCase
Test the behavior of subclasses of the Script class. This is to check whether modular inputs really
do what they're supposed to.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptTest
public ScriptTest()
setUp
public void setUp()
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
testErrorOnScriptWithNullScheme
public void testErrorOnScriptWithNullScheme()
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
testSchemeProperlyGeneratedByScript
public void testSchemeProperlyGeneratedByScript()
throws javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
testSuccessfulValidation
public void testSuccessfulValidation()
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
testFailedValidation
public void testFailedValidation()
throws javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
testWriteEvents
public void testWriteEvents()
throws javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException
- Throws:
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException