Skip to content

Commit

Permalink
fixup! Runtime testcases for Codecs, rather than Compile only tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tabdulradi committed Oct 12, 2016
1 parent 1514901 commit d9b70c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions troy-driver/src/test/scala/troy/driver/CodecsSpec.scala
@@ -1,7 +1,6 @@
package troy.driver

import java.math.BigInteger
import java.math.BigDecimal
import java.math.{BigInteger, BigDecimal}
import java.net.InetAddress
import java.nio.ByteBuffer
import java.util.{ UUID, Date }
Expand Down
7 changes: 3 additions & 4 deletions troy-driver/src/test/scala/troy/driver/Usage.scala
Expand Up @@ -21,17 +21,16 @@ import java.util.UUID
import com.datastax.driver.core._
import scala.concurrent.Await
import scala.concurrent.duration.Duration
import scala.concurrent.ExecutionContext.Implicits.global
import DSL._

/*
* Playground to test the helpers without macros
*/
object Usage extends App {
import DSL._

val cluster = Cluster.builder().addContactPoint("127.0.0.1").build()
implicit val session: Session = cluster.connect()
case class Post(id: UUID, author_name: String, title: String)
import scala.concurrent.ExecutionContext.Implicits.global
case class Post(id: UUID, authorName: String, title: String)

val getByTitle = {
import InternalDsl._
Expand Down

0 comments on commit d9b70c9

Please sign in to comment.