aboutsummaryrefslogtreecommitdiffstats
path: root/scalding
diff options
context:
space:
mode:
authorEllen Spertus <ellen.spertus@gmail.com>2018-08-07 11:32:08 -0700
committerEllen Spertus <ellen.spertus@gmail.com>2018-08-07 11:32:08 -0700
commit1fa5352742e3b96993cc325e3055b93d79a66571 (patch)
tree46ae8577f9f5069f559711afcf7248c1d51c16a8 /scalding
parent71b8d527da73f99ffb1b09ec1044031e772d1db6 (diff)
downloadsandcrawler-1fa5352742e3b96993cc325e3055b93d79a66571.tar.gz
sandcrawler-1fa5352742e3b96993cc325e3055b93d79a66571.zip
Commented out guts of HBaseCrossrefScoreTest.
Diffstat (limited to 'scalding')
-rw-r--r--scalding/src/test/scala/sandcrawler/HBaseCrossrefScoreTest.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/scalding/src/test/scala/sandcrawler/HBaseCrossrefScoreTest.scala b/scalding/src/test/scala/sandcrawler/HBaseCrossrefScoreTest.scala
index e6ff4a8..ebe7dc0 100644
--- a/scalding/src/test/scala/sandcrawler/HBaseCrossrefScoreTest.scala
+++ b/scalding/src/test/scala/sandcrawler/HBaseCrossrefScoreTest.scala
@@ -9,6 +9,7 @@ import org.scalatest._
import parallelai.spyglass.hbase.HBaseConstants.SourceMode
class HBaseCrossrefScoreTest extends FlatSpec with Matchers {
+/*
val GrobidString = """
{
"title": "<<TITLE>>",
@@ -236,7 +237,6 @@ class HBaseCrossrefScoreTest extends FlatSpec with Matchers {
}
// Pipeline tests
-
val output = "/tmp/testOutput"
val input = "/tmp/testInput"
val (testTable, testHost) = ("test-table", "dummy-host:2181")
@@ -278,7 +278,6 @@ class HBaseCrossrefScoreTest extends FlatSpec with Matchers {
outputBuffer should have length 4
}
- /*
it should "return the right first entry" in {
val (slug, slug0, slug1, sha1, grobidJson, crossrefJson) = outputBuffer(0)
slug shouldBe "title 1"
@@ -287,8 +286,8 @@ class HBaseCrossrefScoreTest extends FlatSpec with Matchers {
sha1 shouldBe new String(grobidSampleData(0)(0), "UTF-8")
grobidJson shouldBe new String(grobidSampleData(0)(1), "UTF-8")
}
- */
}
.run
.finish
+ */
}