Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011, 2013 IBM Corporation and others.
* Copyright (c) 2011, 2026 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 @@ -31,13 +31,6 @@
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.ui.externaltools.internal.model.BuilderUtils;

import junit.framework.Test;

/**
* Abstract {@link Test} class for external tools
*
* @since 3.5.100 org.eclipse.ant.tests.ui
*/
@SuppressWarnings("restriction")
public final class ExternalToolTestUtil {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2017 Google, Inc and others.
* Copyright (c) 2017, 2026 Google, Inc and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand All @@ -24,8 +24,6 @@
import java.util.List;
import java.util.Set;
import java.util.function.BooleanSupplier;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.function.Supplier;

import org.eclipse.core.internal.jobs.JobManager;
Expand Down Expand Up @@ -125,8 +123,8 @@ public static void processUIEvents(final long millis) throws Exception {
/**
* Waits while given condition is {@code true} for a given amount of
* milliseconds. If the actual wait time exceeds given timeout and condition
* will be still {@code true}, throws {@link junit.framework.AssertionError}
* with given message.
* will be still {@code true}, throws AssertionFailedError with given
* message.
* <p>
* Will process UI events while waiting in UI thread, if called from
* background thread, just waits.
Expand Down Expand Up @@ -163,6 +161,7 @@ public static void waitWhile(BooleanSupplier condition, long timeout, Supplier<S
* <p>
* Will process UI events while waiting in UI thread, if called from
* background thread, just waits.
* </p>
*
* @param condition function which will be evaluated while waiting
* @param errorMessage message which will be used to construct the failure
Expand All @@ -175,11 +174,11 @@ public static void waitWhile(BooleanSupplier condition, Supplier<String> errorMe

/**
* A simplified variant of
* {@link #waitWhile(Predicate, Object, long, Function)}.
* {@link #waitWhile(BooleanSupplier, long, Supplier)}.
* <p>
* Waits while given condition is {@code true} for a given amount of
* milliseconds.
* <p>
* </p>
* Will process UI events while waiting in UI thread, if called from
* background thread, just waits.
*
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<properties>
<tycho.scmUrl>scm:git:https://github.com/eclipse-platform/eclipse.platform.git</tycho.scmUrl>
<tycho.surefire.testClassesDirectory>${project.build.outputDirectory}</tycho.surefire.testClassesDirectory>
<failOnJavadocErrors>true</failOnJavadocErrors>
</properties>

<!--
Expand Down
Loading