target stringlengths 20 113k | src_fm stringlengths 11 86.3k | src_fm_fc stringlengths 21 86.4k | src_fm_fc_co stringlengths 30 86.4k | src_fm_fc_ms stringlengths 42 86.8k | src_fm_fc_ms_ff stringlengths 43 86.8k |
|---|---|---|---|---|---|
@Test public void testToString() { MetaDataType tested = new MetaDataType(); String expected = "MetadataType{" + "name='" + MetaDataType.NAME + "\'" + "}"; assertEquals(expected, tested.toString()); } | @Override public String toString() { return "MetadataType{" + "name='" + NAME + '\'' + '}'; } | MetaDataType implements PropertyType { @Override public String toString() { return "MetadataType{" + "name='" + NAME + '\'' + '}'; } } | MetaDataType implements PropertyType { @Override public String toString() { return "MetadataType{" + "name='" + NAME + '\'' + '}'; } } | MetaDataType implements PropertyType { @Override public String toString() { return "MetadataType{" + "name='" + NAME + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | MetaDataType implements PropertyType { @Override public String toString() { return "MetadataType{" + "name='" + NAME + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; } |
@Test public void getName() { ImportsType tested = new ImportsType(); assertEquals(ImportsType.name, tested.getName()); } | @Override public String getName() { return name; } | ImportsType implements PropertyType { @Override public String getName() { return name; } } | ImportsType implements PropertyType { @Override public String getName() { return name; } } | ImportsType implements PropertyType { @Override public String getName() { return name; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | ImportsType implements PropertyType { @Override public String getName() { return name; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } |
@Test public void testEquals() { ImportsType tested1 = new ImportsType(); ImportsType tested2 = new ImportsType(); assertEquals(tested1, tested2); } | @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof ImportsType)) { return false; } ImportsType that = (ImportsType) o; if (!name.equals(that.name)) { return false; } return true; } | ImportsType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof ImportsType)) { return false; } ImportsType that = (ImportsType) o; if (!name.equals(that.name)) { return false; } return true; } } | ImportsType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof ImportsType)) { return false; } ImportsType that = (ImportsType) o; if (!name.equals(that.name)) { return false; } return true; } } | ImportsType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof ImportsType)) { return false; } ImportsType that = (ImportsType) o; if (!name.equals(that.name)) { return false; } return true; } @Override String getName(); @Override boolean equals(Obj... | ImportsType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof ImportsType)) { return false; } ImportsType that = (ImportsType) o; if (!name.equals(that.name)) { return false; } return true; } @Override String getName(); @Override boolean equals(Obj... |
@Test public void testHashCode() { ImportsType tested1 = new ImportsType(); ImportsType tested2 = new ImportsType(); assertEquals(tested1.hashCode(), tested2.hashCode()); } | @Override public int hashCode() { return Objects.hashCode(name); } | ImportsType implements PropertyType { @Override public int hashCode() { return Objects.hashCode(name); } } | ImportsType implements PropertyType { @Override public int hashCode() { return Objects.hashCode(name); } } | ImportsType implements PropertyType { @Override public int hashCode() { return Objects.hashCode(name); } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | ImportsType implements PropertyType { @Override public int hashCode() { return Objects.hashCode(name); } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } |
@Test public void testToString() { ImportsType tested = new ImportsType(); String expected = "ImportsType{" + "name='" + ImportsType.name + "\'" + "}"; assertEquals(expected, tested.toString()); } | @Override public String toString() { return "ImportsType{" + "name='" + name + '\'' + '}'; } | ImportsType implements PropertyType { @Override public String toString() { return "ImportsType{" + "name='" + name + '\'' + '}'; } } | ImportsType implements PropertyType { @Override public String toString() { return "ImportsType{" + "name='" + name + '\'' + '}'; } } | ImportsType implements PropertyType { @Override public String toString() { return "ImportsType{" + "name='" + name + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | ImportsType implements PropertyType { @Override public String toString() { return "ImportsType{" + "name='" + name + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } |
@Test public void getName() { Assert.assertEquals("stunner.bpmn.GenericServiceTaskType", new GenericServiceTaskType().getName()); } | @Override public String getName() { return name; } | GenericServiceTaskType implements PropertyType { @Override public String getName() { return name; } } | GenericServiceTaskType implements PropertyType { @Override public String getName() { return name; } } | GenericServiceTaskType implements PropertyType { @Override public String getName() { return name; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | GenericServiceTaskType implements PropertyType { @Override public String getName() { return name; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String name; } |
@Test public void equals() { GenericServiceTaskType a = new GenericServiceTaskType(); GenericServiceTaskType b = new GenericServiceTaskType(); Assert.assertTrue(a.equals(b)); } | @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; } | GenericServiceTaskType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; } } | GenericServiceTaskType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; } } | GenericServiceTaskType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; } @Override St... | GenericServiceTaskType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; } @Override St... |
@Test public void testHashCode() { GenericServiceTaskType a = new GenericServiceTaskType(); GenericServiceTaskType b = new GenericServiceTaskType(); Assert.assertEquals(a.hashCode(), b.hashCode()); } | @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode()); } | GenericServiceTaskType implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode()); } } | GenericServiceTaskType implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode()); } } | GenericServiceTaskType implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode()); } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | GenericServiceTaskType implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode()); } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String name; } |
@Test public void testGetTreePresenter() { assertEquals(treePresenter, presenter.getTreePresenter()); } | public DecisionNavigatorTreePresenter getTreePresenter() { return treePresenter; } | DecisionNavigatorPresenter { public DecisionNavigatorTreePresenter getTreePresenter() { return treePresenter; } } | DecisionNavigatorPresenter { public DecisionNavigatorTreePresenter getTreePresenter() { return treePresenter; } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final DecisionComponents de... | DecisionNavigatorPresenter { public DecisionNavigatorTreePresenter getTreePresenter() { return treePresenter; } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final DecisionComponents de... | DecisionNavigatorPresenter { public DecisionNavigatorTreePresenter getTreePresenter() { return treePresenter; } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final DecisionComponents de... |
@Test public void testToString() { Assert.assertEquals("GenericServiceTaskType{name='stunner.bpmn.GenericServiceTaskType'}", new GenericServiceTaskType().toString()); } | @Override public String toString() { return "GenericServiceTaskType{" + "name='" + name + '\'' + '}'; } | GenericServiceTaskType implements PropertyType { @Override public String toString() { return "GenericServiceTaskType{" + "name='" + name + '\'' + '}'; } } | GenericServiceTaskType implements PropertyType { @Override public String toString() { return "GenericServiceTaskType{" + "name='" + name + '\'' + '}'; } } | GenericServiceTaskType implements PropertyType { @Override public String toString() { return "GenericServiceTaskType{" + "name='" + name + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | GenericServiceTaskType implements PropertyType { @Override public String toString() { return "GenericServiceTaskType{" + "name='" + name + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String name; } |
@Test public void getName() { assertEquals(DataObjectPropertyType.NAME, dataObjectPropertyType.getName()); } | @Override public String getName() { return NAME; } | DataObjectPropertyType implements PropertyType { @Override public String getName() { return NAME; } } | DataObjectPropertyType implements PropertyType { @Override public String getName() { return NAME; } } | DataObjectPropertyType implements PropertyType { @Override public String getName() { return NAME; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | DataObjectPropertyType implements PropertyType { @Override public String getName() { return NAME; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; } |
@Test public void testHashCode() { assertEquals(new DataObjectPropertyType().hashCode(), dataObjectPropertyType.hashCode()); } | @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } | DataObjectPropertyType implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } } | DataObjectPropertyType implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } } | DataObjectPropertyType implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | DataObjectPropertyType implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; } |
@Test public void testEquals() { assertEquals(new DataObjectPropertyType(), dataObjectPropertyType); assertNotEquals(new DataObjectPropertyType(), new Object()); final DataObjectPropertyType dataObjectPropertyType = new DataObjectPropertyType(); assertEquals(dataObjectPropertyType, dataObjectPropertyType); } | @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyType)) { return false; } return true; } | DataObjectPropertyType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyType)) { return false; } return true; } } | DataObjectPropertyType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyType)) { return false; } return true; } } | DataObjectPropertyType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyType)) { return false; } return true; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString()... | DataObjectPropertyType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyType)) { return false; } return true; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString()... |
@Test public void testToString() { assertEquals(new DataObjectPropertyType().toString(), dataObjectPropertyType.toString()); } | @Override public String toString() { return "DataObjectPropertyType{" + "name='" + NAME + '\'' + '}'; } | DataObjectPropertyType implements PropertyType { @Override public String toString() { return "DataObjectPropertyType{" + "name='" + NAME + '\'' + '}'; } } | DataObjectPropertyType implements PropertyType { @Override public String toString() { return "DataObjectPropertyType{" + "name='" + NAME + '\'' + '}'; } } | DataObjectPropertyType implements PropertyType { @Override public String toString() { return "DataObjectPropertyType{" + "name='" + NAME + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | DataObjectPropertyType implements PropertyType { @Override public String toString() { return "DataObjectPropertyType{" + "name='" + NAME + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; } |
@Test public void getName() { assertEquals(DataObjectPropertyName.NAME, dataObjectPropertyName.getName()); } | @Override public String getName() { return NAME; } | DataObjectPropertyName implements PropertyType { @Override public String getName() { return NAME; } } | DataObjectPropertyName implements PropertyType { @Override public String getName() { return NAME; } } | DataObjectPropertyName implements PropertyType { @Override public String getName() { return NAME; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | DataObjectPropertyName implements PropertyType { @Override public String getName() { return NAME; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; } |
@Test public void testHashCode() { assertEquals(new DataObjectPropertyName().hashCode(), dataObjectPropertyName.hashCode()); } | @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } | DataObjectPropertyName implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } } | DataObjectPropertyName implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } } | DataObjectPropertyName implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | DataObjectPropertyName implements PropertyType { @Override public int hashCode() { return HashUtil.combineHashCodes(NAME.hashCode()); } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; } |
@Test public void testEquals() { assertEquals(new DataObjectPropertyName(), dataObjectPropertyName); assertNotEquals(new DataObjectPropertyName(), new Object()); final DataObjectPropertyName dataObjectPropertyName = new DataObjectPropertyName(); assertEquals(dataObjectPropertyName, dataObjectPropertyName); } | @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyName)) { return false; } return true; } | DataObjectPropertyName implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyName)) { return false; } return true; } } | DataObjectPropertyName implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyName)) { return false; } return true; } } | DataObjectPropertyName implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyName)) { return false; } return true; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString()... | DataObjectPropertyName implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof DataObjectPropertyName)) { return false; } return true; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString()... |
@Test public void testToString() { assertEquals(new DataObjectPropertyName().toString(), dataObjectPropertyName.toString()); } | @Override public String toString() { return "DataObjectPropertyName{" + "name='" + NAME + '\'' + '}'; } | DataObjectPropertyName implements PropertyType { @Override public String toString() { return "DataObjectPropertyName{" + "name='" + NAME + '\'' + '}'; } } | DataObjectPropertyName implements PropertyType { @Override public String toString() { return "DataObjectPropertyName{" + "name='" + NAME + '\'' + '}'; } } | DataObjectPropertyName implements PropertyType { @Override public String toString() { return "DataObjectPropertyName{" + "name='" + NAME + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); } | DataObjectPropertyName implements PropertyType { @Override public String toString() { return "DataObjectPropertyName{" + "name='" + NAME + '\'' + '}'; } @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; } |
@Test public void testHashCode() { GenericServiceTaskExecutionSet a = new GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet b = new GenericServiceTaskExecutionSet(); assertEquals(a.hashCode(), b.hashCode()); GenericServiceTaskExecutionSet c = new GenericServiceTaskExecutionSet(new GenericServiceTaskInfo(... | @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(genericServiceTaskInfo), Objects.hashCode(assignmentsinfo), Objects.hashCode(adHocAutostart), Objects.hashCode(isAsync), Objects.hashCode(isMultipleInstance), Objects.hashCode(multipleInstanceExecutionMode), Objects.hashCode(multipleIns... | GenericServiceTaskExecutionSet implements BPMNPropertySet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(genericServiceTaskInfo), Objects.hashCode(assignmentsinfo), Objects.hashCode(adHocAutostart), Objects.hashCode(isAsync), Objects.hashCode(isMultipleInstance), Objects.hashCode(... | GenericServiceTaskExecutionSet implements BPMNPropertySet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(genericServiceTaskInfo), Objects.hashCode(assignmentsinfo), Objects.hashCode(adHocAutostart), Objects.hashCode(isAsync), Objects.hashCode(isMultipleInstance), Objects.hashCode(... | GenericServiceTaskExecutionSet implements BPMNPropertySet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(genericServiceTaskInfo), Objects.hashCode(assignmentsinfo), Objects.hashCode(adHocAutostart), Objects.hashCode(isAsync), Objects.hashCode(isMultipleInstance), Objects.hashCode(... | GenericServiceTaskExecutionSet implements BPMNPropertySet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(genericServiceTaskInfo), Objects.hashCode(assignmentsinfo), Objects.hashCode(adHocAutostart), Objects.hashCode(isAsync), Objects.hashCode(isMultipleInstance), Objects.hashCode(... |
@Test public void testRefreshTreeView() { final ArrayList<DecisionNavigatorItem> items = new ArrayList<>(); doReturn(items).when(presenter).getItems(); presenter.disableRefreshHandlers(); presenter.refreshTreeView(); presenter.enableRefreshHandlers(); presenter.refreshTreeView(); verify(treePresenter).setupItems(items)... | public void refreshTreeView() { if (isRefreshHandlersEnabled()) { treePresenter.setupItems(getItems()); } } | DecisionNavigatorPresenter { public void refreshTreeView() { if (isRefreshHandlersEnabled()) { treePresenter.setupItems(getItems()); } } } | DecisionNavigatorPresenter { public void refreshTreeView() { if (isRefreshHandlersEnabled()) { treePresenter.setupItems(getItems()); } } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
fi... | DecisionNavigatorPresenter { public void refreshTreeView() { if (isRefreshHandlersEnabled()) { treePresenter.setupItems(getItems()); } } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
fi... | DecisionNavigatorPresenter { public void refreshTreeView() { if (isRefreshHandlersEnabled()) { treePresenter.setupItems(getItems()); } } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
fi... |
@Test public void testEquals() { GenericServiceTaskExecutionSet a = new GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet b = new GenericServiceTaskExecutionSet(); assertEquals(a, b); GenericServiceTaskExecutionSet c = new GenericServiceTaskExecutionSet(new GenericServiceTaskInfo(), new AssignmentsInfo()... | @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskExecutionSet) { GenericServiceTaskExecutionSet other = (GenericServiceTaskExecutionSet) o; return Objects.equals(genericServiceTaskInfo, other.genericServiceTaskInfo) && Objects.equals(assignmentsinfo, other.assignmentsinfo) && Objects.equal... | GenericServiceTaskExecutionSet implements BPMNPropertySet { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskExecutionSet) { GenericServiceTaskExecutionSet other = (GenericServiceTaskExecutionSet) o; return Objects.equals(genericServiceTaskInfo, other.genericServiceTaskInfo) && Objects.equ... | GenericServiceTaskExecutionSet implements BPMNPropertySet { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskExecutionSet) { GenericServiceTaskExecutionSet other = (GenericServiceTaskExecutionSet) o; return Objects.equals(genericServiceTaskInfo, other.genericServiceTaskInfo) && Objects.equ... | GenericServiceTaskExecutionSet implements BPMNPropertySet { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskExecutionSet) { GenericServiceTaskExecutionSet other = (GenericServiceTaskExecutionSet) o; return Objects.equals(genericServiceTaskInfo, other.genericServiceTaskInfo) && Objects.equ... | GenericServiceTaskExecutionSet implements BPMNPropertySet { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskExecutionSet) { GenericServiceTaskExecutionSet other = (GenericServiceTaskExecutionSet) o; return Objects.equals(genericServiceTaskInfo, other.genericServiceTaskInfo) && Objects.equ... |
@Test public void testEqualFalse() { GenericServiceTaskExecutionSet a = new GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet b = new GenericServiceTaskExecutionSet(); a.setGenericServiceTaskInfo(null); assertNotEquals(a, b); GenericServiceTaskExecutionSet c = new GenericServiceTaskExecutionSet(new Gener... | public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } | GenericServiceTaskExecutionSet implements BPMNPropertySet { public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } } | GenericServiceTaskExecutionSet implements BPMNPropertySet { public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServ... | GenericServiceTaskExecutionSet implements BPMNPropertySet { public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServ... | GenericServiceTaskExecutionSet implements BPMNPropertySet { public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServ... |
@Test public void testEqualTrue() { GenericServiceTaskExecutionSet a = new GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet b = new GenericServiceTaskExecutionSet(); a.setGenericServiceTaskInfo(new GenericServiceTaskInfo()); assertEquals(a, b); GenericServiceTaskExecutionSet c = new GenericServiceTaskEx... | public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } | GenericServiceTaskExecutionSet implements BPMNPropertySet { public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } } | GenericServiceTaskExecutionSet implements BPMNPropertySet { public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServ... | GenericServiceTaskExecutionSet implements BPMNPropertySet { public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServ... | GenericServiceTaskExecutionSet implements BPMNPropertySet { public void setGenericServiceTaskInfo(GenericServiceTaskInfo genericServiceTaskInfo) { this.genericServiceTaskInfo = genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServ... |
@Test public void testGetGenericServiceTaskInfo() { GenericServiceTaskExecutionSet a = new GenericServiceTaskExecutionSet(); assertEquals(new GenericServiceTaskInfo(), a.getGenericServiceTaskInfo()); } | public GenericServiceTaskInfo getGenericServiceTaskInfo() { return genericServiceTaskInfo; } | GenericServiceTaskExecutionSet implements BPMNPropertySet { public GenericServiceTaskInfo getGenericServiceTaskInfo() { return genericServiceTaskInfo; } } | GenericServiceTaskExecutionSet implements BPMNPropertySet { public GenericServiceTaskInfo getGenericServiceTaskInfo() { return genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServiceTaskInfo genericServiceTaskInfo,
... | GenericServiceTaskExecutionSet implements BPMNPropertySet { public GenericServiceTaskInfo getGenericServiceTaskInfo() { return genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServiceTaskInfo genericServiceTaskInfo,
... | GenericServiceTaskExecutionSet implements BPMNPropertySet { public GenericServiceTaskInfo getGenericServiceTaskInfo() { return genericServiceTaskInfo; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServiceTaskInfo genericServiceTaskInfo,
... |
@Test public void testGetSlaDueDate() { GenericServiceTaskExecutionSet a = new GenericServiceTaskExecutionSet( new GenericServiceTaskInfo(), new AssignmentsInfo(), new AdHocAutostart(), new IsAsync(), new IsMultipleInstance(false), new MultipleInstanceExecutionMode(false), new MultipleInstanceCollectionInput(), new Mul... | public SLADueDate getSlaDueDate() { return slaDueDate; } | GenericServiceTaskExecutionSet implements BPMNPropertySet { public SLADueDate getSlaDueDate() { return slaDueDate; } } | GenericServiceTaskExecutionSet implements BPMNPropertySet { public SLADueDate getSlaDueDate() { return slaDueDate; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServiceTaskInfo genericServiceTaskInfo,
final @M... | GenericServiceTaskExecutionSet implements BPMNPropertySet { public SLADueDate getSlaDueDate() { return slaDueDate; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServiceTaskInfo genericServiceTaskInfo,
final @M... | GenericServiceTaskExecutionSet implements BPMNPropertySet { public SLADueDate getSlaDueDate() { return slaDueDate; } GenericServiceTaskExecutionSet(); GenericServiceTaskExecutionSet(final @MapsTo("genericServiceTaskInfo") GenericServiceTaskInfo genericServiceTaskInfo,
final @M... |
@Test public void testToString() { GenericServiceTaskValue a = new GenericServiceTaskValue(); Assert.assertEquals("GenericServiceTaskValue{serviceImplementation='Java', serviceInterface='', " + "serviceOperation='', inMessageStructure='', outMessagetructure=''}", a.toString()); } | @Override public String toString() { final StringBuilder sb = new StringBuilder("GenericServiceTaskValue{"); sb.append("serviceImplementation='").append(serviceImplementation).append('\''); sb.append(", serviceInterface='").append(serviceInterface).append('\''); sb.append(", serviceOperation='").append(serviceOperation... | GenericServiceTaskValue { @Override public String toString() { final StringBuilder sb = new StringBuilder("GenericServiceTaskValue{"); sb.append("serviceImplementation='").append(serviceImplementation).append('\''); sb.append(", serviceInterface='").append(serviceInterface).append('\''); sb.append(", serviceOperation='... | GenericServiceTaskValue { @Override public String toString() { final StringBuilder sb = new StringBuilder("GenericServiceTaskValue{"); sb.append("serviceImplementation='").append(serviceImplementation).append('\''); sb.append(", serviceInterface='").append(serviceInterface).append('\''); sb.append(", serviceOperation='... | GenericServiceTaskValue { @Override public String toString() { final StringBuilder sb = new StringBuilder("GenericServiceTaskValue{"); sb.append("serviceImplementation='").append(serviceImplementation).append('\''); sb.append(", serviceInterface='").append(serviceInterface).append('\''); sb.append(", serviceOperation='... | GenericServiceTaskValue { @Override public String toString() { final StringBuilder sb = new StringBuilder("GenericServiceTaskValue{"); sb.append("serviceImplementation='").append(serviceImplementation).append('\''); sb.append(", serviceInterface='").append(serviceInterface).append('\''); sb.append(", serviceOperation='... |
@Test public void testHashCode() { GenericServiceTaskValue a = new GenericServiceTaskValue(); GenericServiceTaskValue b = new GenericServiceTaskValue(); Assert.assertEquals(a.hashCode(), b.hashCode()); } | @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(serviceImplementation), Objects.hashCode(serviceInterface), Objects.hashCode(serviceOperation), Objects.hashCode(inMessageStructure), Objects.hashCode(outMessagetructure)); } | GenericServiceTaskValue { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(serviceImplementation), Objects.hashCode(serviceInterface), Objects.hashCode(serviceOperation), Objects.hashCode(inMessageStructure), Objects.hashCode(outMessagetructure)); } } | GenericServiceTaskValue { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(serviceImplementation), Objects.hashCode(serviceInterface), Objects.hashCode(serviceOperation), Objects.hashCode(inMessageStructure), Objects.hashCode(outMessagetructure)); } GenericServiceTaskValue(); Generic... | GenericServiceTaskValue { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(serviceImplementation), Objects.hashCode(serviceInterface), Objects.hashCode(serviceOperation), Objects.hashCode(inMessageStructure), Objects.hashCode(outMessagetructure)); } GenericServiceTaskValue(); Generic... | GenericServiceTaskValue { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(serviceImplementation), Objects.hashCode(serviceInterface), Objects.hashCode(serviceOperation), Objects.hashCode(inMessageStructure), Objects.hashCode(outMessagetructure)); } GenericServiceTaskValue(); Generic... |
@Test public void equals() { GenericServiceTaskValue a = new GenericServiceTaskValue(); GenericServiceTaskValue b = new GenericServiceTaskValue(); Assert.assertTrue(a.equals(b)); } | @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskValue) { GenericServiceTaskValue other = (GenericServiceTaskValue) o; return Objects.equals(serviceImplementation, other.serviceImplementation) && Objects.equals(serviceInterface, other.serviceInterface) && Objects.equals(serviceOperation, o... | GenericServiceTaskValue { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskValue) { GenericServiceTaskValue other = (GenericServiceTaskValue) o; return Objects.equals(serviceImplementation, other.serviceImplementation) && Objects.equals(serviceInterface, other.serviceInterface) && Objects.... | GenericServiceTaskValue { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskValue) { GenericServiceTaskValue other = (GenericServiceTaskValue) o; return Objects.equals(serviceImplementation, other.serviceImplementation) && Objects.equals(serviceInterface, other.serviceInterface) && Objects.... | GenericServiceTaskValue { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskValue) { GenericServiceTaskValue other = (GenericServiceTaskValue) o; return Objects.equals(serviceImplementation, other.serviceImplementation) && Objects.equals(serviceInterface, other.serviceInterface) && Objects.... | GenericServiceTaskValue { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskValue) { GenericServiceTaskValue other = (GenericServiceTaskValue) o; return Objects.equals(serviceImplementation, other.serviceImplementation) && Objects.equals(serviceInterface, other.serviceInterface) && Objects.... |
@Test public void testHashCode() { GenericServiceTaskInfo a = new GenericServiceTaskInfo(); GenericServiceTaskInfo b = new GenericServiceTaskInfo(); assertEquals(a.hashCode(), b.hashCode()); } | @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(value)); } | GenericServiceTaskInfo implements BPMNProperty { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(value)); } } | GenericServiceTaskInfo implements BPMNProperty { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(value)); } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value") final GenericServiceTaskValue value); } | GenericServiceTaskInfo implements BPMNProperty { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(value)); } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value") final GenericServiceTaskValue value); GenericServiceTaskValue getValue(); void setValue(final GenericServiceT... | GenericServiceTaskInfo implements BPMNProperty { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(value)); } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value") final GenericServiceTaskValue value); GenericServiceTaskValue getValue(); void setValue(final GenericServiceT... |
@Test public void testEquals() { GenericServiceTaskInfo a = new GenericServiceTaskInfo(); GenericServiceTaskInfo b = new GenericServiceTaskInfo(); Assert.assertTrue(a.equals(b)); } | @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskInfo) { GenericServiceTaskInfo other = (GenericServiceTaskInfo) o; return Objects.equals(value, other.value); } return false; } | GenericServiceTaskInfo implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskInfo) { GenericServiceTaskInfo other = (GenericServiceTaskInfo) o; return Objects.equals(value, other.value); } return false; } } | GenericServiceTaskInfo implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskInfo) { GenericServiceTaskInfo other = (GenericServiceTaskInfo) o; return Objects.equals(value, other.value); } return false; } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value... | GenericServiceTaskInfo implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskInfo) { GenericServiceTaskInfo other = (GenericServiceTaskInfo) o; return Objects.equals(value, other.value); } return false; } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value... | GenericServiceTaskInfo implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof GenericServiceTaskInfo) { GenericServiceTaskInfo other = (GenericServiceTaskInfo) o; return Objects.equals(value, other.value); } return false; } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value... |
@Test public void testRefresh() { doReturn(true).when(dmnDiagramsSession).isSessionStatePresent(); presenter.refresh(); verify(presenter).refreshTreeView(); verify(presenter).refreshComponentsView(); } | public void refresh() { if (dmnDiagramsSession.isSessionStatePresent()) { refreshTreeView(); refreshComponentsView(); } } | DecisionNavigatorPresenter { public void refresh() { if (dmnDiagramsSession.isSessionStatePresent()) { refreshTreeView(); refreshComponentsView(); } } } | DecisionNavigatorPresenter { public void refresh() { if (dmnDiagramsSession.isSessionStatePresent()) { refreshTreeView(); refreshComponentsView(); } } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
... | DecisionNavigatorPresenter { public void refresh() { if (dmnDiagramsSession.isSessionStatePresent()) { refreshTreeView(); refreshComponentsView(); } } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
... | DecisionNavigatorPresenter { public void refresh() { if (dmnDiagramsSession.isSessionStatePresent()) { refreshTreeView(); refreshComponentsView(); } } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
... |
@Test public void testGetValue() { Assert.assertEquals(new GenericServiceTaskInfo().getValue(), new GenericServiceTaskInfo(new GenericServiceTaskValue()).getValue()); } | public GenericServiceTaskValue getValue() { return value; } | GenericServiceTaskInfo implements BPMNProperty { public GenericServiceTaskValue getValue() { return value; } } | GenericServiceTaskInfo implements BPMNProperty { public GenericServiceTaskValue getValue() { return value; } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value") final GenericServiceTaskValue value); } | GenericServiceTaskInfo implements BPMNProperty { public GenericServiceTaskValue getValue() { return value; } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value") final GenericServiceTaskValue value); GenericServiceTaskValue getValue(); void setValue(final GenericServiceTaskValue value); @Override int hash... | GenericServiceTaskInfo implements BPMNProperty { public GenericServiceTaskValue getValue() { return value; } GenericServiceTaskInfo(); GenericServiceTaskInfo(@MapsTo("value") final GenericServiceTaskValue value); GenericServiceTaskValue getValue(); void setValue(final GenericServiceTaskValue value); @Override int hash... |
@Test public void testEquals() { assertTrue(new ProcessType().equals(new ProcessType())); ProcessType test = new ProcessType(); test.setValue("value"); assertFalse(test.equals(new ProcessType())); assertFalse(test.equals(new Object())); } | @Override public boolean equals(Object o) { if (o instanceof ProcessType) { ProcessType other = (ProcessType) o; return (null != value) ? value.equals(other.value) : null == other.value; } return false; } | ProcessType implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof ProcessType) { ProcessType other = (ProcessType) o; return (null != value) ? value.equals(other.value) : null == other.value; } return false; } } | ProcessType implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof ProcessType) { ProcessType other = (ProcessType) o; return (null != value) ? value.equals(other.value) : null == other.value; } return false; } ProcessType(); ProcessType(String value); } | ProcessType implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof ProcessType) { ProcessType other = (ProcessType) o; return (null != value) ? value.equals(other.value) : null == other.value; } return false; } ProcessType(); ProcessType(String value); String getValue(); void setValue(f... | ProcessType implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof ProcessType) { ProcessType other = (ProcessType) o; return (null != value) ? value.equals(other.value) : null == other.value; } return false; } ProcessType(); ProcessType(String value); String getValue(); void setValue(f... |
@Test public void testGetValue() { assertTrue(new ProcessType().getValue().equals("Public")); } | public String getValue() { return value; } | ProcessType implements BPMNProperty { public String getValue() { return value; } } | ProcessType implements BPMNProperty { public String getValue() { return value; } ProcessType(); ProcessType(String value); } | ProcessType implements BPMNProperty { public String getValue() { return value; } ProcessType(); ProcessType(String value); String getValue(); void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); } | ProcessType implements BPMNProperty { public String getValue() { return value; } ProcessType(); ProcessType(String value); String getValue(); void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); } |
@Test public void testSetValue() { ProcessType test = new ProcessType(); test.setValue("Private"); assertTrue(test.getValue().equals("Private")); } | public void setValue(final String value) { this.value = value; } | ProcessType implements BPMNProperty { public void setValue(final String value) { this.value = value; } } | ProcessType implements BPMNProperty { public void setValue(final String value) { this.value = value; } ProcessType(); ProcessType(String value); } | ProcessType implements BPMNProperty { public void setValue(final String value) { this.value = value; } ProcessType(); ProcessType(String value); String getValue(); void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); } | ProcessType implements BPMNProperty { public void setValue(final String value) { this.value = value; } ProcessType(); ProcessType(String value); String getValue(); void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); } |
@Test public void testHashCode() { ProcessType test = new ProcessType(); assertTrue(test.getValue().hashCode() == test.hashCode()); } | @Override public int hashCode() { return (null != value) ? value.hashCode() : 0; } | ProcessType implements BPMNProperty { @Override public int hashCode() { return (null != value) ? value.hashCode() : 0; } } | ProcessType implements BPMNProperty { @Override public int hashCode() { return (null != value) ? value.hashCode() : 0; } ProcessType(); ProcessType(String value); } | ProcessType implements BPMNProperty { @Override public int hashCode() { return (null != value) ? value.hashCode() : 0; } ProcessType(); ProcessType(String value); String getValue(); void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); } | ProcessType implements BPMNProperty { @Override public int hashCode() { return (null != value) ? value.hashCode() : 0; } ProcessType(); ProcessType(String value); String getValue(); void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); } |
@Test public void testNameInvalid() { tested.setName(new Name(NAME_INVALID)); Set<ConstraintViolation<DiagramSet>> violations = this.validator.validate(tested); assertEquals(1, violations.size()); } | public void setName(final Name name) { this.name = name; } | DiagramSet implements BaseDiagramSet { public void setName(final Name name) { this.name = name; } } | DiagramSet implements BaseDiagramSet { public void setName(final Name name) { this.name = name; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @Map... | DiagramSet implements BaseDiagramSet { public void setName(final Name name) { this.name = name; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @Map... | DiagramSet implements BaseDiagramSet { public void setName(final Name name) { this.name = name; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @Map... |
@Test public void testIDInvalid() { tested.setId(new Id(ID_INVALID)); Set<ConstraintViolation<DiagramSet>> violations = this.validator.validate(tested); assertEquals(1, violations.size()); } | public void setId(Id id) { this.id = id; } | DiagramSet implements BaseDiagramSet { public void setId(Id id) { this.id = id; } } | DiagramSet implements BaseDiagramSet { public void setId(Id id) { this.id = id; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @MapsTo("packageProp... | DiagramSet implements BaseDiagramSet { public void setId(Id id) { this.id = id; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @MapsTo("packageProp... | DiagramSet implements BaseDiagramSet { public void setId(Id id) { this.id = id; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @MapsTo("packageProp... |
@Test public void testPackageInvalid() { tested.setPackageProperty(new Package(PACKAGE_INVALID)); Set<ConstraintViolation<DiagramSet>> violations = this.validator.validate(tested); assertEquals(1, violations.size()); } | public void setPackageProperty(final Package packageProperty) { this.packageProperty = packageProperty; } | DiagramSet implements BaseDiagramSet { public void setPackageProperty(final Package packageProperty) { this.packageProperty = packageProperty; } } | DiagramSet implements BaseDiagramSet { public void setPackageProperty(final Package packageProperty) { this.packageProperty = packageProperty; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsT... | DiagramSet implements BaseDiagramSet { public void setPackageProperty(final Package packageProperty) { this.packageProperty = packageProperty; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsT... | DiagramSet implements BaseDiagramSet { public void setPackageProperty(final Package packageProperty) { this.packageProperty = packageProperty; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsT... |
@Test public void testVersionInvalid() { tested.setVersion(new Version(VERSION_INVALID)); Set<ConstraintViolation<DiagramSet>> violations = this.validator.validate(tested); assertEquals(1, violations.size()); } | public void setVersion(final Version version) { this.version = version; } | DiagramSet implements BaseDiagramSet { public void setVersion(final Version version) { this.version = version; } } | DiagramSet implements BaseDiagramSet { public void setVersion(final Version version) { this.version = version; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
... | DiagramSet implements BaseDiagramSet { public void setVersion(final Version version) { this.version = version; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
... | DiagramSet implements BaseDiagramSet { public void setVersion(final Version version) { this.version = version; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
... |
@Test public void testGetImports() { DiagramSet diagramSet = new DiagramSet(); assertEquals(new Imports(), diagramSet.getImports()); } | @Override public Imports getImports() { return imports; } | DiagramSet implements BaseDiagramSet { @Override public Imports getImports() { return imports; } } | DiagramSet implements BaseDiagramSet { @Override public Imports getImports() { return imports; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @Maps... | DiagramSet implements BaseDiagramSet { @Override public Imports getImports() { return imports; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @Maps... | DiagramSet implements BaseDiagramSet { @Override public Imports getImports() { return imports; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
final @Maps... |
@Test public void testRemoveAllElements() { presenter.removeAllElements(); verify(treePresenter).removeAllItems(); verify(decisionComponents).removeAllItems(); } | public void removeAllElements() { treePresenter.removeAllItems(); decisionComponents.removeAllItems(); } | DecisionNavigatorPresenter { public void removeAllElements() { treePresenter.removeAllItems(); decisionComponents.removeAllItems(); } } | DecisionNavigatorPresenter { public void removeAllElements() { treePresenter.removeAllItems(); decisionComponents.removeAllItems(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final... | DecisionNavigatorPresenter { public void removeAllElements() { treePresenter.removeAllItems(); decisionComponents.removeAllItems(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final... | DecisionNavigatorPresenter { public void removeAllElements() { treePresenter.removeAllItems(); decisionComponents.removeAllItems(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final... |
@Test public void testGetDiagramByPath() { when(diagramService.getDiagramByPath(path)).thenReturn(diagram); Diagram<Graph, Metadata> actualDiagram = helper.getDiagramByPath(path); assertEquals(diagram, actualDiagram); } | public Diagram<Graph, Metadata> getDiagramByPath(final Path path) { return diagramService.getDiagramByPath(path); } | DMNDiagramHelper { public Diagram<Graph, Metadata> getDiagramByPath(final Path path) { return diagramService.getDiagramByPath(path); } } | DMNDiagramHelper { public Diagram<Graph, Metadata> getDiagramByPath(final Path path) { return diagramService.getDiagramByPath(path); } @Inject DMNDiagramHelper(final DiagramService diagramService,
final DMNDiagramUtils dmnDiagramUtils); } | DMNDiagramHelper { public Diagram<Graph, Metadata> getDiagramByPath(final Path path) { return diagramService.getDiagramByPath(path); } @Inject DMNDiagramHelper(final DiagramService diagramService,
final DMNDiagramUtils dmnDiagramUtils); List<DRGElement> getNodes(final Diagram diagram); List... | DMNDiagramHelper { public Diagram<Graph, Metadata> getDiagramByPath(final Path path) { return diagramService.getDiagramByPath(path); } @Inject DMNDiagramHelper(final DiagramService diagramService,
final DMNDiagramUtils dmnDiagramUtils); List<DRGElement> getNodes(final Diagram diagram); List... |
@Test public void testSetImports() { DefaultImport defaultImport = new DefaultImport("className"); WSDLImport wsdlImport = new WSDLImport("location", "namespace"); ImportsValue importsValue = new ImportsValue(); importsValue.addImport(defaultImport); importsValue.addImport(wsdlImport); Imports imports = new Imports(imp... | public void setImports(Imports imports) { this.imports = imports; } | DiagramSet implements BaseDiagramSet { public void setImports(Imports imports) { this.imports = imports; } } | DiagramSet implements BaseDiagramSet { public void setImports(Imports imports) { this.imports = imports; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
f... | DiagramSet implements BaseDiagramSet { public void setImports(Imports imports) { this.imports = imports; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
f... | DiagramSet implements BaseDiagramSet { public void setImports(Imports imports) { this.imports = imports; } DiagramSet(); DiagramSet(final @MapsTo("name") Name name,
final @MapsTo("documentation") Documentation documentation,
final @MapsTo("id") Id id,
f... |
@Test public void testHashCode() { DiagramSet a = new DiagramSet(); DiagramSet b = new DiagramSet(); assertEquals(a.hashCode(), b.hashCode()); DefaultImport defaultImport = new DefaultImport("className"); WSDLImport wsdlImport = new WSDLImport("location", "namespace"); ImportsValue importsValue = new ImportsValue(); im... | @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(name), Objects.hashCode(documentation), Objects.hashCode(id), Objects.hashCode(packageProperty), Objects.hashCode(processType), Objects.hashCode(version), Objects.hashCode(adHoc), Objects.hashCode(processInstanceDescription), Objects.ha... | DiagramSet implements BaseDiagramSet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(name), Objects.hashCode(documentation), Objects.hashCode(id), Objects.hashCode(packageProperty), Objects.hashCode(processType), Objects.hashCode(version), Objects.hashCode(adHoc), Objects.hashCode(... | DiagramSet implements BaseDiagramSet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(name), Objects.hashCode(documentation), Objects.hashCode(id), Objects.hashCode(packageProperty), Objects.hashCode(processType), Objects.hashCode(version), Objects.hashCode(adHoc), Objects.hashCode(... | DiagramSet implements BaseDiagramSet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(name), Objects.hashCode(documentation), Objects.hashCode(id), Objects.hashCode(packageProperty), Objects.hashCode(processType), Objects.hashCode(version), Objects.hashCode(adHoc), Objects.hashCode(... | DiagramSet implements BaseDiagramSet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(name), Objects.hashCode(documentation), Objects.hashCode(id), Objects.hashCode(packageProperty), Objects.hashCode(processType), Objects.hashCode(version), Objects.hashCode(adHoc), Objects.hashCode(... |
@Test public void testEquals() { DiagramSet a = new DiagramSet(); DiagramSet b = new DiagramSet(); assertEquals(a, b); DefaultImport defaultImport = new DefaultImport("className"); WSDLImport wsdlImport = new WSDLImport("location", "namespace"); ImportsValue importsValue = new ImportsValue(); importsValue.addImport(def... | @Override public boolean equals(Object o) { if (o instanceof DiagramSet) { DiagramSet other = (DiagramSet) o; return Objects.equals(name, other.name) && Objects.equals(documentation, other.documentation) && Objects.equals(id, other.id) && Objects.equals(packageProperty, other.packageProperty) && Objects.equals(processT... | DiagramSet implements BaseDiagramSet { @Override public boolean equals(Object o) { if (o instanceof DiagramSet) { DiagramSet other = (DiagramSet) o; return Objects.equals(name, other.name) && Objects.equals(documentation, other.documentation) && Objects.equals(id, other.id) && Objects.equals(packageProperty, other.pack... | DiagramSet implements BaseDiagramSet { @Override public boolean equals(Object o) { if (o instanceof DiagramSet) { DiagramSet other = (DiagramSet) o; return Objects.equals(name, other.name) && Objects.equals(documentation, other.documentation) && Objects.equals(id, other.id) && Objects.equals(packageProperty, other.pack... | DiagramSet implements BaseDiagramSet { @Override public boolean equals(Object o) { if (o instanceof DiagramSet) { DiagramSet other = (DiagramSet) o; return Objects.equals(name, other.name) && Objects.equals(documentation, other.documentation) && Objects.equals(id, other.id) && Objects.equals(packageProperty, other.pack... | DiagramSet implements BaseDiagramSet { @Override public boolean equals(Object o) { if (o instanceof DiagramSet) { DiagramSet other = (DiagramSet) o; return Objects.equals(name, other.name) && Objects.equals(documentation, other.documentation) && Objects.equals(id, other.id) && Objects.equals(packageProperty, other.pack... |
@Test public void getDefaultImports() { ImportsValue tested = new ImportsValue(defaultImports, wsdlImports); assertDefaultImports(tested.getDefaultImports(), DEFAULT_IMPORTS_QTY); } | public List<DefaultImport> getDefaultImports() { return defaultImports; } | ImportsValue { public List<DefaultImport> getDefaultImports() { return defaultImports; } } | ImportsValue { public List<DefaultImport> getDefaultImports() { return defaultImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); } | ImportsValue { public List<DefaultImport> getDefaultImports() { return defaultImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<DefaultImport> getDefaultImports(); void set... | ImportsValue { public List<DefaultImport> getDefaultImports() { return defaultImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<DefaultImport> getDefaultImports(); void set... |
@Test public void setDefaultImports() { ImportsValue tested = new ImportsValue(); tested.setDefaultImports(defaultImports); assertDefaultImports(tested.getDefaultImports(), DEFAULT_IMPORTS_QTY); } | public void setDefaultImports(final List<DefaultImport> defaultImports) { this.defaultImports = defaultImports; } | ImportsValue { public void setDefaultImports(final List<DefaultImport> defaultImports) { this.defaultImports = defaultImports; } } | ImportsValue { public void setDefaultImports(final List<DefaultImport> defaultImports) { this.defaultImports = defaultImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); } | ImportsValue { public void setDefaultImports(final List<DefaultImport> defaultImports) { this.defaultImports = defaultImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<Defa... | ImportsValue { public void setDefaultImports(final List<DefaultImport> defaultImports) { this.defaultImports = defaultImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<Defa... |
@Test public void getWsdlImports() { ImportsValue tested = new ImportsValue(defaultImports, wsdlImports); assertWSDLImports(tested.getWSDLImports(), WSDL_IMPORTS_QTY); } | public List<WSDLImport> getWSDLImports() { return wsdlImports; } | ImportsValue { public List<WSDLImport> getWSDLImports() { return wsdlImports; } } | ImportsValue { public List<WSDLImport> getWSDLImports() { return wsdlImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); } | ImportsValue { public List<WSDLImport> getWSDLImports() { return wsdlImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<DefaultImport> getDefaultImports(); void setDefaultIm... | ImportsValue { public List<WSDLImport> getWSDLImports() { return wsdlImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<DefaultImport> getDefaultImports(); void setDefaultIm... |
@Test public void setWsdlImports() { ImportsValue tested = new ImportsValue(); tested.setWSDLImports(wsdlImports); assertWSDLImports(tested.getWSDLImports(), WSDL_IMPORTS_QTY); } | public void setWSDLImports(final List<WSDLImport> wsdlImports) { this.wsdlImports = wsdlImports; } | ImportsValue { public void setWSDLImports(final List<WSDLImport> wsdlImports) { this.wsdlImports = wsdlImports; } } | ImportsValue { public void setWSDLImports(final List<WSDLImport> wsdlImports) { this.wsdlImports = wsdlImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); } | ImportsValue { public void setWSDLImports(final List<WSDLImport> wsdlImports) { this.wsdlImports = wsdlImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<DefaultImport> getD... | ImportsValue { public void setWSDLImports(final List<WSDLImport> wsdlImports) { this.wsdlImports = wsdlImports; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<DefaultImport> getD... |
@Test public void testAddImport() { ImportsValue tested = new ImportsValue(); for (int i = 0; i < DEFAULT_IMPORTS_QTY; i++) { tested.addImport(new DefaultImport(CLASS_NAME + i)); } for (int i = 0; i < WSDL_IMPORTS_QTY; i++) { tested.addImport(new WSDLImport(LOCATION + i, NAMESPACE + i)); } assertDefaultImports(tested.g... | public void addImport(final DefaultImport defaultImport) { defaultImports.add(defaultImport); } | ImportsValue { public void addImport(final DefaultImport defaultImport) { defaultImports.add(defaultImport); } } | ImportsValue { public void addImport(final DefaultImport defaultImport) { defaultImports.add(defaultImport); } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); } | ImportsValue { public void addImport(final DefaultImport defaultImport) { defaultImports.add(defaultImport); } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<DefaultImport> getDefa... | ImportsValue { public void addImport(final DefaultImport defaultImport) { defaultImports.add(defaultImport); } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> wsdlImports); List<DefaultImport> getDefa... |
@Test public void testEquals() { ImportsValue tested1 = new ImportsValue(); ImportsValue tested2 = new ImportsValue(); assertEquals(tested1, tested2); ImportsValue tested3 = new ImportsValue(defaultImports, wsdlImports); ImportsValue tested4 = new ImportsValue(defaultImports, wsdlImports); assertEquals(tested3, tested4... | @Override public boolean equals(Object o) { if (o instanceof ImportsValue) { ImportsValue other = (ImportsValue) o; return Objects.equals(defaultImports, other.defaultImports) && Objects.equals(wsdlImports, other.wsdlImports); } return false; } | ImportsValue { @Override public boolean equals(Object o) { if (o instanceof ImportsValue) { ImportsValue other = (ImportsValue) o; return Objects.equals(defaultImports, other.defaultImports) && Objects.equals(wsdlImports, other.wsdlImports); } return false; } } | ImportsValue { @Override public boolean equals(Object o) { if (o instanceof ImportsValue) { ImportsValue other = (ImportsValue) o; return Objects.equals(defaultImports, other.defaultImports) && Objects.equals(wsdlImports, other.wsdlImports); } return false; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") fina... | ImportsValue { @Override public boolean equals(Object o) { if (o instanceof ImportsValue) { ImportsValue other = (ImportsValue) o; return Objects.equals(defaultImports, other.defaultImports) && Objects.equals(wsdlImports, other.wsdlImports); } return false; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") fina... | ImportsValue { @Override public boolean equals(Object o) { if (o instanceof ImportsValue) { ImportsValue other = (ImportsValue) o; return Objects.equals(defaultImports, other.defaultImports) && Objects.equals(wsdlImports, other.wsdlImports); } return false; } ImportsValue(); ImportsValue(@MapsTo("defaultImports") fina... |
@Test public void testHashCode() { ImportsValue tested1 = new ImportsValue(); ImportsValue tested2 = new ImportsValue(); assertEquals(tested1.hashCode(), tested2.hashCode()); ImportsValue tested3 = new ImportsValue(defaultImports, wsdlImports); ImportsValue tested4 = new ImportsValue(defaultImports, wsdlImports); asser... | @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(defaultImports), Objects.hashCode(wsdlImports)); } | ImportsValue { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(defaultImports), Objects.hashCode(wsdlImports)); } } | ImportsValue { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(defaultImports), Objects.hashCode(wsdlImports)); } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> ws... | ImportsValue { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(defaultImports), Objects.hashCode(wsdlImports)); } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> ws... | ImportsValue { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(defaultImports), Objects.hashCode(wsdlImports)); } ImportsValue(); ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
@MapsTo("wsdlImports") final List<WSDLImport> ws... |
@Test public void testClearSelections() { presenter.clearSelections(); verify(treePresenter).deselectItem(); } | public void clearSelections() { getTreePresenter().deselectItem(); } | DecisionNavigatorPresenter { public void clearSelections() { getTreePresenter().deselectItem(); } } | DecisionNavigatorPresenter { public void clearSelections() { getTreePresenter().deselectItem(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final DecisionComponents decisionComponen... | DecisionNavigatorPresenter { public void clearSelections() { getTreePresenter().deselectItem(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final DecisionComponents decisionComponen... | DecisionNavigatorPresenter { public void clearSelections() { getTreePresenter().deselectItem(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final DecisionComponents decisionComponen... |
@Test public void testToString() { ImportsValue tested1 = new ImportsValue(); assertEquals(STRING_EMPTY, tested1.toString()); ImportsValue tested2 = new ImportsValue(defaultImports, wsdlImports); String defaultImpString = buildImportsString(ImportType.DEFAULT, DEFAULT_IMPORTS_QTY); String wsdlImpString = buildImportsSt... | @Override public String toString() { final Collection<String> defaultImports = getDefaultImports().stream() .map(DefaultImport::toString) .collect(Collectors.toList()); final Collection<String> wsdlImports = getWSDLImports().stream() .map(WSDLImport::toString) .collect(Collectors.toList()); final String serializedValue... | ImportsValue { @Override public String toString() { final Collection<String> defaultImports = getDefaultImports().stream() .map(DefaultImport::toString) .collect(Collectors.toList()); final Collection<String> wsdlImports = getWSDLImports().stream() .map(WSDLImport::toString) .collect(Collectors.toList()); final String ... | ImportsValue { @Override public String toString() { final Collection<String> defaultImports = getDefaultImports().stream() .map(DefaultImport::toString) .collect(Collectors.toList()); final Collection<String> wsdlImports = getWSDLImports().stream() .map(WSDLImport::toString) .collect(Collectors.toList()); final String ... | ImportsValue { @Override public String toString() { final Collection<String> defaultImports = getDefaultImports().stream() .map(DefaultImport::toString) .collect(Collectors.toList()); final Collection<String> wsdlImports = getWSDLImports().stream() .map(WSDLImport::toString) .collect(Collectors.toList()); final String ... | ImportsValue { @Override public String toString() { final Collection<String> defaultImports = getDefaultImports().stream() .map(DefaultImport::toString) .collect(Collectors.toList()); final Collection<String> wsdlImports = getWSDLImports().stream() .map(WSDLImport::toString) .collect(Collectors.toList()); final String ... |
@Test public void getType() { Imports tested = new Imports(); assertEquals(Imports.type, tested.getType()); } | public PropertyType getType() { return type; } | Imports implements BPMNProperty { public PropertyType getType() { return type; } } | Imports implements BPMNProperty { public PropertyType getType() { return type; } Imports(); Imports(@MapsTo("value") final ImportsValue value); } | Imports implements BPMNProperty { public PropertyType getType() { return type; } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setValue(final ImportsValue value); @Override boolean equals(Object o); @Override int hashCode(); } | Imports implements BPMNProperty { public PropertyType getType() { return type; } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setValue(final ImportsValue value); @Override boolean equals(Object o); @Override int hashCode(); @Type
static final ... |
@Test public void getValue() { Imports tested = new Imports(importsValue); assertEquals(importsValue, tested.getValue()); } | public ImportsValue getValue() { return value; } | Imports implements BPMNProperty { public ImportsValue getValue() { return value; } } | Imports implements BPMNProperty { public ImportsValue getValue() { return value; } Imports(); Imports(@MapsTo("value") final ImportsValue value); } | Imports implements BPMNProperty { public ImportsValue getValue() { return value; } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setValue(final ImportsValue value); @Override boolean equals(Object o); @Override int hashCode(); } | Imports implements BPMNProperty { public ImportsValue getValue() { return value; } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setValue(final ImportsValue value); @Override boolean equals(Object o); @Override int hashCode(); @Type
static fina... |
@Test public void setValue() { Imports tested = new Imports(); tested.setValue(importsValue); assertEquals(importsValue, tested.getValue()); } | public void setValue(final ImportsValue value) { this.value = value; } | Imports implements BPMNProperty { public void setValue(final ImportsValue value) { this.value = value; } } | Imports implements BPMNProperty { public void setValue(final ImportsValue value) { this.value = value; } Imports(); Imports(@MapsTo("value") final ImportsValue value); } | Imports implements BPMNProperty { public void setValue(final ImportsValue value) { this.value = value; } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setValue(final ImportsValue value); @Override boolean equals(Object o); @Override int hashCode();... | Imports implements BPMNProperty { public void setValue(final ImportsValue value) { this.value = value; } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setValue(final ImportsValue value); @Override boolean equals(Object o); @Override int hashCode();... |
@Test public void testEquals() { Imports tested1 = new Imports(); Imports tested2 = new Imports(); assertEquals(tested1, tested2); Imports tested3 = new Imports(importsValue); Imports tested4 = new Imports(importsValue); assertEquals(tested3, tested4); } | @Override public boolean equals(Object o) { if (o instanceof Imports) { Imports other = (Imports) o; return Objects.equals(value, other.value); } return false; } | Imports implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof Imports) { Imports other = (Imports) o; return Objects.equals(value, other.value); } return false; } } | Imports implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof Imports) { Imports other = (Imports) o; return Objects.equals(value, other.value); } return false; } Imports(); Imports(@MapsTo("value") final ImportsValue value); } | Imports implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof Imports) { Imports other = (Imports) o; return Objects.equals(value, other.value); } return false; } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setVal... | Imports implements BPMNProperty { @Override public boolean equals(Object o) { if (o instanceof Imports) { Imports other = (Imports) o; return Objects.equals(value, other.value); } return false; } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setVal... |
@Test public void testHashCode() { Imports tested1 = new Imports(); Imports tested2 = new Imports(); assertEquals(tested1.hashCode(), tested2.hashCode()); Imports tested3 = new Imports(importsValue); Imports tested4 = new Imports(importsValue); assertEquals(tested3.hashCode(), tested4.hashCode()); } | @Override public int hashCode() { return Objects.hashCode(value); } | Imports implements BPMNProperty { @Override public int hashCode() { return Objects.hashCode(value); } } | Imports implements BPMNProperty { @Override public int hashCode() { return Objects.hashCode(value); } Imports(); Imports(@MapsTo("value") final ImportsValue value); } | Imports implements BPMNProperty { @Override public int hashCode() { return Objects.hashCode(value); } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setValue(final ImportsValue value); @Override boolean equals(Object o); @Override int hashCode(); } | Imports implements BPMNProperty { @Override public int hashCode() { return Objects.hashCode(value); } Imports(); Imports(@MapsTo("value") final ImportsValue value); PropertyType getType(); ImportsValue getValue(); void setValue(final ImportsValue value); @Override boolean equals(Object o); @Override int hashCode(); @T... |
@Test public void getClassName() { DefaultImport tested = new DefaultImport(CLASS_NAME); assertEquals(CLASS_NAME, tested.getClassName()); } | public String getClassName() { return className; } | DefaultImport { public String getClassName() { return className; } } | DefaultImport { public String getClassName() { return className; } DefaultImport(); DefaultImport(@MapsTo("className") final String className); } | DefaultImport { public String getClassName() { return className; } DefaultImport(); DefaultImport(@MapsTo("className") final String className); static Boolean isValidString(String importValue); static DefaultImport fromString(String importValue); String getClassName(); void setClassName(final String className); @Overr... | DefaultImport { public String getClassName() { return className; } DefaultImport(); DefaultImport(@MapsTo("className") final String className); static Boolean isValidString(String importValue); static DefaultImport fromString(String importValue); String getClassName(); void setClassName(final String className); @Overr... |
@Test public void setClassName() { DefaultImport tested = new DefaultImport(); tested.setClassName(CLASS_NAME); assertEquals(CLASS_NAME, tested.getClassName()); } | public void setClassName(final String className) { this.className = className; } | DefaultImport { public void setClassName(final String className) { this.className = className; } } | DefaultImport { public void setClassName(final String className) { this.className = className; } DefaultImport(); DefaultImport(@MapsTo("className") final String className); } | DefaultImport { public void setClassName(final String className) { this.className = className; } DefaultImport(); DefaultImport(@MapsTo("className") final String className); static Boolean isValidString(String importValue); static DefaultImport fromString(String importValue); String getClassName(); void setClassName(f... | DefaultImport { public void setClassName(final String className) { this.className = className; } DefaultImport(); DefaultImport(@MapsTo("className") final String className); static Boolean isValidString(String importValue); static DefaultImport fromString(String importValue); String getClassName(); void setClassName(f... |
@Test public void testToString() { DefaultImport tested1 = new DefaultImport(); assertEquals(STRING_EMPTY, tested1.toString()); DefaultImport tested2 = new DefaultImport(STRING_EMPTY); assertEquals(STRING_EMPTY, tested2.toString()); DefaultImport tested3 = new DefaultImport(CLASS_NAME); assertEquals(IDENTIFIER + DELIMI... | @Override public String toString() { if (className == null || className.isEmpty()) { return ""; } else { return IDENTIFIER + "|" + className; } } | DefaultImport { @Override public String toString() { if (className == null || className.isEmpty()) { return ""; } else { return IDENTIFIER + "|" + className; } } } | DefaultImport { @Override public String toString() { if (className == null || className.isEmpty()) { return ""; } else { return IDENTIFIER + "|" + className; } } DefaultImport(); DefaultImport(@MapsTo("className") final String className); } | DefaultImport { @Override public String toString() { if (className == null || className.isEmpty()) { return ""; } else { return IDENTIFIER + "|" + className; } } DefaultImport(); DefaultImport(@MapsTo("className") final String className); static Boolean isValidString(String importValue); static DefaultImport fromStrin... | DefaultImport { @Override public String toString() { if (className == null || className.isEmpty()) { return ""; } else { return IDENTIFIER + "|" + className; } } DefaultImport(); DefaultImport(@MapsTo("className") final String className); static Boolean isValidString(String importValue); static DefaultImport fromStrin... |
@Test public void isValidString() { String validString = IDENTIFIER + DELIMITER + CLASS_NAME; assertTrue(DefaultImport.isValidString(validString)); String invalidString1 = IDENTIFIER; assertFalse(DefaultImport.isValidString(invalidString1)); String invalidString2 = IDENTIFIER + DELIMITER + CLASS_NAME + DELIMITER + "inv... | public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 2) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } return true; } | DefaultImport { public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 2) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } return true; } } | DefaultImport { public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 2) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } return true; } DefaultImport(); Defau... | DefaultImport { public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 2) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } return true; } DefaultImport(); Defau... | DefaultImport { public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 2) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } return true; } DefaultImport(); Defau... |
@Test public void testOnRefreshDecisionComponents() { presenter.disableRefreshHandlers(); presenter.onRefreshDecisionComponents(mock(RefreshDecisionComponents.class)); presenter.onRefreshDecisionComponents(mock(RefreshDecisionComponents.class)); presenter.enableRefreshHandlers(); presenter.onRefreshDecisionComponents(m... | public void onRefreshDecisionComponents(final @Observes RefreshDecisionComponents events) { refreshComponentsView(); } | DecisionNavigatorPresenter { public void onRefreshDecisionComponents(final @Observes RefreshDecisionComponents events) { refreshComponentsView(); } } | DecisionNavigatorPresenter { public void onRefreshDecisionComponents(final @Observes RefreshDecisionComponents events) { refreshComponentsView(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
... | DecisionNavigatorPresenter { public void onRefreshDecisionComponents(final @Observes RefreshDecisionComponents events) { refreshComponentsView(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
... | DecisionNavigatorPresenter { public void onRefreshDecisionComponents(final @Observes RefreshDecisionComponents events) { refreshComponentsView(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
... |
@Test(expected = Exception.class) public void fromStringInvalid() throws Exception { String invalidString = "invalid" + DELIMITER + CLASS_NAME; DefaultImport.fromString(invalidString); } | public static DefaultImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid Default Import."); } String[] importParts = splitImportString(importValue); DefaultImport defaultImport = new DefaultImport(importParts[1]);... | DefaultImport { public static DefaultImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid Default Import."); } String[] importParts = splitImportString(importValue); DefaultImport defaultImport = new DefaultImport(... | DefaultImport { public static DefaultImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid Default Import."); } String[] importParts = splitImportString(importValue); DefaultImport defaultImport = new DefaultImport(... | DefaultImport { public static DefaultImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid Default Import."); } String[] importParts = splitImportString(importValue); DefaultImport defaultImport = new DefaultImport(... | DefaultImport { public static DefaultImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid Default Import."); } String[] importParts = splitImportString(importValue); DefaultImport defaultImport = new DefaultImport(... |
@Test public void getLocation() { WSDLImport tested = new WSDLImport(LOCATION, NAMESPACE); assertEquals(LOCATION, tested.getLocation()); } | public String getLocation() { return location; } | WSDLImport { public String getLocation() { return location; } } | WSDLImport { public String getLocation() { return location; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); } | WSDLImport { public String getLocation() { return location; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String importValue); String getLocation();... | WSDLImport { public String getLocation() { return location; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String importValue); String getLocation();... |
@Test public void setLocation() { WSDLImport tested = new WSDLImport(); tested.setLocation(LOCATION); assertEquals(LOCATION, tested.getLocation()); } | public void setLocation(final String location) { this.location = location; } | WSDLImport { public void setLocation(final String location) { this.location = location; } } | WSDLImport { public void setLocation(final String location) { this.location = location; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); } | WSDLImport { public void setLocation(final String location) { this.location = location; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String importV... | WSDLImport { public void setLocation(final String location) { this.location = location; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String importV... |
@Test public void getNamespace() { WSDLImport tested = new WSDLImport(LOCATION, NAMESPACE); assertEquals(NAMESPACE, tested.getNamespace()); } | public String getNamespace() { return namespace; } | WSDLImport { public String getNamespace() { return namespace; } } | WSDLImport { public String getNamespace() { return namespace; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); } | WSDLImport { public String getNamespace() { return namespace; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String importValue); String getLocation(... | WSDLImport { public String getNamespace() { return namespace; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String importValue); String getLocation(... |
@Test public void setNamespace() { WSDLImport tested = new WSDLImport(); tested.setNamespace(NAMESPACE); assertEquals(NAMESPACE, tested.getNamespace()); } | public void setNamespace(final String namespace) { this.namespace = namespace; } | WSDLImport { public void setNamespace(final String namespace) { this.namespace = namespace; } } | WSDLImport { public void setNamespace(final String namespace) { this.namespace = namespace; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); } | WSDLImport { public void setNamespace(final String namespace) { this.namespace = namespace; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String imp... | WSDLImport { public void setNamespace(final String namespace) { this.namespace = namespace; } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
@MapsTo("namespace") final String namespace); static Boolean isValidString(String importValue); static WSDLImport fromString(String imp... |
@Test public void testToString() { WSDLImport tested1 = new WSDLImport(); assertEquals(STRING_EMPTY, tested1.toString()); WSDLImport tested2 = new WSDLImport(STRING_EMPTY, STRING_EMPTY); assertEquals(STRING_EMPTY, tested2.toString()); WSDLImport tested3 = new WSDLImport(LOCATION, NAMESPACE); assertEquals(tested3.toStri... | @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } | WSDLImport { @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } } | WSDLImport { @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
... | WSDLImport { @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
... | WSDLImport { @Override public String toString() { if (location == null || namespace == null || location.isEmpty() || namespace.isEmpty()) { return ""; } else { return IDENTIFIER + DELIMITER + location + DELIMITER + namespace; } } WSDLImport(); WSDLImport(@MapsTo("location") final String location,
... |
@Test public void isValidString() { String validString = IDENTIFIER + DELIMITER + LOCATION + DELIMITER + NAMESPACE; assertTrue(WSDLImport.isValidString(validString)); String invalidString1 = IDENTIFIER + DELIMITER + LOCATION; assertFalse(WSDLImport.isValidString(invalidString1)); String invalidString2 = IDENTIFIER + DE... | public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 3) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } if (importParts[2].isEmpty()) { return false; } return... | WSDLImport { public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 3) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } if (importParts[2].isEmpty()) { return fa... | WSDLImport { public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 3) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } if (importParts[2].isEmpty()) { return fa... | WSDLImport { public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 3) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } if (importParts[2].isEmpty()) { return fa... | WSDLImport { public static Boolean isValidString(String importValue) { String[] importParts = splitImportString(importValue); if (importParts.length != 3) { return false; } if (!importParts[0].equals(IDENTIFIER)) { return false; } if (importParts[1].isEmpty()) { return false; } if (importParts[2].isEmpty()) { return fa... |
@Test(expected = Exception.class) public void fromStringInvalid() throws Exception { String invalidString = "invalid" + DELIMITER + LOCATION + DELIMITER + NAMESPACE; WSDLImport.fromString(invalidString); } | public static WSDLImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid WSDL Import."); } String[] importParts = splitImportString(importValue); WSDLImport wsdlImport = new WSDLImport(importParts[1], importParts[2])... | WSDLImport { public static WSDLImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid WSDL Import."); } String[] importParts = splitImportString(importValue); WSDLImport wsdlImport = new WSDLImport(importParts[1], im... | WSDLImport { public static WSDLImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid WSDL Import."); } String[] importParts = splitImportString(importValue); WSDLImport wsdlImport = new WSDLImport(importParts[1], im... | WSDLImport { public static WSDLImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid WSDL Import."); } String[] importParts = splitImportString(importValue); WSDLImport wsdlImport = new WSDLImport(importParts[1], im... | WSDLImport { public static WSDLImport fromString(String importValue) throws Exception { if (!isValidString(importValue)) { throw new Exception("The value: " + importValue + " is not a valid WSDL Import."); } String[] importParts = splitImportString(importValue); WSDLImport wsdlImport = new WSDLImport(importParts[1], im... |
@Test public void testScriptTypeListValueEqualsAndHashCode() { EqualsAndHashCodeTestUtils.TestCaseBuilder.newTestCase() .addTrueCase(new ScriptTypeListValue(), new ScriptTypeListValue()) .addTrueCase(new ScriptTypeListValue().addValue(new ScriptTypeValue()), new ScriptTypeListValue().addValue(new ScriptTypeValue())) .a... | public ScriptTypeListValue addValue(ScriptTypeValue value) { this.values.add(value); return this; } | ScriptTypeListValue { public ScriptTypeListValue addValue(ScriptTypeValue value) { this.values.add(value); return this; } } | ScriptTypeListValue { public ScriptTypeListValue addValue(ScriptTypeValue value) { this.values.add(value); return this; } ScriptTypeListValue(); ScriptTypeListValue(@MapsTo("values") final List<ScriptTypeValue> values); } | ScriptTypeListValue { public ScriptTypeListValue addValue(ScriptTypeValue value) { this.values.add(value); return this; } ScriptTypeListValue(); ScriptTypeListValue(@MapsTo("values") final List<ScriptTypeValue> values); List<ScriptTypeValue> getValues(); void setValues(List<ScriptTypeValue> values); ScriptTypeListValu... | ScriptTypeListValue { public ScriptTypeListValue addValue(ScriptTypeValue value) { this.values.add(value); return this; } ScriptTypeListValue(); ScriptTypeListValue(@MapsTo("values") final List<ScriptTypeValue> values); List<ScriptTypeValue> getValues(); void setValues(List<ScriptTypeValue> values); ScriptTypeListValu... |
@Test public void testGetIsAsync() { BaseSubprocessTaskExecutionSet a = new BaseSubprocessTaskExecutionSet(); Assert.assertEquals(new IsAsync(), a.getIsAsync()); } | public IsAsync getIsAsync() { return isAsync; } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public IsAsync getIsAsync() { return isAsync; } } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public IsAsync getIsAsync() { return isAsync; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate slaDueDate); } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public IsAsync getIsAsync() { return isAsync; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate slaDueDate); IsAsync ge... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public IsAsync getIsAsync() { return isAsync; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate slaDueDate); IsAsync ge... |
@Test public void testOnElementAdded() { presenter.disableRefreshHandlers(); presenter.onElementAdded(mock(CanvasElementAddedEvent.class)); presenter.onElementAdded(mock(CanvasElementAddedEvent.class)); presenter.enableRefreshHandlers(); presenter.onElementAdded(mock(CanvasElementAddedEvent.class)); presenter.onElement... | public void onElementAdded(final @Observes CanvasElementAddedEvent event) { refreshComponentsView(); } | DecisionNavigatorPresenter { public void onElementAdded(final @Observes CanvasElementAddedEvent event) { refreshComponentsView(); } } | DecisionNavigatorPresenter { public void onElementAdded(final @Observes CanvasElementAddedEvent event) { refreshComponentsView(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final D... | DecisionNavigatorPresenter { public void onElementAdded(final @Observes CanvasElementAddedEvent event) { refreshComponentsView(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final D... | DecisionNavigatorPresenter { public void onElementAdded(final @Observes CanvasElementAddedEvent event) { refreshComponentsView(); } @Inject DecisionNavigatorPresenter(final View view,
final DecisionNavigatorTreePresenter treePresenter,
final D... |
@Test public void testSetIsAsync() { final IsAsync isAsyncFalse = new IsAsync(false); final IsAsync isAsyncTrue = new IsAsync(true); final BaseSubprocessTaskExecutionSet a = new BaseSubprocessTaskExecutionSet(); a.setIsAsync(isAsyncFalse); final BaseSubprocessTaskExecutionSet b = new BaseSubprocessTaskExecutionSet(); b... | public void setIsAsync(IsAsync isAsync) { this.isAsync = isAsync; } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public void setIsAsync(IsAsync isAsync) { this.isAsync = isAsync; } } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public void setIsAsync(IsAsync isAsync) { this.isAsync = isAsync; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate sla... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public void setIsAsync(IsAsync isAsync) { this.isAsync = isAsync; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate sla... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public void setIsAsync(IsAsync isAsync) { this.isAsync = isAsync; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate sla... |
@Test public void testGetSlaDueDate() { BaseSubprocessTaskExecutionSet a = new BaseSubprocessTaskExecutionSet(); Assert.assertEquals(new SLADueDate(), a.getSlaDueDate()); } | public SLADueDate getSlaDueDate() { return slaDueDate; } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public SLADueDate getSlaDueDate() { return slaDueDate; } } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public SLADueDate getSlaDueDate() { return slaDueDate; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate slaDueDate); } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public SLADueDate getSlaDueDate() { return slaDueDate; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate slaDueDate); I... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public SLADueDate getSlaDueDate() { return slaDueDate; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDueDate") SLADueDate slaDueDate); I... |
@Test public void testSetSlaDueDate() { final String SLA_DUE_DATE_VALUE = "12/25/1983"; final SLADueDate slaDueDate = new SLADueDate(SLA_DUE_DATE_VALUE); final BaseSubprocessTaskExecutionSet a = new BaseSubprocessTaskExecutionSet(); a.setSlaDueDate(slaDueDate); Assert.assertEquals(slaDueDate, a.getSlaDueDate()); } | public void setSlaDueDate(final SLADueDate slaDueDate) { this.slaDueDate = slaDueDate; } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public void setSlaDueDate(final SLADueDate slaDueDate) { this.slaDueDate = slaDueDate; } } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public void setSlaDueDate(final SLADueDate slaDueDate) { this.slaDueDate = slaDueDate; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDue... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public void setSlaDueDate(final SLADueDate slaDueDate) { this.slaDueDate = slaDueDate; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDue... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { public void setSlaDueDate(final SLADueDate slaDueDate) { this.slaDueDate = slaDueDate; } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
final @MapsTo("slaDue... |
@Test public void testHashCode() { BaseSubprocessTaskExecutionSet a = new BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet b = new BaseSubprocessTaskExecutionSet(); assertEquals(a.hashCode(), b.hashCode()); } | @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(isAsync), Objects.hashCode(slaDueDate)); } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(isAsync), Objects.hashCode(slaDueDate)); } } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(isAsync), Objects.hashCode(slaDueDate)); } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(isAsync), Objects.hashCode(slaDueDate)); } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { @Override public int hashCode() { return HashUtil.combineHashCodes(Objects.hashCode(isAsync), Objects.hashCode(slaDueDate)); } BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet(final @MapsTo("isAsync") IsAsync isAsync,
... |
@Test public void testEquals() { BaseSubprocessTaskExecutionSet a = new BaseSubprocessTaskExecutionSet(); BaseSubprocessTaskExecutionSet b = new BaseSubprocessTaskExecutionSet(); Assert.assertEquals(a, b); } | @Override public boolean equals(Object o) { if (o instanceof BaseSubprocessTaskExecutionSet) { BaseSubprocessTaskExecutionSet other = (BaseSubprocessTaskExecutionSet) o; return Objects.equals(isAsync, other.isAsync) && Objects.equals(slaDueDate, other.slaDueDate); } return false; } | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { @Override public boolean equals(Object o) { if (o instanceof BaseSubprocessTaskExecutionSet) { BaseSubprocessTaskExecutionSet other = (BaseSubprocessTaskExecutionSet) o; return Objects.equals(isAsync, other.isAsync) && Objects.equals(slaDueDate, other.slaDueDa... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { @Override public boolean equals(Object o) { if (o instanceof BaseSubprocessTaskExecutionSet) { BaseSubprocessTaskExecutionSet other = (BaseSubprocessTaskExecutionSet) o; return Objects.equals(isAsync, other.isAsync) && Objects.equals(slaDueDate, other.slaDueDa... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { @Override public boolean equals(Object o) { if (o instanceof BaseSubprocessTaskExecutionSet) { BaseSubprocessTaskExecutionSet other = (BaseSubprocessTaskExecutionSet) o; return Objects.equals(isAsync, other.isAsync) && Objects.equals(slaDueDate, other.slaDueDa... | BaseSubprocessTaskExecutionSet implements BPMNPropertySet { @Override public boolean equals(Object o) { if (o instanceof BaseSubprocessTaskExecutionSet) { BaseSubprocessTaskExecutionSet other = (BaseSubprocessTaskExecutionSet) o; return Objects.equals(isAsync, other.isAsync) && Objects.equals(slaDueDate, other.slaDueDa... |
@Test public void testValueInvalid() { tested.setValue(CASE_INVALID); Set<ConstraintViolation<IsCase>> violations = this.validator.validate(tested); assertEquals(1, violations.size()); } | public void setValue(final Boolean value) { this.value = value; } | IsCase implements BPMNProperty { public void setValue(final Boolean value) { this.value = value; } } | IsCase implements BPMNProperty { public void setValue(final Boolean value) { this.value = value; } IsCase(); IsCase(final Boolean value); } | IsCase implements BPMNProperty { public void setValue(final Boolean value) { this.value = value; } IsCase(); IsCase(final Boolean value); Boolean getValue(); void setValue(final Boolean value); @Override int hashCode(); @Override boolean equals(Object o); } | IsCase implements BPMNProperty { public void setValue(final Boolean value) { this.value = value; } IsCase(); IsCase(final Boolean value); Boolean getValue(); void setValue(final Boolean value); @Override int hashCode(); @Override boolean equals(Object o); } |
@Test public void deserialize() { final Map<String, ProcessVariableSerializer.VariableInfo> deserialized = ProcessVariableSerializer.deserialize(VARIABLE); assertEquals(deserialized.size(), 2); assertEquals(deserialized.get("PV1").getType(), "java.lang.String"); assertEquals(deserialized.get("PV1").getTags(), "[interna... | public static Map<String, VariableInfo> deserialize(String serializedVariables) { return Stream.of(serializedVariables.split(",")) .filter(s -> !s.isEmpty()) .map(ProcessVariableSerializer::deserializeVariable) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); } | ProcessVariableSerializer { public static Map<String, VariableInfo> deserialize(String serializedVariables) { return Stream.of(serializedVariables.split(",")) .filter(s -> !s.isEmpty()) .map(ProcessVariableSerializer::deserializeVariable) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); } } | ProcessVariableSerializer { public static Map<String, VariableInfo> deserialize(String serializedVariables) { return Stream.of(serializedVariables.split(",")) .filter(s -> !s.isEmpty()) .map(ProcessVariableSerializer::deserializeVariable) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); } } | ProcessVariableSerializer { public static Map<String, VariableInfo> deserialize(String serializedVariables) { return Stream.of(serializedVariables.split(",")) .filter(s -> !s.isEmpty()) .map(ProcessVariableSerializer::deserializeVariable) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); } static Map... | ProcessVariableSerializer { public static Map<String, VariableInfo> deserialize(String serializedVariables) { return Stream.of(serializedVariables.split(",")) .filter(s -> !s.isEmpty()) .map(ProcessVariableSerializer::deserializeVariable) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); } static Map... |
@Test public void testSignalRef() { assertValidExpression(EMPTY_REF); assertValidExpression(VALID_STATIC_REF); assertValidExpression(VALID_MVEL_REF_1); assertValidExpression(VALID_MVEL_REF_2); assertValidExpression(VALID_MVEL_COMPLEX_REF_1); assertValidExpression(VALID_MVEL_COMPLEX_REF_2); assertValidExpression(VALID_M... | public SignalRef() { this(""); } | SignalRef implements BPMNProperty { public SignalRef() { this(""); } } | SignalRef implements BPMNProperty { public SignalRef() { this(""); } SignalRef(); SignalRef(final @MapsTo("value") String value); } | SignalRef implements BPMNProperty { public SignalRef() { this(""); } SignalRef(); SignalRef(final @MapsTo("value") String value); String getValue(); void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); } | SignalRef implements BPMNProperty { public SignalRef() { this(""); } SignalRef(); SignalRef(final @MapsTo("value") String value); String getValue(); void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); } |
@Test public void getLabels() { assertEquals(3, tested.getLabels().size()); assertTrue(tested.getLabels().contains("all")); assertTrue(tested.getLabels().contains("lane_child")); assertTrue(tested.getLabels().contains("text_annotation")); } | public Set<String> getLabels() { return labels; } | TextAnnotation extends BaseArtifacts { public Set<String> getLabels() { return labels; } } | TextAnnotation extends BaseArtifacts { public Set<String> getLabels() { return labels; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSet fon... | TextAnnotation extends BaseArtifacts { public Set<String> getLabels() { return labels; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSet fon... | TextAnnotation extends BaseArtifacts { public Set<String> getLabels() { return labels; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSet fon... |
@Test public void getGeneral() { assertNotNull(tested.getGeneral()); } | public BPMNGeneralSet getGeneral() { return general; } | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } } | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... |
@Test public void testOnClick() { final Command command = mock(Command.class); final DecisionNavigatorItem item = new DecisionNavigatorItemBuilder().withUUID("uuid").withLabel("label").withType(ITEM).withOnClick(command).build(); item.onClick(); verify(command).execute(); } | public void onClick() { getOnClick().ifPresent(Command::execute); } | DecisionNavigatorItem implements Comparable { public void onClick() { getOnClick().ifPresent(Command::execute); } } | DecisionNavigatorItem implements Comparable { public void onClick() { getOnClick().ifPresent(Command::execute); } } | DecisionNavigatorItem implements Comparable { public void onClick() { getOnClick().ifPresent(Command::execute); } String getUUID(); String getLabel(); Type getType(); TreeSet<DecisionNavigatorItem> getChildren(); Optional<Command> getOnClick(); String getParentUUID(); void setLabel(final String label); void removeChil... | DecisionNavigatorItem implements Comparable { public void onClick() { getOnClick().ifPresent(Command::execute); } String getUUID(); String getLabel(); Type getType(); TreeSet<DecisionNavigatorItem> getChildren(); Optional<Command> getOnClick(); String getParentUUID(); void setLabel(final String label); void removeChil... |
@Test public void setGeneral() { BPMNGeneralSet general = new BPMNGeneralSet(); tested.setGeneral(general); assertEquals(general, tested.getGeneral()); } | public void setGeneral(final BPMNGeneralSet general) { this.general = general; } | TextAnnotation extends BaseArtifacts { public void setGeneral(final BPMNGeneralSet general) { this.general = general; } } | TextAnnotation extends BaseArtifacts { public void setGeneral(final BPMNGeneralSet general) { this.general = general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final... | TextAnnotation extends BaseArtifacts { public void setGeneral(final BPMNGeneralSet general) { this.general = general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final... | TextAnnotation extends BaseArtifacts { public void setGeneral(final BPMNGeneralSet general) { this.general = general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final... |
@Test public void setName() { Name name = new Name(this.getClass().getSimpleName()); tested.getGeneral().setName(name); assertEquals(name, tested.getGeneral().getName()); } | public BPMNGeneralSet getGeneral() { return general; } | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } } | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... |
@Test public void setDocumentation() { Documentation documentation = new Documentation(this.getClass().getSimpleName()); tested.getGeneral().setDocumentation(documentation); assertEquals(documentation, tested.getGeneral().getDocumentation()); } | public BPMNGeneralSet getGeneral() { return general; } | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } } | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... | TextAnnotation extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("backgroundSet") BackgroundSet backgroundSet,
final @MapsTo("fontSet") FontSe... |
@Test public void testHashCode() { assertEquals(new TextAnnotation().hashCode(), tested.hashCode()); } | @Override public int hashCode() { return HashUtil.combineHashCodes(general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } | TextAnnotation extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } } | TextAnnotation extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @Map... | TextAnnotation extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @Map... | TextAnnotation extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } TextAnnotation(); TextAnnotation(final @MapsTo("general") BPMNGeneralSet general,
final @Map... |
@Test public void testEquals() { assertEquals(new TextAnnotation(), tested); assertNotEquals(new TextAnnotation(), new Object()); } | @Override public boolean equals(Object o) { if (o instanceof TextAnnotation) { TextAnnotation other = (TextAnnotation) o; return general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dimensionsSet.equals(other.dimensionsSet); } return false; } | TextAnnotation extends BaseArtifacts { @Override public boolean equals(Object o) { if (o instanceof TextAnnotation) { TextAnnotation other = (TextAnnotation) o; return general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dimensionsSet.equals(other.dimensionsSet)... | TextAnnotation extends BaseArtifacts { @Override public boolean equals(Object o) { if (o instanceof TextAnnotation) { TextAnnotation other = (TextAnnotation) o; return general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dimensionsSet.equals(other.dimensionsSet)... | TextAnnotation extends BaseArtifacts { @Override public boolean equals(Object o) { if (o instanceof TextAnnotation) { TextAnnotation other = (TextAnnotation) o; return general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dimensionsSet.equals(other.dimensionsSet)... | TextAnnotation extends BaseArtifacts { @Override public boolean equals(Object o) { if (o instanceof TextAnnotation) { TextAnnotation other = (TextAnnotation) o; return general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dimensionsSet.equals(other.dimensionsSet)... |
@Test public void getLabels() { assertEquals(2, dataObject.getLabels().size()); assertEquals(true, dataObject.getLabels().contains("all")); assertEquals(true, dataObject.getLabels().contains("lane_child")); } | public Set<String> getLabels() { return labels; } | DataObject extends BaseArtifacts { public Set<String> getLabels() { return labels; } } | DataObject extends BaseArtifacts { public Set<String> getLabels() { return labels; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("bac... | DataObject extends BaseArtifacts { public Set<String> getLabels() { return labels; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("bac... | DataObject extends BaseArtifacts { public Set<String> getLabels() { return labels; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("bac... |
@Test public void getGeneral() { assertNotNull(dataObject.getGeneral()); } | public BPMNGeneralSet getGeneral() { return general; } | DataObject extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } } | DataObject extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo... | DataObject extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo... | DataObject extends BaseArtifacts { public BPMNGeneralSet getGeneral() { return general; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo... |
@Test public void setGeneral() { BPMNGeneralSet general = new BPMNGeneralSet(); dataObject.setGeneral(general); assertEquals(general, dataObject.getGeneral()); } | public void setGeneral(final BPMNGeneralSet general) { this.general = general; } | DataObject extends BaseArtifacts { public void setGeneral(final BPMNGeneralSet general) { this.general = general; } } | DataObject extends BaseArtifacts { public void setGeneral(final BPMNGeneralSet general) { this.general = general; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
... | DataObject extends BaseArtifacts { public void setGeneral(final BPMNGeneralSet general) { this.general = general; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
... | DataObject extends BaseArtifacts { public void setGeneral(final BPMNGeneralSet general) { this.general = general; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
... |
@Test public void setName() { Name name = new Name(this.getClass().getSimpleName()); dataObject.setName(name); assertEquals(name, dataObject.getName()); } | public void setName(Name name) { this.name = name; } | DataObject extends BaseArtifacts { public void setName(Name name) { this.name = name; } } | DataObject extends BaseArtifacts { public void setName(Name name) { this.name = name; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("... | DataObject extends BaseArtifacts { public void setName(Name name) { this.name = name; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("... | DataObject extends BaseArtifacts { public void setName(Name name) { this.name = name; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final @MapsTo("... |
@Test public void setType() { DataObjectType type = new DataObjectType(new DataObjectTypeValue(this.getClass().getSimpleName())); dataObject.setType(type); assertEquals(type, dataObject.getType()); } | public void setType(DataObjectType type) { this.type = type; } | DataObject extends BaseArtifacts { public void setType(DataObjectType type) { this.type = type; } } | DataObject extends BaseArtifacts { public void setType(DataObjectType type) { this.type = type; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final... | DataObject extends BaseArtifacts { public void setType(DataObjectType type) { this.type = type; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final... | DataObject extends BaseArtifacts { public void setType(DataObjectType type) { this.type = type; } DataObject(); DataObject(final @MapsTo("name") Name name,
final @MapsTo("type") DataObjectType type,
final @MapsTo("general") BPMNGeneralSet general,
final... |
@Test public void testRemoveChild() { final DecisionNavigatorItem item = new DecisionNavigatorItemBuilder().withUUID("uuid").build(); final DecisionNavigatorItem child = new DecisionNavigatorItemBuilder().withUUID("child").build(); item.getChildren().add(child); item.removeChild(child); assertEquals(Collections.emptySe... | public void removeChild(final DecisionNavigatorItem item) { getChildren().removeIf(i -> i.getUUID().equals(item.getUUID())); } | DecisionNavigatorItem implements Comparable { public void removeChild(final DecisionNavigatorItem item) { getChildren().removeIf(i -> i.getUUID().equals(item.getUUID())); } } | DecisionNavigatorItem implements Comparable { public void removeChild(final DecisionNavigatorItem item) { getChildren().removeIf(i -> i.getUUID().equals(item.getUUID())); } } | DecisionNavigatorItem implements Comparable { public void removeChild(final DecisionNavigatorItem item) { getChildren().removeIf(i -> i.getUUID().equals(item.getUUID())); } String getUUID(); String getLabel(); Type getType(); TreeSet<DecisionNavigatorItem> getChildren(); Optional<Command> getOnClick(); String getParen... | DecisionNavigatorItem implements Comparable { public void removeChild(final DecisionNavigatorItem item) { getChildren().removeIf(i -> i.getUUID().equals(item.getUUID())); } String getUUID(); String getLabel(); Type getType(); TreeSet<DecisionNavigatorItem> getChildren(); Optional<Command> getOnClick(); String getParen... |
@Test public void testHashCode() { assertEquals(new DataObject().hashCode(), dataObject.hashCode()); } | @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode(), type.hashCode(), general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } | DataObject extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode(), type.hashCode(), general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } } | DataObject extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode(), type.hashCode(), general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } DataObject(); DataObject(final @MapsTo("name") Name name,
final @M... | DataObject extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode(), type.hashCode(), general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } DataObject(); DataObject(final @MapsTo("name") Name name,
final @M... | DataObject extends BaseArtifacts { @Override public int hashCode() { return HashUtil.combineHashCodes(name.hashCode(), type.hashCode(), general.hashCode(), backgroundSet.hashCode(), fontSet.hashCode(), dimensionsSet.hashCode()); } DataObject(); DataObject(final @MapsTo("name") Name name,
final @M... |
@Test public void testEquals() { assertEquals(new DataObject(), dataObject); assertNotEquals(new DataObject(), new Object()); } | @Override public boolean equals(Object o) { if (o instanceof DataObject) { DataObject other = (DataObject) o; return name.equals(other.name) && type.equals(other.type) && general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dimensionsSet.equals(other.dimensionsS... | DataObject extends BaseArtifacts { @Override public boolean equals(Object o) { if (o instanceof DataObject) { DataObject other = (DataObject) o; return name.equals(other.name) && type.equals(other.type) && general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dim... | DataObject extends BaseArtifacts { @Override public boolean equals(Object o) { if (o instanceof DataObject) { DataObject other = (DataObject) o; return name.equals(other.name) && type.equals(other.type) && general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dim... | DataObject extends BaseArtifacts { @Override public boolean equals(Object o) { if (o instanceof DataObject) { DataObject other = (DataObject) o; return name.equals(other.name) && type.equals(other.type) && general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dim... | DataObject extends BaseArtifacts { @Override public boolean equals(Object o) { if (o instanceof DataObject) { DataObject other = (DataObject) o; return name.equals(other.name) && type.equals(other.type) && general.equals(other.general) && backgroundSet.equals(other.backgroundSet) && fontSet.equals(other.fontSet) && dim... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.