Search in sources :

Example 6 with BxmlNodeVisitor

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

the class ConditionalSubstitutionNodeTest method testVisitor.

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

Example 7 with BxmlNodeVisitor

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

the class EntityReferenceNodeTest method testVisitor.

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

Example 8 with BxmlNodeVisitor

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

the class NormalSubstitutionNodeTest method testVisitor.

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

Example 9 with BxmlNodeVisitor

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

the class ProcessingInstructionDataNodeTest method testVisitor.

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

Example 10 with BxmlNodeVisitor

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

the class ProcessingInstructionTargetNodeTest method testVisitor.

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