Bug 58537 Migration to new source lookup facilities [JUnit]
New source lookup facilities have been added to the debug platform. The Java debugger provides a corresponding new implementation for source lookup. The following patch will migrate the JUnit launch config to use the new source lookup support. The changes are: * specify the platform source lookup tab in the tab group * no longer initialize the source locator attribute in launch shortcuts * specify the source locator and source path computer for the JUnit launch config type in plug-in XML
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizardPage.java
private NewTestCaseCreationWizardPage2 fPage2;
	private MethodStubsSelectionButtonGroup fMethodStubsButtons;
	private IType fClassToTest;
	private IStatus fClassToTestStatus;
	private IStatus fTestClassStatus;
	private int fIndexOfFirstTestMethod;
	private Label fClassToTestLabel;
	private Text fClassToTestText;
	private Button fClassToTestButton;
	private JavaTypeCompletionProcessor fClassToTestCompletionProcessor;
	
	private boolean fFirstTime;  
	public NewTestCaseCreationWizardPage() {
		super(true, PAGE_NAME);
		fFirstTime= true;
		
		setTitle(WizardMessages.getString("NewTestClassWizPage.title")); 
		setDescription(WizardMessages.getString("NewTestClassWizPage.description")); 
		
		String[] buttonNames= new String[] {
			"public static void main(Strin&g[] args)", 
			
			WizardMessages.getString("NewTestClassWizPage.methodStub.testRunner"), 
			WizardMessages.getString("NewTestClassWizPage.methodStub.setUp"), 
			WizardMessages.getString("NewTestClassWizPage.methodStub.tearDown"), 
			WizardMessages.getString("NewTestClassWizPage.methodStub.constructor") 
		};
		
		fMethodStubsButtons= new MethodStubsSelectionButtonGroup(SWT.CHECK, buttonNames, 1);
		fMethodStubsButtons.setLabelText(WizardMessages.getString("NewTestClassWizPage.method.Stub.label"));