| Summary: | [content assist] FUP of bug 336451: Add a regression test | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ayushman Jain <amj87.iitr> | ||||
| Component: | Text | Assignee: | Ayushman Jain <amj87.iitr> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | daniel_megert | ||||
| Version: | 3.7 | Keywords: | test | ||||
| Target Milestone: | 3.7 RC1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ayushman Jain
>It will be good to have a regression test for this case
Indeed :-)
Can you please provide one? You probably want to add it to:
org.eclipse.jdt.text.tests.contentassist.TypeCompletionTest
Created attachment 195325 [details]
testcase
Attaching a test for CodeCompletionTest. I don't know how to test this in TypeCompletionTest
Also, I havent run this test. The o.e.jdt.text.tests has millions of dependencies. It takes quite long to check out so many projects with slow connections here. It'll be more convenient for some1 who already has the setup to take this test and commit it. Dani, can you please take it forward? Thanks!
Thanks Ayush. The test was almost good but failed due to missing: collector.setAllowsRequiredProposals(CompletionProposal.CONSTRUCTOR_INVOCATION, CompletionProposal.TYPE_REF, true); Adjusted the test and committed to HEAD. Verified in I20110512-2000 that the test is works and got released into the map file. |