Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 29822 Details for
Bug 108191
Unmeaningful error message in case of permission denied
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
test case that provokes the reported ClassCastException
SiteFileContentConsumer_Test.java (text/plain), 914 bytes, created by
Leif Frenzel
on 2005-11-12 05:31:29 EST
(
hide
)
Description:
test case that provokes the reported ClassCastException
Filename:
MIME Type:
Creator:
Leif Frenzel
Created:
2005-11-12 05:31:29 EST
Size:
914 bytes
patch
obsolete
>package org.eclipse.update.internal.core; > >import junit.framework.TestCase; > >import org.eclipse.update.core.Feature; >import org.eclipse.update.core.PluginEntry; > > >public class SiteFileContentConsumer_Test extends TestCase { > > // exposes Bug #108191 > public void testContentConsumersList() throws Exception { > SiteFileContentConsumer sfcc = new SiteFileContentConsumer( new Feature() ); > sfcc.open( new PluginEntry() { > @Override > public boolean isUnpack() { > return false; > } > } ); > sfcc.open( new PluginEntry() { > @Override > public boolean isUnpack() { > return true; > } > } ); > // here we get the ClassCastException > try { > sfcc.abort(); > } catch( ClassCastException cc ) { > fail( cc.getMessage() ); > } catch( Throwable thr ) { > // all other exceptions are most probably because > // of our testing dummies > } > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 108191
:
29821
| 29822