diff options
author | Ellen Spertus <ellen.spertus@gmail.com> | 2018-08-20 11:42:47 -0700 |
---|---|---|
committer | Ellen Spertus <ellen.spertus@gmail.com> | 2018-08-20 11:42:47 -0700 |
commit | 69b187ba2803988e38cbf813493788dd8731c52d (patch) | |
tree | d89b563911325934828707ad03a95ddd5b419860 /scalding | |
parent | 975da4e838d08d289d00c3cc98cfe662a0e3b1b3 (diff) | |
download | sandcrawler-69b187ba2803988e38cbf813493788dd8731c52d.tar.gz sandcrawler-69b187ba2803988e38cbf813493788dd8731c52d.zip |
Disabled scalastyle null checking where we want to test null values.
Diffstat (limited to 'scalding')
-rw-r--r-- | scalding/src/test/scala/sandcrawler/ScoreJobTest.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scalding/src/test/scala/sandcrawler/ScoreJobTest.scala b/scalding/src/test/scala/sandcrawler/ScoreJobTest.scala index f92ba31..55ae614 100644 --- a/scalding/src/test/scala/sandcrawler/ScoreJobTest.scala +++ b/scalding/src/test/scala/sandcrawler/ScoreJobTest.scala @@ -161,9 +161,11 @@ class ScoreJobTest extends FlatSpec with Matchers { .map { case (sha, json, status) => List(Bytes.toBytes(sha), Bytes.toBytes(json), Bytes.toBytes(status)) } .map { l => new Tuple(l.map(s => {new ImmutableBytesWritable(s)}):_*) } + // scalastyle:off null // Add example of lines without GROBID data val SampleData = SampleDataHead :+ new Tuple( new ImmutableBytesWritable(Bytes.toBytes("sha1:35985C3YNNEGH5WAG5ZAA88888888888")), null, null) + // scalastyle:on null JobTest("sandcrawler.ScoreJob") .arg("test", "") |