Bug 116642 - XRef visual tests failing since fix for 110360
Summary: XRef visual tests failing since fix for 110360
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.2.1   Edit
Assignee: Matt Chapman CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 06:51 EST by Helen Beeken CLA
Modified: 2005-11-23 08:18 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 Helen Beeken CLA 2005-11-16 06:51:13 EST
The fix for enhancement 110360 has meant that there are the new "uses pointcut"
entries in the relationship map. These are filtered out by default. However, all
the filter tests in visual tests XReferenceViewTest now fail. They all fail in
the same method - checkProvidersAgree() since now the xref provider is returning
that there are two things checked (and consequently filtered out), whereas the
dummy providers return that nothing is checked. I believe that this method is in
fact testing the wrong thing since each provider provides its own filters so
there is no guarentee that these match, and in fact there is no reason why they
should. What the tests should be doing really is getting hold of the provider,
finding out what is checked by default, doing the test (i.e. select all, or
deselect all) and then checking whether the correct behaviour has happened.
Comment 1 Matt Chapman CLA 2005-11-23 08:18:29 EST
Fixed on 1.2.1 and 1.3.0