issue_id
int64
2.04k
425k
title
stringlengths
9
251
body
stringlengths
4
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
timestamp[us, tz=UTC]
report_datetime
timestamp[us, tz=UTC]
updated_file
stringlengths
23
187
chunk_content
stringlengths
1
22k
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
import org.eclipse.jdt.core.JavaModelException; import org.eclipse.jdt.ui.IContextMenuConstants; import org.eclipse.jdt.ui.IWorkingCopyManager; import org.eclipse.jdt.ui.JavaElementLabelProvider; import org.eclipse.jdt.ui.JavaElementSorter; import org.eclipse.jdt.internal.core.JavaElement; import org.eclipse.jdt.intern...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
private ILabelProvider fLabelProvider; private ILabelProvider fTitleProvider; private StructuredViewer fViewer; private IMemento fMemento; private JavaElementTypeComparator fTypeComparator; private ContextMenuGroup[] fStandardGroups; private Menu fContextMenu; private OpenResourceAction fOpenCUAction; pri...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
public void partActivated(IWorkbenchPart part) { setSelectionFromEditor(part); } public void partBroughtToTop(IWorkbenchPart part) { } public void partClosed(IWorkbenchPart part) { } public void partDeactivated(IWorkbenchPart part) { } public void partOpened(IWorkbenchPart part) { } }; /* * I...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} /** * Creates the search list inner viewer. */ public void createPartControl(Composite parent) { Assert.isTrue(fViewer == null); if (fMemento != null) fMemento= null; fTypeComparator= new JavaElementTypeComparator(); fViewer= createViewer(parent); fLabelProvider= createLabelProvider(); ...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
createActions(); addKeyListener(); getSite().setSelectionProvider(fViewer); IStatusLineManager slManager= getViewSite().getActionBars().getStatusLineManager(); fViewer.addSelectionChangedListener(new StatusBarUpdater(slManager)); hookViewerListeners(); fViewer.setContentProvider(createConte...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} public void dispose() { if (fViewer != null) { JavaPlugin.getDefault().getProblemMarkerManager().removeListener((IProblemChangedListener)fViewer); getViewSite().getWorkbenchWindow().getSelectionService().removeSelectionListener(this); getViewSite().getPage().removePartListener(fPartListener); fViewer...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (fRefreshAction.isEnabled()) fRefreshAction.run(); } else if (key == SWT.F4) { OpenTypeHierarchyUtil.open(getSelectionProvider().getSelection(), getSite().getWorkbenchWindow()); } else if (key == SWT.F3) { fOpenCUAction.update(); if (fOpenCUAction.isEnabled()) fOpenCUAction.run(); } else if ...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
menu.appendToGroup(IContextMenuConstants.GROUP_NEW, newMenu); new NewWizardMenu(newMenu, getSite().getWorkbenchWindow(), false); fOpenCUAction.update(); if (fOpenCUAction.isEnabled()) menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fOpenCUAction); addOpenWithMenu(menu, selection); addOpenToMen...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
fStandardGroups= new ContextMenuGroup[] { new BuildGroup(), new ReorgGroup(), new GenerateGroup(), new JavaSearchGroup() }; fDeleteAction= ReorgGroup.createDeleteAction(provider); fRefreshAction= new RefreshAction(getShell()); IActionBars actionService= getViewSite().getActionBars(); actionS...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (selection.size() != 1) return; IAdaptable element= (IAdaptable)selection.getFirstElement(); Object resource= element.getAdapter(IResource.class); if (!(resource instanceof IFile)) return; MenuManager submenu= new MenuManager(PackagesMessages.getString("PackageExplorer.openWith")); submenu.add(n...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
/** * Answers if the given <code>element</code> is a valid * input for this part. * * @param element the object to test * @return <true> if the given element is a valid input */ abstract protected boolean isValidInput(Object element); /** * Answers if the given <code>element</code> is a valid * elem...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (newInput == null) return part == fPreviousSelectionProvider; if (input instanceof IJavaElement && newInput instanceof IJavaElement) return getTypeComparator().compare(newInput, input) > 0; else return false; } protected boolean isAncestorOf(Object ancestor, Object element) { if (element instan...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
Object currentInput= (IJavaElement)getViewer().getInput(); if (newInput != null && newInput.equals(currentInput)) { IJavaElement elementToSelect= findElementToSelect(getElementFromSingleSelection(selection)); if (elementToSelect != null && getTypeComparator().compare(newInput, elementToSelect) < 0) setSelec...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
else if (input instanceof Collection) { if (((Collection)input).isEmpty()) setTitleImage(fOriginalTitleImage); else { Object firstElement= ((Collection)input).iterator().next(); setTitleImage(fTitleProvider.getImage(firstElement)); } } else setTitleImage(fTitleProvider.getImage(input)); setV...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
protected ILabelProvider createLabelProvider() { return new StandardJavaUILabelProvider( StandardJavaUILabelProvider.DEFAULT_TEXTFLAGS, StandardJavaUILabelProvider.DEFAULT_IMAGEFLAGS | JavaElementImageProvider.SMALL_ICONS, StandardJavaUILabelProvider.getAdornmentProviders(true, null) ); } pr...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* Adds filters the viewer of this part. */ protected void addFilters() { } /** * Creates the the content provider of this part. */ protected BaseJavaElementContentProvider createContentProvider() { return new JavaElementContentProvider(true, this); } protected void setInitialInput() { ISelection ...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
input= getSite().getPage().getInput(); if (!(input instanceof IJavaElement) && input instanceof IAdaptable) input= ((IAdaptable)input).getAdapter(IJavaElement.class); else return; } if (findElementToSelect((IJavaElement)input) != null) adjustInputAndSetSelection((IJavaElement)input); } final ...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
else linkToEditor((IStructuredSelection)event.getSelection()); } }); fViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { if (fProcessSelectionEvents && !JavaBrowsingPreferencePage.openEditorOnSingleClick()) new ShowInEditorAction().run(ev...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* * @param je the Java element for which to search the closest input * @return the closest Java element used as input for this part */ protected IJavaElement findInputForJavaElement(IJavaElement je) { if (je == null) return null; if (isValidInput(je)) return je; return findInputForJavaElement(je.g...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
} /** * Gets the typeComparator. * @return Returns a JavaElementTypeComparator */ protected Comparator getTypeComparator() { return fTypeComparator; } /** * Links to editor (if option enabled) */ private void linkToEditor(IStructuredSelection selection) { if (selection == null || selection.isEmpty())...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
IEditorPart editorArray[]= page.getEditors(); for (int i= 0; i < editorArray.length; ++i) { IEditorPart editor= editorArray[i]; Object input= getElementOfInput(editor.getEditorInput()); if (input != null && input.equals(element)) { page.bringToTop(editor); if (obj instanceof IJavaElement) ...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
adjustInputAndSetSelection(element); return; } } if (ei instanceof IFileEditorInput) { IFile file= ((IFileEditorInput)ei).getFile(); IJavaElement je= (IJavaElement)file.getAdapter(IJavaElement.class); if (je == null) { setSelection(null, false); return; } adjustInputAndSetSe...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
return null; } private IResource getResourceFor(Object element) { if (element instanceof IJavaElement) { if (element instanceof IWorkingCopy) { IWorkingCopy wc= (IWorkingCopy)element; IJavaElement original= wc.getOriginalElement(); if (original != null) element= original; } try { ele...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* Tries to find the given element in a workingcopy. */ protected static IJavaElement getWorkingCopy(IJavaElement input) { try { if (input instanceof ICompilationUnit) return EditorUtility.getWorkingCopy((ICompilationUnit)input); else return EditorUtility.getWorkingCopy(input, true); } catch (JavaMo...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
* @return the compilation unit of the given java element */ protected static ICompilationUnit getCompilationUnit(IJavaElement element) { if (element == null) return null; if (element instanceof IMember) return ((IMember) element).getCompilationUnit(); int type= element.getElementType(); if (IJav...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
if (element.getElementType() == IJavaElement.CLASS_FILE) return element; if (((BaseJavaElementContentProvider)getViewer().getContentProvider()).getProvideWorkingCopy()) { IJavaElement wc= getWorkingCopy(element); if (wc != null) element= wc; return element; } else { ICompilationUnit cu= getComp...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
synchronized (unit) { try { unit.reconcile(null); return unit.getElementAt(offset); } catch (JavaModelException x) { } } return null; } protected IType getTypeForCU(ICompilationUnit cu) { cu= (ICompilationUnit)getSuitableJavaElement(cu); IType primaryType= JavaModelUtil.findPrim...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/TypesView.java
/* * (c) Copyright IBM Corp. 2000, 2001. * All Rights Reserved. */ package org.eclipse.jdt.internal.ui.browsing; import org.eclipse.jface.viewers.ILabelProvider; import org.eclipse.jdt.core.IClassFile; import org.eclipse.jdt.core.ICompilationUnit; import org.eclipse.jdt.core.IJavaElement; import org.eclipse.jdt.core...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/TypesView.java
/** * Creates and returns the label provider for this part. * * @return the label provider * @see ILabelProvider */ protected ILabelProvider createLabelProvider() { return new StandardJavaUILabelProvider( StandardJavaUILabelProvider.DEFAULT_TEXTFLAGS, StandardJavaUILabelProvider.DEFAULT_IMAGEF...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/TypesView.java
} /** * Answers if the given <code>element</code> is a valid * element for this part. * * @param element the object to test * @return <true> if the given element is a valid element */ protected boolean isValidElement(Object element) { if (element instanceof ICompilationUnit) return super.isValidEle...
11,770
Bug 11770 java browsing: multi-selection disabled in 2 of 4 views
multi selection is disabled in the package and type views but it's enabled in project and member views
verified fixed
3839f03
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T15:41:17Z
2002-03-20T10:26:40Z
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/TypesView.java
type= (IType)je; return getSuitableJavaElement(type); case IJavaElement.COMPILATION_UNIT: return getTypeForCU((ICompilationUnit)je); case IJavaElement.CLASS_FILE: try { return findElementToSelect(((IClassFile)je).getType()); } catch (JavaModelException ex) { return null; } case IJ...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
package org.eclipse.jdt.junit.wizards; import java.awt.Stroke; import java.util.ArrayList; import java.util.HashMap; import java.util.ListIterator; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProg...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
import org.eclipse.jdt.internal.junit.ui.JUnitPlugin; import org.eclipse.jdt.internal.junit.util.JUnitStatus; import org.eclipse.jdt.internal.junit.util.JUnitStubUtility; import org.eclipse.jdt.internal.junit.util.LayoutUtil; import org.eclipse.jdt.internal.junit.util.TestSearchEngine; import org.eclipse.jdt.internal.j...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
protected final static String PAGE_NAME= "NewTestCaseCreationWizardPage"; protected final static String CLASS_TO_TEST= PAGE_NAME + ".classtotest"; protected final static String TEST_CLASS= PAGE_NAME + ".testclass"; protected final static String TEST_SUFFIX= "Test"; protected final static String SETUP= "setUp"; ...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
private Label fClassToTestLabel; private Text fClassToTestText; private Button fClassToTestButton; private Label fTestClassLabel; private Text fTestClassText; private String fTestClassTextInitialValue; private IMethod[] fTestMethods; private IType fCreatedType; private boolean fFirstTime; public NewTestCaseC...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
field.setEnabled(1, field.isSelected(0)); } }); fClassToTestStatus= new JUnitStatus(); fTestClassStatus= new JUnitStatus(); fDefaultClassToTest= ""; } /** * Should be called from the wizard with the input element. */ public void init(IStructuredSelection selection, NewTestCaseCreationWizardPage2...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
ICompilationUnit cu= (ICompilationUnit) JavaModelUtil.findElementOfKind(element, IJavaElement.COMPILATION_UNIT); if (cu != null) enclosingType= JavaModelUtil.findPrimaryType(cu); } if (enclosingType != null) { try { if (!TestSearchEngine.isTestImplementor(enclosingType)) { fDefaultClassTo...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fModifierStatus, fSuperClassStatus }); } /* * @see ContainerPage#handleFieldChanged */ protected void handleFieldChanged(String fieldName) { super.handleFieldChanged(fieldName); if (fieldName.equals(CLASS_TO_TEST)) { fClassToTestStatus= classToTestClassChanged(); updateDefaultName(); } else if (...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
s= s.substring(s.lastIndexOf('.') + 1); if (s.length() > 0) setTypeName(s + TEST_SUFFIX, true); } /* * @see IDialogPage#createControl(Composite) */ public void createControl(Composite parent) { initializeDialogUnits(parent); Composite composite= new Composite(parent, SWT.NONE); int nColumns= 4...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fClassToTestText.setText(fDefaultClassToTest); restoreWidgetValues(); setFocus(); } protected void createMethodStubSelectionControls(Composite composite, int nColumns) { LayoutUtil.setHorizontalSpan(fMethodStubsButtons.getLabelControl(composite), nColumns); LayoutUtil.createEmptySpace(composite,1); LayoutUt...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fClassToTestButton= new Button(composite, SWT.PUSH); fClassToTestButton.setText(Messages.getString("NewTestClassWizPage.class_to_test.browse")); fClassToTestButton.setEnabled(true); fClassToTestButton.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { clas...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
IJavaElement[] elements= new IJavaElement[] { root.getJavaProject() }; IJavaSearchScope scope= SearchEngine.createJavaSearchScope(elements); IType type= null; try { SelectionDialog dialog= JavaUI.createTypeDialog(getShell(), getWizard().getContainer(), scope, IJavaElementSearchConstants.CONSIDER_CLASSES, fa...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} public IType getClassToTest() { return fClassToTest; } /** * Sets the class to test name. * @param canBeModified Selects if the super class can be changed by the user */ public void setClassToTest(String name) { fClassToTestText.setText(name); } /* * @see TypePage#evalMethods */ protected vo...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
createTestMethodStubs(type); } } protected void createConstructor(IType type) throws JavaModelException { String constr= "public "+getTypeName()+"(String name) {super(name);}\n\n"; type.createMethod(constr, null, false, null); fIndexOfFirstTestMethod++; } protected void createMain(IType type) throws JavaMo...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fIndexOfFirstTestMethod++; } protected void createSetUp(IType type, IImportsStructure imports) throws JavaModelException { ITypeHierarchy typeHierarchy= null; IType[] superTypes= null; String setUp; IMethod methodTemplate= null; if (type.exists()) { typeHierarchy= type.newSupertypeHierarchy(null); s...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
type.createMethod(setUp, null, false, null); fIndexOfFirstTestMethod++; } protected void createTearDown(IType type, IImportsStructure imports) throws JavaModelException { ITypeHierarchy typeHierarchy= null; IType[] superTypes= null; String tearDown; IMethod methodTemplate= null; if (type.exists()) { ...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} else { tearDown="/**\n * Tears down the fixture, for example, close a network connection.\n * This method is called after a test is executed.\n * @throws Exception\n */\n" + "protected void "+TEARDOWN+"() throws Exception {}\n\n"; } type.createMethod(tearDown, null, false, null); fIndexOfFirstTest...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
iter.remove(); } } } /* used when for example both sum and Sum methods are present. Then * sum -> testSum * Sum -> testSum1 */ ArrayList newMethodsNames= new ArrayList(); for (int i = 0; i < methods.length; i++) { String elementName= methods[i].getElementName(); StringBu...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
String param= params[j]; int start= 0, end= param.length(); if (param.startsWith( (new Character(Signature.C_ARRAY)).toString() )) start= 1; if (param.endsWith((new Character(Signature.C_NAME_END)).toString() )) end--; if (param.startsWith((new Character...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} } protected static GridData gridDataForDefaultForTypeName(int span) { GridData gd= new GridData(); gd.horizontalSpan= span; return gd; } public static Control createEmptySpace(Composite parent, int span) { Label label= new Label(parent, SWT.LEFT); GridData gd= new GridData(); gd.horizontalAlignment= g...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
/** * Creates a type using the current field values. */ public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException { super.createType(monitor); if (fPage2.getCreateTasksButtonSelection()) { createTaskMarkers(); } } private void createTaskMarkers() throws CoreException...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fMethodStubsButtons.setEnabled(3, true); String superClassName= getSuperClass(); if (superClassName != null && !superClassName.equals("") && getPackageFragmentRoot() != null) { try { IType type= NewTestCaseCreationWizardPage.resolveClassNameToType(getPackageFragmentRoot().getJavaProject(), getPackageFragmen...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} protected void createTestClassControls(Composite composite, int nColumns) { fTestClassLabel= new Label(composite, SWT.LEFT | SWT.WRAP); fTestClassLabel.setFont(composite.getFont()); fTestClassLabel.setText(Messages.getString("NewTestClassWizPage.testcase.label")); GridData gd= new GridData(); gd.horizon...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
* Gets the type name. */ public String getTypeName() { return (fTestClassText==null)?fTestClassTextInitialValue:fTestClassText.getText(); } /** * Sets the type name. */ public void setTypeName(String name, boolean canBeModified) { if (fTestClassText == null) { fTestClassTextInitialValue= name; } ...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} if (typeName.indexOf('.') != -1) { status.setError(Messages.getString("NewTestClassWizPage.error.testcase.name_qualified")); return status; } IStatus val= JavaConventions.validateJavaTypeName(typeName); if (val.getSeverity() == IStatus.ERROR) { status.setError(Messages.getString("NewTestClassWizPage...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
protected boolean isNextPageValid() { return !getClassToTestText().equals(""); } protected JUnitStatus validateClassToTest() { IPackageFragmentRoot root= getPackageFragmentRoot(); IPackageFragment pack= getPackageFragment(); String classToTestName= fClassToTestText.getText(); JUnitStatus status= new JUnitS...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
return status; } if (pack != null && !JavaModelUtil.isVisible(type, pack)) { status.setWarning(Messages.getFormattedString("NewTestClassWizPage.warning.class_to_test.interface_not_visible",classToTestName)); return status; } } fClassToTest= type; } catch (JavaModelException e) { ...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
if (type == null) { type= JavaModelUtil.findType(jproject, classToTestName); } return type; } /** * Finds the most severe status from a array of stati. * An error is more severe than a warning, and a warning is more severe * than ok. */ public static IStatus getMostSevere(IStatus[] status) { IStatus...
11,842
Bug 11842 new TestCase not always initialized correctly
It works for CUs but not for classes Test Case: select class Test in the Packages view and create an new TestCase ==> only superclass field is initialized
resolved fixed
e03f80e
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T16:26:40Z
2002-03-20T13:13:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
/** * Use the dialog store to restore widget values to the values that they held * last time this wizard was used to completion */ private void restoreWidgetValues() { IDialogSettings settings= getDialogSettings(); if (settings != null) { boolean generateMain= settings.getBoolean(STORE_GENERATE_MAIN); ...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
package org.eclipse.jdt.junit.wizards; import java.awt.Stroke; import java.util.ArrayList; import java.util.HashMap; import java.util.ListIterator; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProg...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
import org.eclipse.jdt.internal.junit.ui.JUnitPlugin; import org.eclipse.jdt.internal.junit.util.JUnitStatus; import org.eclipse.jdt.internal.junit.util.JUnitStubUtility; import org.eclipse.jdt.internal.junit.util.LayoutUtil; import org.eclipse.jdt.internal.junit.util.TestSearchEngine; import org.eclipse.jdt.internal.j...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
protected final static String PAGE_NAME= "NewTestCaseCreationWizardPage"; protected final static String CLASS_TO_TEST= PAGE_NAME + ".classtotest"; protected final static String TEST_CLASS= PAGE_NAME + ".testclass"; protected final static String TEST_SUFFIX= "Test"; protected final static String SETUP= "setUp"; ...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
private boolean fFirstTime; public NewTestCaseCreationWizardPage() { super(true, PAGE_NAME); fFirstTime= true; fTestClassTextInitialValue= ""; setTitle(Messages.getString("NewTestClassWizPage.title")); setDescription(Messages.getString("NewTestClassWizPage.description")); String[] buttonNames= new...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
/** * Should be called from the wizard with the input element. */ public void init(IStructuredSelection selection, NewTestCaseCreationWizardPage2 page2) { fPage2= page2; IJavaElement element= getInitialJavaElement(selection); initContainerPage(element); initTypePage(element); updateStatus(findMostSevereS...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} catch(JavaModelException e) { JUnitPlugin.log(e); } } } } if (classToTest != null) { try { if (!TestSearchEngine.isTestImplementor(classToTest)) { fDefaultClassToTest= classToTest.getFullyQualifiedName(); } } catch (JavaModelException e) { JUnitPlugin.log(...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fTestClassStatus, fClassToTestStatus, fModifierStatus, fSuperClassStatus }); } /* * @see ContainerPage#handleFieldChanged */ protected void handleFieldChanged(String fieldName) { super.handleFieldChanged(fieldName); if (fieldName.equals(CLASS_TO_TEST)) { fClassToTestStatus= classToTestClassChan...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
String s= fClassToTestText.getText(); if (s.lastIndexOf('.') > -1) s= s.substring(s.lastIndexOf('.') + 1); if (s.length() > 0) setTypeName(s + TEST_SUFFIX, true); } /* * @see IDialogPage#createControl(Composite) */ public void createControl(Composite parent) { initializeDialogUnits(parent); Co...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fClassToTestText.setText(fDefaultClassToTest); restoreWidgetValues(); setFocus(); } protected void createMethodStubSelectionControls(Composite composite, int nColumns) { LayoutUtil.setHorizontalSpan(fMethodStubsButtons.getLabelControl(composite), nColumns); LayoutUtil.createEmptySpace(composite,1); LayoutUt...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fClassToTestText.setLayoutData(gd); fClassToTestButton= new Button(composite, SWT.PUSH); fClassToTestButton.setText(Messages.getString("NewTestClassWizPage.class_to_test.browse")); fClassToTestButton.setEnabled(true); fClassToTestButton.addSelectionListener(new SelectionListener() { public void widgetDef...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
if (root == null) return null; IJavaElement[] elements= new IJavaElement[] { root.getJavaProject() }; IJavaSearchScope scope= SearchEngine.createJavaSearchScope(elements); IType type= null; try { SelectionDialog dialog= JavaUI.createTypeDialog(getShell(), getWizard().getContainer(), scope, IJavaElemen...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
public String getClassToTestText() { return fClassToTestText.getText(); } public IType getClassToTest() { return fClassToTest; } /** * Sets the class to test name. * @param canBeModified Selects if the super class can be changed by the user */ public void setClassToTest(String name) { fClassToTestT...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
if (isNextPageValid()) { createTestMethodStubs(type); } } protected void createConstructor(IType type) throws JavaModelException { String constr= "public "+getTypeName()+"(String name) {super(name);}\n\n"; type.createMethod(constr, null, false, null); fIndexOfFirstTestMethod++; } protected void createMa...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
main.append("}\n"); type.createMethod(main.toString(), null, false, null); fIndexOfFirstTestMethod++; } protected void createSetUp(IType type, IImportsStructure imports) throws JavaModelException { ITypeHierarchy typeHierarchy= null; IType[] superTypes= null; String setUp; IMethod methodTemplate= null...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
"protected void "+SETUP+"() throws Exception {}\n\n"; } type.createMethod(setUp, null, false, null); fIndexOfFirstTestMethod++; } protected void createTearDown(IType type, IImportsStructure imports) throws JavaModelException { ITypeHierarchy typeHierarchy= null; IType[] superTypes= null; String tearDo...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
genStubSettings.fMethodOverwrites= true; tearDown= JUnitStubUtility.genStub(getTypeName(), methodTemplate, genStubSettings, imports); } else { tearDown="/**\n * Tears down the fixture, for example, close a network connection.\n * This method is called after a test is executed.\n * @throws Exception\n */\n" + ...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} overloadedMethods.add(iterMethod); iter.remove(); } } } /* used when for example both sum and Sum methods are present. Then * sum -> testSum * Sum -> testSum1 */ ArrayList newMethodsNames= new ArrayList(); for (int i = 0; i < methods.length; i++) { String eleme...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
String[] params= methods[i].getParameterTypes(); for (int j= 0; j < params.length; j++) { String param= params[j]; int start= 0, end= param.length(); if (param.startsWith( (new Character(Signature.C_ARRAY)).toString() )) start= 1; if (param.endsWith((new Characte...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
type.createMethod(newMethod.toString(), null, false, null); } } } protected static GridData gridDataForDefaultForTypeName(int span) { GridData gd= new GridData(); gd.horizontalSpan= span; return gd; } public static Control createEmptySpace(Composite parent, int span) { Label label= new Label(parent, S...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
return fIndexOfFirstTestMethod; } /** * Creates a type using the current field values. */ public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException { super.createType(monitor); if (fPage2.getCreateTasksButtonSelection()) { createTaskMarkers(); } } private void crea...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
private void validateSuperClass() { fMethodStubsButtons.setEnabled(2, true); fMethodStubsButtons.setEnabled(3, true); String superClassName= getSuperClass(); if (superClassName != null && !superClassName.equals("") && getPackageFragmentRoot() != null) { try { IType type= NewTestCaseCreationWizardPage.re...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} } } protected void createTestClassControls(Composite composite, int nColumns) { fTestClassLabel= new Label(composite, SWT.LEFT | SWT.WRAP); fTestClassLabel.setFont(composite.getFont()); fTestClassLabel.setText(Messages.getString("NewTestClassWizPage.testcase.label")); GridData gd= new GridData(); gd....
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} /** * Gets the type name. */ public String getTypeName() { return (fTestClassText==null)?fTestClassTextInitialValue:fTestClassText.getText(); } /** * Sets the type name. */ public void setTypeName(String name, boolean canBeModified) { if (fTestClassText == null) { fTestClassTextInitialValue= na...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
status.setError(Messages.getString("NewTestClassWizPage.error.testcase.name_empty")); return status; } if (typeName.indexOf('.') != -1) { status.setError(Messages.getString("NewTestClassWizPage.error.testcase.name_qualified")); return status; } IStatus val= JavaConventions.validateJavaTypeName(typeNa...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
return isPageComplete() && getNextPage() != null && isNextPageValid(); } protected boolean isNextPageValid() { return !getClassToTestText().equals(""); } protected JUnitStatus validateClassToTest() { IPackageFragmentRoot root= getPackageFragmentRoot(); IPackageFragment pack= getPackageFragment(); String cl...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
if (type.isInterface()) { status.setWarning(Messages.getFormattedString("NewTestClassWizPage.warning.class_to_test.is_interface",classToTestName)); } if (pack != null && !JavaModelUtil.isVisible(type, pack)) { status.setWarning(Messages.getFormattedString("NewTestClassWizPage.warning.class_to_tes...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
if (type == null) { type= JavaModelUtil.findType(jproject, classToTestName); } return type; } /** * Finds the most severe status from a array of stati. * An error is more severe than a warning, and a warning is more severe * than ok. */ public static IStatus getMostSevere(IStatus[] status) { IStatus...
12,002
Bug 12002 TestCase wizard: error when pressing finish with an empty test name
the finish button should be disabled when the test name field is empty
resolved fixed
7f6ca90
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-25T17:01:26Z
2002-03-21T05:53:20Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
/** * Use the dialog store to restore widget values to the values that they held * last time this wizard was used to completion */ private void restoreWidgetValues() { IDialogSettings settings= getDialogSettings(); if (settings != null) { boolean generateMain= settings.getBoolean(STORE_GENERATE_MAIN); ...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/JUnitWizard.java
/* * (c) Copyright 2001 MyCorporation. * All Rights Reserved. */ package org.eclipse.jdt.junit.wizards; import java.lang.reflect.InvocationTargetException; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; import org.eclipse.jdt.internal.junit.ui.JUnitPlugin; import org.eclipse.jd...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/JUnitWizard.java
/* * @see IWizard#performFinish() */ public boolean performFinish() { return false; } /** * Run a runnable */ protected boolean finishPage(IRunnableWithProgress runnable) { IRunnableWithProgress op= new WorkspaceModifyDelegatingOperation(runnable); try { getContainer().run(false, true, op); } ca...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/JUnitWizard.java
String title= Messages.getString("NewJUnitWizard.op_error.title"); String message= Messages.getString("NewJUnitWizard.op_error.message"); ExceptionHandler.handle(e, shell, title, message); return false; } catch (InterruptedException e) { return false; } return true; } protected void openResource(...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
package org.eclipse.jdt.junit.wizards; import java.awt.Stroke; import java.util.ArrayList; import java.util.HashMap; import java.util.ListIterator; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProg...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
import org.eclipse.jdt.internal.junit.ui.JUnitPlugin; import org.eclipse.jdt.internal.junit.util.JUnitStatus; import org.eclipse.jdt.internal.junit.util.JUnitStubUtility; import org.eclipse.jdt.internal.junit.util.LayoutUtil; import org.eclipse.jdt.internal.junit.util.TestSearchEngine; import org.eclipse.jdt.internal.j...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
protected final static String PAGE_NAME= "NewTestCaseCreationWizardPage"; protected final static String CLASS_TO_TEST= PAGE_NAME + ".classtotest"; protected final static String TEST_CLASS= PAGE_NAME + ".testclass"; protected final static String TEST_SUFFIX= "Test"; protected final static String SETUP= "setUp"; ...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fFirstTime= true; fTestClassTextInitialValue= ""; setTitle(Messages.getString("NewTestClassWizPage.title")); setDescription(Messages.getString("NewTestClassWizPage.description")); String[] buttonNames= new String[] { "public static void main(Strin&g[] args)", Messages.getString("NewTestClass...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
public void init(IStructuredSelection selection, NewTestCaseCreationWizardPage2 page2) { fPage2= page2; IJavaElement element= getInitialJavaElement(selection); initContainerPage(element); initTypePage(element); updateStatus(findMostSevereStatus()); if (element != null) { IType classToTest= null; ...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
} } } if (classToTest != null) { try { if (!TestSearchEngine.isTestImplementor(classToTest)) { fDefaultClassToTest= classToTest.getFullyQualifiedName(); } } catch (JavaModelException e) { JUnitPlugin.log(e); } } } fMethodStubsButtons.setSelection(0, false); fMet...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fSuperClassStatus }); } /* * @see ContainerPage#handleFieldChanged */ protected void handleFieldChanged(String fieldName) { super.handleFieldChanged(fieldName); if (fieldName.equals(CLASS_TO_TEST)) { fClassToTestStatus= classToTestClassChanged(); updateDefaultName(); } else if (fieldName.equals(SUP...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
if (s.length() > 0) setTypeName(s + TEST_SUFFIX, true); } /* * @see IDialogPage#createControl(Composite) */ public void createControl(Composite parent) { initializeDialogUnits(parent); Composite composite= new Composite(parent, SWT.NONE); int nColumns= 4; GridLayout layout= new GridLayout()...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
restoreWidgetValues(); setFocus(); } protected void createMethodStubSelectionControls(Composite composite, int nColumns) { LayoutUtil.setHorizontalSpan(fMethodStubsButtons.getLabelControl(composite), nColumns); LayoutUtil.createEmptySpace(composite,1); LayoutUtil.setHorizontalSpan(fMethodStubsButtons.getSelec...
12,195
Bug 12195 TestCase creation wizard: no progress when pressing super button
There is no progress shown in the wizard when pressing the browse button for selecting the super class. This is not consistent with the New Class wizard.
resolved fixed
1fdab7d
JDT
https://github.com/eclipse-jdt/eclipse.jdt.ui
eclipse-jdt/eclipse.jdt.ui
java
null
null
null
2002-03-26T08:11:30Z
2002-03-24T22:46:40Z
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
fClassToTestButton= new Button(composite, SWT.PUSH); fClassToTestButton.setText(Messages.getString("NewTestClassWizPage.class_to_test.browse")); fClassToTestButton.setEnabled(true); fClassToTestButton.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { clas...