Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365325 - Have target feature tests use test data instead of JDT feature
Summary: Have target feature tests use test data instead of JDT feature
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.8 M4   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 10:11 EST by Curtis Windatt CLA
Modified: 2011-12-07 12:07 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2011-12-01 10:11:13 EST
Wrong number of bundles in JDT feature expected:<25> but was:<26>

junit.framework.AssertionFailedError: Wrong number of bundles in JDT feature expected:<25> but was:<26>
at org.eclipse.pde.ui.tests.target.LocalTargetDefinitionTests.testSetTargetPlatformToJdtFeature(LocalTargetDefinitionTests.java:754)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)

We have already moved some import tests to use test data.  We should do the same for this test.
Comment 1 Curtis Windatt CLA 2011-12-01 12:32:09 EST
Fixed in HEAD.  Reuses the test data from other target tests.
Comment 2 Curtis Windatt CLA 2011-12-05 16:15:39 EST
Updated test to handle MacOS case
Comment 3 Curtis Windatt CLA 2011-12-07 12:07:28 EST
Verified.  All pde ui tests pass in I20111205-1800