diff options
author | adamw <adam@warski.org> | 2017-07-21 13:08:18 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-21 13:08:18 +0200 |
commit | 2d099f6832f6e362b9a4cd48e81a16c8d77adeaf (patch) | |
tree | b420ba3ad1917dc8cb30d02ba3bbd0b9eb38f8e6 /tests/src/test/scala | |
parent | faca3ee694f979ae16c727cb1efe077e8c9ac67b (diff) | |
download | sttp-2d099f6832f6e362b9a4cd48e81a16c8d77adeaf.tar.gz sttp-2d099f6832f6e362b9a4cd48e81a16c8d77adeaf.tar.bz2 sttp-2d099f6832f6e362b9a4cd48e81a16c8d77adeaf.zip |
Initial support for async-http-client
Diffstat (limited to 'tests/src/test/scala')
-rw-r--r-- | tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala b/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala index 2b3bbab..0f66cc8 100644 --- a/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala +++ b/tests/src/test/scala/com/softwaremill/sttp/BasicTests.scala @@ -15,6 +15,7 @@ import com.typesafe.scalalogging.StrictLogging import org.scalatest.concurrent.{IntegrationPatience, ScalaFutures} import org.scalatest.{BeforeAndAfterAll, FlatSpec, Matchers} import better.files._ +import com.softwaremill.sttp.asynchttpclient.AsyncHttpClientHandler import scala.language.higherKinds @@ -111,6 +112,8 @@ class BasicTests ForceWrappedValue.id) runTests("Akka HTTP")(new AkkaHttpSttpHandler(actorSystem), ForceWrappedValue.future) + runTests("Async Http Client")(new AsyncHttpClientHandler(), + ForceWrappedValue.future) def runTests[R[_]](name: String)( implicit handler: SttpHandler[R, Nothing], |