Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderdean committed Feb 2, 2014
1 parent e193ef9 commit 33838aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions 2-collectors/thrift-raw-event/project/Dependencies.scala
Expand Up @@ -16,6 +16,7 @@ import sbt._

object Dependencies {

// TODO: both of these can be removed
val resolutionRepos = Seq(
// For scala-util
"Snowplow Analytics Maven repo" at "http://maven.snplow.com/releases/",
Expand Down
Expand Up @@ -12,17 +12,20 @@
* implied. See the Apache License Version 2.0 for the specific language
* governing permissions and limitations there under.
*/

package com.snowplowanalytics.snowplow.collectors.thrift

// Scala
import scala.collection.JavaConversions._

// Specs2 and ScalaCheck
import org.specs2.mutable.Specification
// ScalaCheck
import org.scalacheck.{Arbitrary,Gen,Properties}
import org.scalacheck.Prop.forAll

object SnowplowRawEventSpec extends Properties("SnowplowRawEvent"){
/**
* ScalaCheck specification testing all of the properties
* of the SnowplowRawEvent POJO.
*/
object SnowplowRawEventSpec extends Properties("SnowplowRawEvent") {
property("timestamp") = forAll { (timestamp: Long) =>
val event = new SnowplowRawEvent(timestamp, "collector", "encoding",
"127.0.0.1")
Expand Down

0 comments on commit 33838aa

Please sign in to comment.