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
}
	/**
	 * Gets the content of the class to test text field.
	 */
	public String getClassToTestText() {
		return fClassToTestText.getText();
	}
	
	public IType getClassToTest() {
		return fClassToTest;
	}
	/**
	 * Sets the class to test name.
	 */		
	public void setClassToTest(String name) {
		fClassToTestText.setText(name);
	}	
	/*
	 * @see TypePage#evalMethods
	 */
	protected void createTypeMembers(IType type, IImportsStructure imports, IProgressMonitor monitor) throws CoreException {
		fIndexOfFirstTestMethod= 0;
		createConstructor(type);
		if (fMethodStubsButtons.isSelected(0)) 
			createMain(type);
		
		if (fMethodStubsButtons.isSelected(2)) {
			createSetUp(type, imports);
		}