Bug 93964 Failing test case NewForLoopJavaContextTest.testInnerArray()
Build input for I200506-1600 I disabled the failing test case NewForLoopJavaContextTest.testInnerArray() for the build. Expected: for (Inner inner : array) { } Was: for (A.Inner inner : array) { }
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/NewForLoopJavaContextTest.java
fProject= JavaProjectHelper.createJavaProject(PROJECT, "bin");
		JavaProjectHelper.addRTJar(fProject);
		fProject.setOption(JavaCore.COMPILER_SOURCE, sourceLevel);
		IPackageFragmentRoot fragmentRoot= JavaProjectHelper.addSourceContainer(fProject, SRC);
		IPackageFragment fragment= fragmentRoot.createPackageFragment("test", true, new NullProgressMonitor());
		fCU= fragment.createCompilationUnit(CU_NAME, "", true, new NullProgressMonitor());
		fCU.becomeWorkingCopy(null, null);
	}
	protected void tearDown() throws Exception {
		fCU.discardWorkingCopy();
		JavaProjectHelper.delete(fProject);
		if (JavaCore.getPlugin() != null) {
			JavaCore.setOptions(JavaCore.getDefaultOptions());
		}
	}
	
	private Template getTemplate(String id) {
		TemplateStore store= JavaPlugin.getDefault().getTemplateStore();
		return store.getTemplateData(id).getTemplate();
	}
	
	private Template getForLoop() {
		return getTemplate("org.eclipse.jdt.ui.templates.for_iterable");
	}
	
	private String evaluateTemplateInMethod(String signature) throws BadLocationException, TemplateException, CoreException {
		fCU.getBuffer().setContents(CU_PREFIX + signature + CU_POSTFIX);
		int offset= CU_PREFIX.length() + signature.length() + 3;
		fCU.reconcile(ICompilationUnit.NO_AST, false, null, null);
		return JavaContext.evaluateTemplate(getForLoop(), fCU, offset);