Bug 649719

Summary: No run contexts are available after upgrading from F13 to F14
Product: [Fedora] Fedora Reporter: Darryl L. Pierce <dpierce>
Component: eclipseAssignee: Alexander Kurtakov <akurtako>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: akurtako, ebaron, oliver, overholt, sgehwolf, tross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-08 08:43:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Darryl L. Pierce 2010-11-04 12:26:48 UTC
Description of problem:

On F13 I could right-click on a JUnit class in Eclipse and elect to run the test as a JUnit test. Similar options were present when right-clicking on the test folders as well.

After upgrading to F14 using preupgrade, there are no longer any such options for running JUnit tests.

Version-Release number of selected component (if applicable):

(mcpierce@mcpierce-laptop:Podcast)$ rpm -qa *eclipse*
icu4j-eclipse-4.2.1-1.fc14.x86_64
eclipse-rcp-3.6.1-2.fc14.x86_64
tomcat5-jasper-eclipse-5.5.27-7.4.fc12.noarch
eclipse-jdt-3.6.1-2.fc14.x86_64
eclipse-platform-3.6.1-2.fc14.x86_64
eclipse-swt-3.6.1-2.fc14.x86_64
eclipse-pde-3.6.1-2.fc14.x86_64


How reproducible:

100%

Steps to Reproduce:
1. Start Eclipse.
2. Right click on a JUnit test (3.8 or 4.0).

  
Actual results:

No option to run unit tests. The only option there is to create new runtime profiles.

Expected results:

An option to run as a unit test, as well as an applet or an application.

Additional info:

Comment 1 Alexander Kurtakov 2010-11-08 13:47:05 UTC
Can you reproduce after running eclipse -clean -debug -consolelog?
If yes please attach the log.

Comment 2 Darryl L. Pierce 2010-11-08 15:06:57 UTC
In order to have the menu item come up, I had to create a method whose name started with "test". Even though JUnit 4 says that tests only need to have the @Test annotation and can be named anything.

Comment 3 Alexander Kurtakov 2010-11-08 15:16:00 UTC
So you have only JUnit 4 tests?
Can you verify the behavior with upstream eclipse?

Comment 4 Alexander Kurtakov 2010-12-08 08:43:32 UTC
No response in a month. 
Closing the bug. 
Please reopen when you have more time to answer my questions so I can understand what the real problem is.