Examples of typedValue()


Examples of org.camunda.bpm.engine.rest.helper.MockHistoricVariableInstanceBuilder.typedValue()

  @Test
  public void testGetSingleVariableInstanceForBinaryVariable() {
    MockHistoricVariableInstanceBuilder builder = MockProvider.mockHistoricVariableInstance();

    HistoricVariableInstance variableInstanceMock = builder
      .typedValue(Variables.byteArrayValue(null))
      .build();

    when(variableInstanceQueryMock.variableId(variableInstanceMock.getId())).thenReturn(variableInstanceQueryMock);
    when(variableInstanceQueryMock.disableBinaryFetching()).thenReturn(variableInstanceQueryMock);
View Full Code Here

Examples of org.camunda.bpm.engine.rest.helper.MockHistoricVariableUpdateBuilder.typedValue()

  @Test
  public void testGetSingleVariableInstanceForBinaryVariable() {
    MockHistoricVariableUpdateBuilder builder = MockProvider.mockHistoricVariableUpdate();

    HistoricVariableUpdate detailMock = builder
        .typedValue(Variables.byteArrayValue(null))
        .build();

    when(historicDetailQueryMock.detailId(detailMock.getId())).thenReturn(historicDetailQueryMock);
    when(historicDetailQueryMock.disableBinaryFetching()).thenReturn(historicDetailQueryMock);
View Full Code Here

Examples of org.camunda.bpm.engine.rest.helper.MockHistoricVariableUpdateBuilder.typedValue()

  public void testBinaryDataForBinaryVariable() {
    final byte[] byteContent = "some bytes".getBytes();

    MockHistoricVariableUpdateBuilder builder = MockProvider.mockHistoricVariableUpdate();

    HistoricVariableUpdate detailMock = builder
        .typedValue(Variables.byteArrayValue(byteContent))
        .build();

    when(historicDetailQueryMock.detailId(detailMock.getId())).thenReturn(historicDetailQueryMock);
    when(historicDetailQueryMock.disableCustomObjectDeserialization()).thenReturn(historicDetailQueryMock);
View Full Code Here

Examples of org.camunda.bpm.engine.rest.helper.MockVariableInstanceBuilder.typedValue()

  @Test
  public void testGetSingleVariableInstanceForBinaryVariable() {
    MockVariableInstanceBuilder builder = MockProvider.mockVariableInstance();
    VariableInstance variableInstanceMock =
        builder
          .typedValue(Variables.byteArrayValue(null))
          .build();

    when(variableInstanceQueryMock.variableId(variableInstanceMock.getId())).thenReturn(variableInstanceQueryMock);
    when(variableInstanceQueryMock.disableBinaryFetching()).thenReturn(variableInstanceQueryMock);
View Full Code Here

Examples of xbird.xquery.dm.value.node.DMAttribute.typedValue()

                }
            } else if(byIDRef && nodekind == NodeKind.ATTRIBUTE) {
                if(curNode instanceof DMAttribute) {
                    DMAttribute att = (DMAttribute) curNode;
                    if(att.isIdrefs()) {
                        String val = att.typedValue().stringValue();
                        if(id.equals(val)) {
                            nodes.add(att);
                        }
                        continue;
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.