Bug 25183 AST: ITypeBinding of interface returns constructor
20021018 + jcore for 20021022 LocalCorrectionsQuickFixTest.testUnimplementedMethods Set breakpoint in UnimplementedMethodsCompletionProposal.findUnimplementedInterfaceMethods to see that the ITypeBinding of a interface returns a constructor
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/QuickFixTest.java
suite.addTest(new TestSuite(ReturnTypeQuickFixTest.class));
		suite.addTest(new TestSuite(LocalCorrectionsQuickFixTest.class));
		suite.addTest(new TestSuite(ReorgQuickFixTest.class));
		suite.addTest(new TestSuite(ModifierCorrectionsQuickFixTest.class));
		suite.addTest(new TestSuite(MarkerResolutionTest.class));
		return suite;
	}
	
	public QuickFixTest(String name) {
		super(name);
	}
	
	public static void assertCorrectLabels(List proposals) {
		for (int i= 0; i < proposals.size(); i++) {
			ICompletionProposal proposal= (ICompletionProposal) proposals.get(i);
			String name= proposal.getDisplayString();
			if (name == null || name.length() == 0 || name.charAt(0) == '!' || name.indexOf('{') != -1) {
				assertTrue("wrong proposal label: " + name, false);
			}
			if (proposal.getImage() == null) {
				assertTrue("wrong proposal image", false);
			}			
		}
	}
	
	public static void assertCorrectContext(CorrectionContext context) {
		assertTrue("Problem type not marked with lightbulb", JavaCorrectionProcessor.hasCorrections(context.getProblemId()));
	}