Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333581 - ConfigurationPluginTest testRankedPlugin() always succeeds
Summary: ConfigurationPluginTest testRankedPlugin() always succeeds
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Compendium (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Ross CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-05 11:21 EST by Sascha Zelzer CLA
Modified: 2013-08-21 14:23 EDT (History)
2 users (show)

See Also:


Attachments
Patch 1 (1.03 KB, patch)
2011-01-28 16:31 EST, John Ross CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Zelzer CLA 2011-01-05 11:21:17 EST
Build Identifier: 

The ConfigAdmin test which checks the correct behavior of ranked ConfigurationPlugin services is always successfull. In line 197 of 

http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.equinox/compendium/bundles/org.eclipse.equinox.cm.test/src/org/eclipse/equinox/cm/test/ConfigurationPluginTest.java?view=markup&root=RT_Project

the 'plugin2' variable should be used instead of 'plugin'.

Reproducible: Always
Comment 1 Thomas Watson CLA 2011-01-26 10:37:25 EST
John, please take a look.
Comment 2 John Ross CLA 2011-01-28 16:31:12 EST
Created attachment 187885 [details]
Patch 1

The problem description is correct. This patch makes the suggested fix.