Skip to content

Commit 4ed9073

Browse files
committed
Port SLDTest to Scalatest, start extracting test support code
1 parent b2e78ce commit 4ed9073

File tree

3 files changed

+375
-364
lines changed

3 files changed

+375
-364
lines changed

geocss/src/test/scala/RegressionTest.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package org.geoscript.geocss
22

3+
import org.geoscript.geocss.testing._
4+
35
import collection.JavaConversions._
46

57
import org.geotools.{ styling => gt }
@@ -27,9 +29,6 @@ class Regressions extends FunSuite with ShouldMatchers {
2729
"<none>")
2830
}
2931

30-
def containAll[A](x: A, xs: A*): Matcher[Traversable[A]] =
31-
(xs foldLeft (contain(x))) { (x, y) => x and contain(y) }
32-
3332
test("Overlapping scales should produce a single FeatureTypeStyle") {
3433
val stylesheet = CssParser.parse(in("/scales.css"))
3534
stylesheet should be ('successful)

0 commit comments

Comments
 (0)