Skip to content

Add DnD tests issue #3182 #3195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aloowood
Copy link

No description provided.

Copy link
Contributor

github-actions bot commented Aug 16, 2025

Test Results

 2 781 files  ±0   2 781 suites  ±0   1h 52m 21s ⏱️ + 4m 31s
 7 931 tests ±0   7 704 ✅ +2  227 💤 ±0  0 ❌  - 1 
23 336 runs  ±0  22 603 ✅ +2  733 💤 ±0  0 ❌  - 1 

Results for commit d5b8e53. ± Comparison against base commit a7dc486.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@merks merks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully it's possible to use IWorkbenchWindow and IWorkbenchPage instead of non-API implementation classes.

In general, please keep the PR to a single commit. Using amend and force push for that purpose rather than keep adding commits.

Comment on lines +1 to +11
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>features</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a .project file here is not needed and not desired.

Comment on lines +1 to +13
/*******************************************************************************
* Copyright (c) 2004, 2005 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you copied this from somewhere.

@@ -0,0 +1,26 @@
package org.eclipse.ui.tests.dnd;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every java file needs a "standard" copyright header.


IEditorPart editor1, editor2, editor3;

static WorkbenchWindow window;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be an IWorkbenchWindow? Should any of these things really be static?

IEditorPart editor1, editor2, editor3;

static WorkbenchWindow window;
static WorkbenchPage page;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be an IWorkbenchPage?

continue;
}

DragTest newTest = new DragTest(dragSource, dropTarget);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid warnings.

@aloowood aloowood requested a review from merks August 17, 2025 07:00
@aloowood aloowood marked this pull request as draft August 17, 2025 07:07
@aloowood aloowood marked this pull request as ready for review August 17, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants