aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/junit/runner/notification/SynchronizedRunListener.java
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2021-02-24 16:24:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-24 16:24:07 +0000
commit565f36d28118dce0c0a08fe71924dcd25e039022 (patch)
tree81124de095a6b4a53b223d0f70cadde9744ee44a /src/main/java/org/junit/runner/notification/SynchronizedRunListener.java
parentd1359663578e2a49e74ed74eb10d4b663d58cf3f (diff)
parent08a6d4b74555db6d01048fc7065eb1e2bfaf33bc (diff)
downloadjunit-565f36d28118dce0c0a08fe71924dcd25e039022.tar.gz
Merge changes from topic "revert-1601635-AIQYZOHWTP"
* changes: Revert "Upgrade external/junit to 4.13.2" Revert "Extra generic type information to aid certain javacs." Revert "Remove DisableOnDebug (new in 4.12) as it is not support..." Revert "Remove support for stuck threads"
Diffstat (limited to 'src/main/java/org/junit/runner/notification/SynchronizedRunListener.java')
-rw-r--r--src/main/java/org/junit/runner/notification/SynchronizedRunListener.java33
1 files changed, 1 insertions, 32 deletions
diff --git a/src/main/java/org/junit/runner/notification/SynchronizedRunListener.java b/src/main/java/org/junit/runner/notification/SynchronizedRunListener.java
index 400fed8..c53c1ee 100644
--- a/src/main/java/org/junit/runner/notification/SynchronizedRunListener.java
+++ b/src/main/java/org/junit/runner/notification/SynchronizedRunListener.java
@@ -10,7 +10,7 @@ import org.junit.runner.Result;
* <p>This class synchronizes all listener calls on a RunNotifier instance. This is done because
* prior to JUnit 4.12, all listeners were called in a synchronized block in RunNotifier,
* so no two listeners were ever called concurrently. If we instead made the methods here
- * synchronized, clients that added multiple listeners that called common code might see
+ * sychronized, clients that added multiple listeners that called common code might see
* issues due to the reduced synchronization.
*
* @author Tibor Digana (tibor17)
@@ -43,37 +43,6 @@ final class SynchronizedRunListener extends RunListener {
}
}
- /**
- * {@inheritDoc}
- * <p/>
- * Synchronized decorator for {@link RunListener#testSuiteStarted(Description)}.
- * @param description the description of the test suite that is about to be run
- * (generally a class name).
- * @throws Exception if any occurs.
- * @since 4.13
- */
- @Override
- public void testSuiteStarted(Description description) throws Exception {
- synchronized (monitor) {
- listener.testSuiteStarted(description);
- }
- }
-
- /**
- * {@inheritDoc}
- * <p/>
- * Synchronized decorator for {@link RunListener#testSuiteFinished(Description)}.
- * @param description the description of the test suite that just ran.
- * @throws Exception
- * @since 4.13
- */
- @Override
- public void testSuiteFinished(Description description) throws Exception {
- synchronized (monitor) {
- listener.testSuiteFinished(description);
- }
- }
-
@Override
public void testStarted(Description description) throws Exception {
synchronized (monitor) {