This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.lightbend.lagom.scaladsl.testkit.ServiceTest._ | |
| private def withDefaultClient(testCode: (MyService) => Any): Unit = { | |
| withServer(ServiceTest.defaultSetup) { ctx => | |
| new MyApplication(ctx) with LocalServiceLocator { | |
| // whatever your Application Cake should look like... | |
| } | |
| } { server => | |
| // Client for your service | |
| val client = server.serviceClient.implement[MyService] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sbt.Keys._ | |
| lazy val commonSettings = Seq( | |
| name := "shading-issue", | |
| version := "0.1", | |
| scalaVersion in ThisBuild := "2.11.8" | |
| ) | |
| lazy val `dummy` = (project in file(".")) | |
| .settings(commonSettings: _*) |
NewerOlder