Bug 97132 - can't run JUnit Plugin tests with RC1
Summary: can't run JUnit Plugin tests with RC1
Status: RESOLVED DUPLICATE of bug 97148
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-28 21:29 EDT by David Williams CLA
Modified: 2005-05-29 22:58 EDT (History)
1 user (show)

See Also:


Attachments
log from trying to run JUnit test from existing workspace (1.96 KB, text/plain)
2005-05-28 21:33 EDT, David Williams CLA
no flags Details
log when starting with fresh workspace, fresh project, fresh JUnit test (5.12 KB, text/plain)
2005-05-28 21:35 EDT, David Williams CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2005-05-28 21:29:46 EDT
I hope I'm doing something stupid, but using RC1, I can't run JUnit plugin tests. 

With an existing workspace (and its JUnit tests), I get a
"org.eclipse.pde.junit.runtime.uitestapplication" could not be found
<I'll attach complete log>

I tried with a brand new workspace, and brand new project, and brand new 
JUnit test, and got different error "TestCase Class not found". 
<I'll attach complete log>. 
In this later case, when creating the new stuff, I did get a dialog message
saying "junit.jar is not on the classpath, do you want to add it", for which I
said yes, and for which is did seem to add it.
Comment 1 David Williams CLA 2005-05-28 21:33:53 EDT
Created attachment 21924 [details]
log from trying to run JUnit test from existing workspace 

BTW, I had also tried shutting down, and restarting, no effect. 
This is with an existing workspace, using RC1 development environment, and 
an RC1 based target.
Comment 2 David Williams CLA 2005-05-28 21:35:46 EDT
Created attachment 21925 [details]
log when starting with fresh workspace, fresh project, fresh JUnit test

No target in this case, junit.jar *was* added to classpath.
Comment 3 Gorkem Ercan CLA 2005-05-29 19:41:56 EDT
Trying to start an eclipse application failed in my case as well. I did a little
bit debugging, it looks like no extensions from  the
"org.eclipse.core.runtime.applications" extension point could be initialized.
Comment 4 Wassim Melhem CLA 2005-05-29 22:53:30 EDT
Is the org.eclipse.update.configurator plugin among the list of plugins you 
are launching with?
Comment 5 Wassim Melhem CLA 2005-05-29 22:58:30 EDT

*** This bug has been marked as a duplicate of 97148 ***