Sha256: e3577e6ce47031431e490d290e082a4409114afc8ead6d55968d1c4d037b943d

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 Bytes

Contents

package org.embulk.parser.firebase_avro

import org.embulk.parser.firebase_avro.define.Root
import org.scalacheck.Shapeless._
import org.scalatest.{MustMatchers, PropSpec}
import org.scalatest.prop.PropertyChecks

class ParserTest extends PropSpec with PropertyChecks with MustMatchers {
  property("could be parsing.") {
    forAll(minSize(1000)) { (root: Root) =>
      root.user_dim match {
        case Some(v) =>
          // could be parse.
          val result = Parser(root)
        case None =>
          intercept[RuntimeException] {
            Parser(root)
          }
      }
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
embulk-parser-firebase_avro-0.1.3 src/test/scala/org/embulk/parser/firebase_avro/ParserTest.scala
embulk-parser-firebase_avro-0.1.2 src/test/scala/org/embulk/parser/firebase_avro/ParserTest.scala
embulk-parser-firebase_avro-0.1.1 src/test/scala/org/embulk/parser/firebase_avro/ParserTest.scala
embulk-parser-firebase_avro-0.1.0 src/test/scala/org/embulk/parser/firebase_avro/ParserTest.scala