All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.scalatra.test.ImplicitConversions.scala Maven / Gradle / Ivy

The newest version!
package org.scalatra.test

import scala.language.implicitConversions

/**
 * Contains implicit conversions for making test DSL easier
 * to use. This is included by all `Client` implementations.
 */
trait ImplicitConversions {
  implicit def stringToByteArray(str: String): Array[Byte] = str.getBytes("UTF-8")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy