Skip to content

Commit

Permalink
Enable prototype support for Generic Test view - JUnit
Browse files Browse the repository at this point in the history
Majority of the tabs are already providing labels support for the
prototype tab.
  • Loading branch information
akurtakov committed Apr 19, 2024
1 parent 71027fc commit 5708c04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions org.eclipse.jdt.ui.unittest.junit/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
delegateDescription="%JUnitLaunchDelegate.description"
delegateName="%JUnitLaunchDelegate.name"
allowCommandLine="true"
allowPrototypes="true"
delegate="org.eclipse.jdt.ui.unittest.junit.launcher.AdvancedJUnitLaunchConfigurationDelegate"
modes="run, debug"
id="org.eclipse.jdt.ui.unittest.junit.launchConfiguration"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2020 IBM Corporation and others.
* Copyright (c) 2000, 2024 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -28,6 +28,7 @@
import org.eclipse.debug.ui.EnvironmentTab;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
import org.eclipse.debug.ui.PrototypeTab;
import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;

import org.eclipse.jdt.internal.junit.launcher.AssertionVMArg;
Expand All @@ -45,7 +46,7 @@ public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new JUnitLaunchConfigurationTab(),
new JavaArgumentsTab(), new JavaJRETab(true),
isModularConfiguration ? new JavaDependenciesTab() : new JavaClasspathTab(), new SourceLookupTab(),
new EnvironmentTab(), new CommonTab() };
new EnvironmentTab(), new CommonTab(), new PrototypeTab() };
setTabs(tabs);
}

Expand Down

0 comments on commit 5708c04

Please sign in to comment.