apache/incubator-spark — pull request #469 by ajtulloch (2014-01-19 18:00:51+00:00)
Title: [MLlib] Use a LocalSparkContext trait in test suites

Replaces the 9 instances of

```scala
class XXXSuite extends FunSuite with BeforeAndAfterAll {
@transient private var sc: SparkContext = _

override def beforeAll() {
sc = new SparkContext("local", "test")
}

override def afterAll() {
sc.stop()
System.clearProperty("spark.driver.port")
}
```

with

```scala
class XXXSuite extends FunSuite with LocalSparkContext {
```