Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366599 - [Compatibility] testing for an active bundle fails
Summary: [Compatibility] testing for an active bundle fails
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.2 M5   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 366595
  Show dependency tree
 
Reported: 2011-12-13 13:41 EST by Paul Webster CLA
Modified: 2012-01-24 13:30 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2011-12-13 13:41:32 EST
Using a property tester to test for an active bundle should just work:

TestExpression test = new TestExpression("org.eclipse.core.runtime","bundleState", new Object[] { "org.eclipse.core.expressions" }, "ACTIVE", false);

Failed:

org.eclipse.ui.tests.services.EvaluationServiceTest.testPlatformProperty()

PW
Comment 2 Paul Webster CLA 2012-01-24 13:30:07 EST
In I20120123-2200
PW