Bug 194490 - Create JUnit test suite to validate links in tocs
Summary: Create JUnit test suite to validate links in tocs
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4 M1   Edit
Assignee: Adam Archer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-06-26 15:20 EDT by Adam Archer CLA
Modified: 2007-07-03 13:27 EDT (History)
3 users (show)

See Also:


Attachments
patch (10.89 KB, patch)
2007-06-26 16:23 EDT, Adam Archer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Archer CLA 2007-06-26 15:20:31 EDT
We should create a JUnit test suite to validate all the links in the platform tocs. This should report errors similarly to the Chkpii unit tests.
Comment 1 Adam Archer CLA 2007-06-26 16:23:00 EDT
Created attachment 72525 [details]
patch

This patch adds an internal class to org.eclipse.help.base that will validate the links in a toc against the plugins available to Eclipse.

This method is called in a new test suite in org.eclipse.ua.tests that runs the method once for each toc. Ideally, this suite should be moved to releng so the failures appear in the same place as the Chkpii failures.
Comment 2 Chris Goldthorpe CLA 2007-07-03 12:57:00 EDT
Fixed in HEAD.