Search in sources :

Example 21 with BxmlNodeVisitor

use of org.apache.nifi.processors.evtx.parser.BxmlNodeVisitor in project nifi by apache.

the class OpenStartElementNodeTest method testVisitor.

@Test
public void testVisitor() throws IOException {
    BxmlNodeVisitor mock = mock(BxmlNodeVisitor.class);
    openStartElementNode.accept(mock);
    verify(mock).visit(openStartElementNode);
    verifyNoMoreInteractions(mock);
}
Also used : BxmlNodeVisitor(org.apache.nifi.processors.evtx.parser.BxmlNodeVisitor) Test(org.junit.Test)

Example 22 with BxmlNodeVisitor

use of org.apache.nifi.processors.evtx.parser.BxmlNodeVisitor in project nifi by apache.

the class TemplateNodeTest method testVisitor.

@Test
public void testVisitor() throws IOException {
    BxmlNodeVisitor mock = mock(BxmlNodeVisitor.class);
    templateNode.accept(mock);
    verify(mock).visit(templateNode);
    verifyNoMoreInteractions(mock);
}
Also used : BxmlNodeVisitor(org.apache.nifi.processors.evtx.parser.BxmlNodeVisitor) Test(org.junit.Test)

Example 23 with BxmlNodeVisitor

use of org.apache.nifi.processors.evtx.parser.BxmlNodeVisitor in project nifi by apache.

the class ValueNodeTest method testVisitor.

@Test
public void testVisitor() throws IOException {
    BxmlNodeVisitor mock = mock(BxmlNodeVisitor.class);
    valueNode.accept(mock);
    verify(mock).visit(valueNode);
    verifyNoMoreInteractions(mock);
}
Also used : BxmlNodeVisitor(org.apache.nifi.processors.evtx.parser.BxmlNodeVisitor) Test(org.junit.Test)

Aggregations

BxmlNodeVisitor (org.apache.nifi.processors.evtx.parser.BxmlNodeVisitor)23 Test (org.junit.Test)23 AttributeNode (org.apache.nifi.processors.evtx.parser.bxml.AttributeNode)4 VariantTypeNode (org.apache.nifi.processors.evtx.parser.bxml.value.VariantTypeNode)3 BxmlNode (org.apache.nifi.processors.evtx.parser.bxml.BxmlNode)2 ConditionalSubstitutionNode (org.apache.nifi.processors.evtx.parser.bxml.ConditionalSubstitutionNode)1 NormalSubstitutionNode (org.apache.nifi.processors.evtx.parser.bxml.NormalSubstitutionNode)1 RootNode (org.apache.nifi.processors.evtx.parser.bxml.RootNode)1 ValueNode (org.apache.nifi.processors.evtx.parser.bxml.ValueNode)1