Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 57526 - [CModel] CModelElementsTest needs to test STRUCTURAL_PARSE mode as well
Summary: [CModel] CModelElementsTest needs to test STRUCTURAL_PARSE mode as well
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0   Edit
Assignee: Hoda Amer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 47235
  Show dependency tree
 
Reported: 2004-04-05 19:37 EDT by John Camelon CLA
Modified: 2004-04-30 13:02 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Camelon CLA 2004-04-05 19:37:08 EDT
If we cannot get rid of the 'Use Structural-Parse mode to build the CModel' 
option from the preference page then we do need to test this further. I 
propose that CModelElementsTest can be updated to run twice, once on 
QUICK_PARSE, once upon STRUCTURAL_PARSE.
Comment 1 Hoda Amer CLA 2004-04-27 13:45:19 EDT
The class StructuralCModelElementsTest has been added. It uses the same input 
file as the CModelElementsTest. 
The part that still fails is the checkTemplates(). All other checks are fine.
I will not resolve to Fixed until the rest of the C model tests run in 
Structural mode as well.
Comment 2 Hoda Amer CLA 2004-04-30 11:09:36 EDT
Fixed in HEAD.
Now All CModel tests run twice, once for quick mode and once for Structural 
mode (Except for IIncludeTests.java because it depends on external as well as 
local inclusions. Local inclusions are tested in the CModelElementsTest.java, 
and external are not possible to test right now.)

Structural parse now is working just like Quick parse. We need now to:
(1) test its performance
(2) document its behavior 

James,
Coupld you please raise a bug on Dave Williams if you find that the 
documentation on Structural Parse is not enough? 
Also, what is your feedback on performance?
Thanks