Changeset 391 for trunk/org.modelica.mdt.test/src/org/modelica/mdt/test/TestModelicaCompletionProcessor.java
- Timestamp:
- 03/01/06 12:52:57 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.test/src/org/modelica/mdt/test/TestModelicaCompletionProcessor.java
r372 r391 586 586 foundMathFeedbackProp); 587 587 588 /* 589 * this is a bug trigger code 590 * when cp. is typed inside the import_rich_model.bar 591 * the faulty version of the completion processor proposes 'package.mo' 592 */ 593 594 /* type 'cp.' inside import_rich_model.bar */ 595 editor.doRevertToSaved(); 596 doc.replace(554, 0, "cp."); 597 598 /* get proposals at the end of 'Blocks.Math.' */ 599 props = compProc.computeCompletionProposals(textViewer, 557); 600 601 /* 602 * we are NOT expecting a proposal for package.mo 603 */ 604 for (ICompletionProposal proposal : props) 605 { 606 System.out.println(proposal.getDisplayString()); 607 if (proposal.getDisplayString().startsWith("package.mo")) 608 { 609 /* not good !*/ 610 fail("proposal for package.mo found"); 611 } 612 } 613 614 588 615 /* 589 616 * revert to saved otherwise a dialog will pop-up asking us to save
Note: See TracChangeset
for help on using the changeset viewer.