Bug 75142 JUnit integration on top of Hyades
Hi, I'm responsible of the Hyades test UI plugins and in charge of this new feature (already discuss between Hyades' committers and you). Can you contact me to discuss on how we can engage this. Thanks
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/JUnitStubUtility.java
ICompilationUnit cu= (ICompilationUnit) elem.getAncestor(IJavaElement.COMPILATION_UNIT);
			if (cu != null && cu.exists()) {
				IBuffer buf= cu.getBuffer();
				int length= buf.getLength();
				for (int i= 0; i < length; i++) {
					char ch= buf.getChar(i);
					if (ch == SWT.CR) {
						if (i + 1 < length) {
							if (buf.getChar(i + 1) == SWT.LF) {
								return "\r\n"; 
							}
						}
						return "\r"; 
					} else if (ch == SWT.LF) {
						return "\n"; 
					}
				}
			}
			return System.getProperty("line.separator", "\n"); 
		} catch (JavaModelException e) {
			return System.getProperty("line.separator", "\n"); 
		}
	}
	
	public static String codeFormat(String sourceString, int initialIndentationLevel, String lineDelim) {
		ICodeFormatter formatter= ToolFactory.createDefaultCodeFormatter(null);
		return formatter.format(sourceString, initialIndentationLevel, null, lineDelim);
	}
	/**
	 * Generates a stub. Given a template method, a stub with the same signature