diff options
author | Andrew Or <andrew@databricks.com> | 2015-05-29 22:57:46 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-05-29 22:57:46 -0700 |
commit | 609c4923f98c188bce60ae35c1c8a08a8dfd95f1 (patch) | |
tree | d73f9941a9f7832c9eb9c0dc6aae445de96f5866 /core/src/test | |
parent | 7ed06c39922ac90acab3a78ce0f2f21184ed68a5 (diff) | |
download | spark-609c4923f98c188bce60ae35c1c8a08a8dfd95f1.tar.gz spark-609c4923f98c188bce60ae35c1c8a08a8dfd95f1.tar.bz2 spark-609c4923f98c188bce60ae35c1c8a08a8dfd95f1.zip |
[SPARK-7558] Guard against direct uses of FunSuite / FunSuiteLike
This is a follow-up patch to #6441.
Author: Andrew Or <andrew@databricks.com>
Closes #6510 from andrewor14/extends-funsuite-check and squashes the following commits:
6618b46 [Andrew Or] Exempt SparkSinkSuite from the FunSuite check
99d02ac [Andrew Or] Merge branch 'master' of github.com:apache/spark into extends-funsuite-check
48874dd [Andrew Or] Guard against direct uses of FunSuite / FunSuiteLike
Diffstat (limited to 'core/src/test')
-rw-r--r-- | core/src/test/scala/org/apache/spark/SparkFunSuite.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/test/scala/org/apache/spark/SparkFunSuite.scala b/core/src/test/scala/org/apache/spark/SparkFunSuite.scala index 0327dfad6e..8cb3443326 100644 --- a/core/src/test/scala/org/apache/spark/SparkFunSuite.scala +++ b/core/src/test/scala/org/apache/spark/SparkFunSuite.scala @@ -17,12 +17,14 @@ package org.apache.spark +// scalastyle:off import org.scalatest.{FunSuite, Outcome} /** * Base abstract class for all unit tests in Spark for handling common functionality. */ private[spark] abstract class SparkFunSuite extends FunSuite with Logging { +// scalastyle:on /** * Log the suite name and the test name before and after each test. |