rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
if (treeModel != null && hasControlIcons()) paintControlIcons(g, 0, 0, 0, tree, treeModel, path.getLastPathComponent()); | if (shouldPaintExpandControl(path, row, isExpanded, hasBeenExpanded, isLeaf)) { Icon icon = getCurrentControlIcon(path); int iconW = icon.getIconWidth(); int x = bounds.x - rightChildIndent + iconW/2; if (x + iconW > bounds.x) x = bounds.x - rightChildIndent - gap; icon.paintIcon(tree, g, x, bounds.y + bounds.height/2 ... | protected void paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean ... |
g.setColor(getHashColor()); | protected void paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right) { g.drawLine(left, y, right, y); } | |
if (row != 0) paintHorizontalLine(g, tree, bounds.y + bounds.height/2, bounds.x - gap - 2, bounds.x); | protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, ... | |
selected, isExpanded, isLeaf, row, true); | selected, isExpanded, isLeaf, row, tree.hasFocus()); | protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelect... |
g.setColor(getHashColor()); | protected void paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom) { g.drawLine(x, top, x, bottom); } | |
int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPathToRoot(curr, 0)); int numChild = treeModel.getChildCount(curr); if (numChild > 0 && tree.isExpanded(currPath)) { Rectangle bounds = getPathBounds(tree, currPath); Rectangl... | protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { // FIXME: not implemented } | |
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); defaults.put("Tree.hash", color); | UIManager.put("Tree.hash", color); | protected void setHashColor(Color color) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); defaults.put("Tree.hash", color); } |
if (rowHeight == 0) rowHeight = this.rowHeight; | protected void setRowHeight(int rowHeight) { treeState.setRowHeight(rowHeight); } | |
if (treeModel != null && (!isLeaf && !node.equals(treeModel.getRoot())) && (tree.isRootVisible() || getLevel(node) != 1)) return true; return false; | return (!isLeaf && getLevel(node) != 0 && hasControlIcons()); | protected boolean shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { Object node = path.getLastPathComponent(); if (tr... |
bounds = getPathBounds(tree, path); | Rectangle bounds = getPathBounds(tree, path); | protected boolean startEditing(TreePath path, MouseEvent event) { int x; int y; if (event == null) { bounds = getPathBounds(tree, path); x = bounds.x; y = bounds.y; } else { x = event.getX(); y = event.getY(); } updateCellEditor(); TreeCellEdit... |
action = null; tree.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).setParent(null); tree.getActionMap().setParent(null); | protected void uninstallKeyboardActions() { // TODO: Implement this properly. } | |
Rectangle bounds = getCellBounds(0, 0, next); boolean rootVisible = isRootVisible(); | TreePath rootPath = new TreePath(next); Rectangle bounds = getPathBounds(tree, rootPath); | void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); boolean rootVisible = isRootVisible(); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the nex... |
if ((bounds.width == 0 && bounds.height == 0) || (!rootVisible | if ((bounds.width == 0 && bounds.height == 0) || (!isRootVisible() | void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); boolean rootVisible = isRootVisible(); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the nex... |
current = new TreePath(next); | current = rootPath; | void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); boolean rootVisible = isRootVisible(); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the nex... |
next = getNextSibling(next); | { Object pNext = next; next = getNextSibling(pNext); if (next == null) { Object parent = getParent(root, pNext); while (next == null && parent != null) { next = getNextSibling(parent); if (next == null) parent = getParent(root, parent); } | void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); boolean rootVisible = isRootVisible(); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the nex... |
while (next != null && !tree.isVisible(new TreePath(getPathToRoot(next, 0)))); | void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); boolean rootVisible = isRootVisible(); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the nex... | |
if (currentVisiblePath != null) tree.setVisibleRowCount(currentVisiblePath.getPathCount()); else tree.setVisibleRowCount(0); | tree.setVisibleRowCount(getRowCount(tree)); | void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); boolean rootVisible = isRootVisible(); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the nex... |
selectPath(tree, new TreePath(currentVisiblePath.getPathComponent(0))); | selectPath(tree, new TreePath(getPathToRoot(currentVisiblePath. getPathComponent(0), 0))); | void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); Rectangle bounds = getCellBounds(0, 0, next); boolean rootVisible = isRootVisible(); // If root is not a valid size to be visible, or is // not visible and the tree is expanded, then the nex... |
clientRowHeightSet = true; | public void setRowHeight(int height) { if (rowHeight == height) return; int oldValue = rowHeight; rowHeight = height; firePropertyChange(ROW_HEIGHT_PROPERTY, oldValue, height); } | |
clientScrollsOnExpandSet = true; | public void setScrollsOnExpand(boolean scroll) { if (scrollsOnExpand == scroll) return; boolean oldValue = scrollsOnExpand; scrollsOnExpand = scroll; firePropertyChange(SCROLLS_ON_EXPAND_PROPERTY, oldValue, scroll); } | |
InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, CascadedStyle firstLineStyle, | InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, | private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, CascadedStyle firstLineStyle, LineBox curr_line, int sta... |
if (c.isFirstLine() && firstLineStyle != null) { c.pushStyle(firstLineStyle); } | private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, CascadedStyle firstLineStyle, LineBox curr_line, int sta... | |
Font font1 = FontUtil.getFont(c); | private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, CascadedStyle firstLineStyle, LineBox curr_line, int sta... | |
BoxBuilder.prepBox(c, inline, prev_align, font1); | BoxBuilder.prepBox(c, inline, prev_align); inline.width += inline.totalHorizontalPadding(style1); inline.rightPadding = inline.totalRightPadding(); | private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, CascadedStyle firstLineStyle, LineBox curr_line, int sta... |
BoxBuilder.prepBox(c, inline, prev_align, font); | BoxBuilder.prepBox(c, inline, prev_align); | private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, CascadedStyle firstLineStyle, LineBox curr_line, int sta... |
if (c.isFirstLine() && firstLineStyle != null) { c.popStyle(); } | private static InlineBox calculateInline(Context c, Content content, int avail, int max_width, InlineBox prev_align, boolean isFirstLetter, CascadedStyle firstLetterStyle, CascadedStyle firstLineStyle, LineBox curr_line, int sta... | |
Relative.untranslateRelative(c); c.popStyle(); | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = c.getCu... | |
if (prev_inline != null) { if (prev_inline.popstyles == null) { prev_inline.popstyles = new LinkedList(); } prev_inline.popstyles.add(o); | prev_inline.rightPadding = prev_inline.totalRightPadding(c.getCurrentStyle()); prev_inline.width += prev_inline.rightPadding; pendingRightPadding -= prev_inline.rightPadding; if (prev_inline.popstyles == null) { prev_inline.popstyles = new LinkedList(); | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = c.getCu... |
} | prev_inline.popstyles.add(o); } if (pushedOnFirstLine != null) { pushedOnFirstLine.removeLast(); } Relative.untranslateRelative(c); c.popStyle(); | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = c.getCu... |
new_inline = calculateInline(c, currentContent, remaining_width, bounds.width, prev_align_inline, isFirstLetter, box.firstLetterStyle, box.firstLineStyle, | int fit = pendingRightPadding; if (start == 0) fit += pendingLeftPadding; new_inline = calculateInline(c, currentContent, remaining_width - fit, bounds.width, prev_align_inline, isFirstLetter, box.firstLetterStyle, | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = c.getCu... |
if (pushedOnFirstLine != null) { for (int i = 0; i < pushedOnFirstLine.size(); i++) c.popStyle(); c.popStyle(); for (Iterator i = pushedOnFirstLine.iterator(); i.hasNext();) { c.pushStyle((CascadedStyle) i.next()); } pushedOnFirstLine = null; } | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = c.getCu... | |
boolean moveFirst = true; theResults = new ResultDescriptor[results.size()]; results.toArray(theResults); for (Iterator iterator = results.iterator(); iterator.hasNext();) { ResultDescriptor resultDescriptor = (ResultDescriptor) iterator.next(); Step moveToHistoryStep = null; if (moveFirst) { moveToHistoryStep = ste... | if (!action.isFinish()) { boolean moveFirst = true; theResults = new ResultDescriptor[results.size()]; results.toArray(theResults); for (Iterator iterator = results.iterator(); iterator.hasNext();) { ResultDescriptor resultDescriptor = (ResultDescriptor) iterator.next(); Step moveToHistoryStep = null; if (moveFirst... | protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();... |
previousIds[0] = step.getId(); theResults[0] = joinDesc.getResult(); createNewCurrentStep(joinDesc.getResult(), entry, store, action.getId(), null, previousIds, transientVars, ps); | if (!action.isFinish()) { previousIds[0] = step.getId(); theResults[0] = joinDesc.getResult(); createNewCurrentStep(joinDesc.getResult(), entry, store, action.getId(), null, previousIds, transientVars, ps); } | protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();... |
createNewCurrentStep(theResults[0], entry, store, action.getId(), step, previousIds, transientVars, ps); | if (!action.isFinish()) { createNewCurrentStep(theResults[0], entry, store, action.getId(), step, previousIds, transientVars, ps); } | protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();... |
if (i == 0) { copy.pushstyles = box.pushstyles; } else if (i == words.length - 1) { copy.popstyles = box.popstyles; } | private static void splitInlineBox(Context c, InlineBox ibox, List temp_list) { if (!(ibox instanceof InlineTextBox)) { temp_list.add(ibox.copy()); return; } InlineTextBox box = (InlineTextBox) ibox; String[] words = words(box); // don't split if only one wor... | |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_1() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_10() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.remove(deliveries[i], null); | state.acknowledge(deliveries[i]); | public void testNonRecoverableState_10() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_11() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testNonRecoverableState_11() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_12() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testNonRecoverableState_12() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_13() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testNonRecoverableState_13() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_14() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testNonRecoverableState_14() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_15() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(refs[i], null); | state.add(refs[i]); | public void testNonRecoverableState_16() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_17() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(refs[i], null); | state.add(refs[i]); | public void testNonRecoverableState_18() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(refs[i], null); | state.add(refs[i]); | public void testNonRecoverableState_2() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_27() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_28() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_29() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_30() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_31() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(d, null); | state.acknowledge(d); | public void testNonRecoverableState_31() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_32() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(deliveries[i], null); | state.acknowledge(deliveries[i]); | public void testNonRecoverableState_32() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_33() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(d, null); | state.acknowledge(d); | public void testNonRecoverableState_33() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_34() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(deliveries[i], null); | state.acknowledge(deliveries[i]); | public void testNonRecoverableState_34() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_35() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testNonRecoverableState_35() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_36() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testNonRecoverableState_36() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_37() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testNonRecoverableState_37() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_38() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testNonRecoverableState_38() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_39() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testNonRecoverableState_39() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_40() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testNonRecoverableState_40() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_41() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testNonRecoverableState_41() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testNonRecoverableState_42() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testNonRecoverableState_42() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; } ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_7() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_8() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(d); | state.deliver(d); | public void testNonRecoverableState_9() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.remove(d, null); | state.acknowledge(d); | public void testNonRecoverableState_9() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now return; ... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_remove_1() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now retu... |
MessageReference rref = state.remove(); | MessageReference rref = state.removeFirst(); | public void testNonRecoverableState_remove_1() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now retu... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testNonRecoverableState_remove_1() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now retu... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_remove_2() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now retu... |
MessageReference ref = state.remove(); | MessageReference ref = state.removeFirst(); | public void testNonRecoverableState_remove_2() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now retu... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testNonRecoverableState_remove_2() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (state.acceptReliableMessages()) { // only state that does not accept reliable messages is tested now retu... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_remove_3() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
MessageReference rref = state.remove(); | MessageReference rref = state.removeFirst(); | public void testNonRecoverableState_remove_3() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testNonRecoverableState_remove_3() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_remove_4() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
MessageReference ref = state.remove(); | MessageReference ref = state.removeFirst(); | public void testNonRecoverableState_remove_4() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testNonRecoverableState_remove_4() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_remove_5() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
MessageReference rref = state.remove(); | MessageReference rref = state.removeFirst(); | public void testNonRecoverableState_remove_5() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testNonRecoverableState_remove_5() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_remove_6() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
MessageReference ref = state.remove(); | MessageReference ref = state.removeFirst(); | public void testNonRecoverableState_remove_6() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.