Bug 11851 generated new TestCase differes form generated new class
It would be nice if the generation of a new test case would do the same as generation of a new class. The thing which I noticed: new Class wizards adds javadoc while new Test Case wizard does not. /** * Constructor for AA. * @param name */ public AA(String name) { super(name); }
org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseCreationWizardPage.java
methodName.append("1"); 
				newMethodsNames.add(new String(methodName));
				newMethod.append("public void "+methodName.toString()+"() {}\n\n"); 
				type.createMethod(newMethod.toString(), null, false, null);	
			}
		}
	}
	public void setVisible(boolean visible) {
		super.setVisible(visible);
		if (visible && fFirstTime) {
			handleFieldChanged(CLASS_TO_TEST); 
			if (getClassToTestText().equals("")) 
				setPageComplete(false);
			fFirstTime= false;
		}
	}
	
	public int getIndexOfFirstMethod() {
		return fIndexOfFirstTestMethod;
	}
	/**
	 * Creates a type using the current field values.
	 */
	public void createType(IProgressMonitor monitor) throws CoreException, InterruptedException {		
		super.createType(monitor);
		if (fPage2.getCreateTasksButtonSelection()) {
			createTaskMarkers();
		}
	}	
	private void createTaskMarkers() throws CoreException {