Package org.kie.api.runtime.manager.audit

Examples of org.kie.api.runtime.manager.audit.ProcessInstanceLog


        xmlLog.setCommandName("test-cmd");
        xmlLog.setIndex(2);
        JaxbProcessInstanceLog newXmlLog = testRoundTrip(xmlLog);
        ComparePair.compareObjectsViaFields(xmlLog, newXmlLog, "id");
       
        ProcessInstanceLog newLog = newXmlLog.getResult();
        ProcessInstanceLog origCmpLog = (ProcessInstanceLog) origLog;
        assertEquals( origLog.getExternalId(), newLog.getExternalId() );
        assertEquals( origCmpLog.getIdentity(), newLog.getIdentity());
        assertEquals( origCmpLog.getOutcome(), newLog.getOutcome());
        assertEquals( origCmpLog.getProcessId(), newLog.getProcessId() );
        assertEquals( origCmpLog.getProcessName(), newLog.getProcessName() );
        assertEquals( origCmpLog.getProcessVersion(), newLog.getProcessVersion() );
        assertEquals( origCmpLog.getDuration(), newLog.getDuration() );
        assertEquals( origCmpLog.getEnd(), newLog.getEnd() );
        assertEquals( origCmpLog.getParentProcessInstanceId(), newLog.getParentProcessInstanceId() );
        assertEquals( origCmpLog.getProcessInstanceId(), newLog.getProcessInstanceId() );
        assertEquals( origCmpLog.getStart(), newLog.getStart() );
        assertEquals( origCmpLog.getStatus(), newLog.getStatus() );
    }
View Full Code Here

TOP

Related Classes of org.kie.api.runtime.manager.audit.ProcessInstanceLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.