From b3ecd5d763b119bf9136c18b0d52385197bd643b Mon Sep 17 00:00:00 2001 From: Markus Duft Date: Tue, 6 Dec 2016 09:03:50 +0100 Subject: Initial contribution of LaunchGroupTests These contain basic test for the existing launch group functionality. No tests for the additional functionality are provided in this commit. Test for additional functionality will be in the according commits. This commit also fixes a bug in the existing functionality that marks a group as terminated too early. Bug: 508420 Change-Id: I1e1e0ae512384665f926d7225b55c701dca92409 Signed-off-by: Markus Duft --- .../core/org/eclipse/debug/internal/core/groups/GroupLaunch.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'org.eclipse.debug.core') diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/groups/GroupLaunch.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/groups/GroupLaunch.java index df314a18a..2c1b519c6 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/groups/GroupLaunch.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/groups/GroupLaunch.java @@ -99,7 +99,9 @@ public class GroupLaunch extends Launch implements ILaunchesListener2 { return false; } } - return true; + return fLaunched; // we're done only if we're already done launching. + // this is required for the WAIT_FOR_TERMINATION + // mode. } /** -- cgit v1.2.3