aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/junit/framework/TestResult.java
diff options
context:
space:
mode:
authorPete Bentley <prb@google.com>2021-02-24 11:05:43 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-24 11:05:43 +0000
commit99022df227f5503b68838d97e0a6b3fa5f558f1b (patch)
tree5ae2f0fddfaf8cf38a22f2e954387f1e59ec6e1f /src/main/java/junit/framework/TestResult.java
parent468041bf45125e9964a67db1a51cb2dbed975c69 (diff)
parent82af4b8b1d440f44b6ebac4db1fd61ae1d35a15e (diff)
downloadjunit-99022df227f5503b68838d97e0a6b3fa5f558f1b.tar.gz
Merge changes I8f5cd126,Ifdb59336,I6abae5ae,I5ec909df am: d135966357 am: d8911c6e95 am: 82af4b8b1d
Original change: https://android-review.googlesource.com/c/platform/external/junit/+/1601635 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib180e48a4cc266c12a2d9238385adbb07540d3dc
Diffstat (limited to 'src/main/java/junit/framework/TestResult.java')
-rw-r--r--src/main/java/junit/framework/TestResult.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/junit/framework/TestResult.java b/src/main/java/junit/framework/TestResult.java
index 8332542..e01a2b0 100644
--- a/src/main/java/junit/framework/TestResult.java
+++ b/src/main/java/junit/framework/TestResult.java
@@ -52,14 +52,14 @@ public class TestResult {
}
/**
- * Registers a TestListener
+ * Registers a TestListener.
*/
public synchronized void addListener(TestListener listener) {
fListeners.add(listener);
}
/**
- * Unregisters a TestListener
+ * Unregisters a TestListener.
*/
public synchronized void removeListener(TestListener listener) {
fListeners.remove(listener);
@@ -91,7 +91,7 @@ public class TestResult {
}
/**
- * Returns an Enumeration for the errors
+ * Returns an Enumeration for the errors.
*/
public synchronized Enumeration<TestFailure> errors() {
return Collections.enumeration(fErrors);
@@ -106,7 +106,7 @@ public class TestResult {
}
/**
- * Returns an Enumeration for the failures
+ * Returns an Enumeration for the failures.
*/
public synchronized Enumeration<TestFailure> failures() {
return Collections.enumeration(fFailures);
@@ -150,7 +150,7 @@ public class TestResult {
}
/**
- * Checks whether the test run should stop
+ * Checks whether the test run should stop.
*/
public synchronized boolean shouldStop() {
return fStop;