Source

miuler-mocksmtp / src / test / scala / com / miuler / mocksmtp / BasicTests.scala

Diff from to

src/test/scala/com/miuler/mocksmtp/BasicTests.scala

 package com.miuler.mocksmtp
 
 import org.junit.runner.RunWith
-import org.specs2.runner.JUnitRunner
-import org.specs2.Specification
+//import org.specs2.runner.JUnitRunner
+//import org.specs2.Specification
 
 
-@RunWith(classOf[JUnitRunner])
-class BasicTests extends Specification {
-
-  def doBefore() { println("Prueba") }
-
-  def is =
-
-    " Pruebas Basicas "                           ^
-                                                  p^
-    " Prueba de expresiones regulaes con match "  ! pruebaRegExpMatch^
-                                                  end
-
-  def pruebaRegExpMatch = {
-    val texto = "Texto de Prueba"
-
-    texto match {
-      case text:String if text.toUpperCase matches "TEXTO.*"  => success
-      case _ => failure
-    }
-
-  }
-
-}
+//@RunWith(classOf[JUnitRunner])
+//class BasicTests extends Specification {
+//
+//  def doBefore() { println("Prueba") }
+//
+//  def is =
+//
+//    " Pruebas Basicas "                           ^
+//                                                  p^
+//    " Prueba de expresiones regulaes con match "  ! pruebaRegExpMatch^
+//                                                  end
+//
+//  def pruebaRegExpMatch = {
+//    val texto = "Texto de Prueba"
+//
+//    texto match {
+//      case text:String if text.toUpperCase matches "TEXTO.*"  => success
+//      case _ => failure
+//    }
+//
+//  }
+//
+//}