Search in sources :

Example 16 with BxmlNodeVisitor

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

the class CloseElementNodeTest method testVisitor.

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

Example 17 with BxmlNodeVisitor

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

the class CloseEmptyElementNodeTest method testVisitor.

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

Example 18 with BxmlNodeVisitor

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

the class CloseStartElementNodeTest method testVisitor.

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

Example 19 with BxmlNodeVisitor

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

the class EndOfStreamNodeTest method testVisitor.

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

Example 20 with BxmlNodeVisitor

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

the class NameStringNodeTest method testVisitor.

@Test
public void testVisitor() throws IOException {
    BxmlNodeVisitor mock = mock(BxmlNodeVisitor.class);
    nameStringNode.accept(mock);
    verify(mock).visit(nameStringNode);
    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