File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
1
package org .geoscript .geocss
2
2
3
- import org .specs2 . _
3
+ import org .scalatest . FunSuite , org . scalatest . matchers . ShouldMatchers
4
4
import org .geoscript .geocss .compat .CSS2SLD
5
5
6
- class JavaCompatibilityTest extends Specification {
7
- def is =
8
- " Java compatibility layer can convert CSS to Style" ! {
9
- val stream = getClass.getResourceAsStream(" /minimal.css" )
10
- val reader = new java.io.InputStreamReader (stream)
11
- val style = CSS2SLD .convert(reader)
12
- style must not(beNull)
13
- }
6
+ class JavaCompatibilityTest extends FunSuite with ShouldMatchers {
7
+ test(" Java compatibility layer can convert CSS to Style" ) {
8
+ val stream = getClass.getResourceAsStream(" /minimal.css" )
9
+ val reader = new java.io.InputStreamReader (stream)
10
+ val style = CSS2SLD .convert(reader)
11
+ style should not be (null )
12
+ }
14
13
}
15
-
16
-
You can’t perform that action at this time.
0 commit comments