author | Jaroslav Tulach <jtulach@netbeans.org> |
Thu, 26 Nov 2009 20:06:56 +0100 | |
branch | scala-emailer |
changeset 153 | ac818c32c6e9 |
permissions | -rw-r--r-- |
jtulach@153 | 1 |
package org.apidesign.emailer |
jtulach@153 | 2 |
|
jtulach@153 | 3 |
import org.specs._ |
jtulach@153 | 4 |
import org.specs.runner.{ConsoleRunner, JUnit4} |
jtulach@153 | 5 |
|
jtulach@153 | 6 |
class MySpecTest extends JUnit4(MySpec) |
jtulach@153 | 7 |
//class MySpecSuite extends ScalaTestSuite(MySpec) |
jtulach@153 | 8 |
object MySpecRunner extends ConsoleRunner(MySpec) |
jtulach@153 | 9 |
|
jtulach@153 | 10 |
object MySpec extends Specification { |
jtulach@153 | 11 |
"This wonderful system" should { |
jtulach@153 | 12 |
"save the world" in { |
jtulach@153 | 13 |
val list = Nil |
jtulach@153 | 14 |
list must beEmpty |
jtulach@153 | 15 |
} |
jtulach@153 | 16 |
} |
jtulach@153 | 17 |
} |