summaryrefslogtreecommitdiff
path: root/test/java/net
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2018-05-01 09:58:05 +0200
committerluccioman <luccioman@users.noreply.github.com>2018-05-01 09:58:05 +0200
commit3b89c232dbe3861244bba42edd4b43900a449ce5 (patch)
tree8111eb649d79c2b2726152028c2187b1817d459b /test/java/net
parent3c4344cb1207f5faab73985c9b955b2a8eedc2aa (diff)
Easier tracking of longest text snippets initializations
When text snippets statistics are enabled and FINE log level is enabled on the TextSnippetStatistics class.
Diffstat (limited to 'test/java/net')
-rw-r--r--test/java/net/yacy/search/snippet/TextSnippetTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/java/net/yacy/search/snippet/TextSnippetTest.java b/test/java/net/yacy/search/snippet/TextSnippetTest.java
index f7e6b579d..0a708e186 100644
--- a/test/java/net/yacy/search/snippet/TextSnippetTest.java
+++ b/test/java/net/yacy/search/snippet/TextSnippetTest.java
@@ -133,7 +133,7 @@ public class TextSnippetTest {
// test with raw line (no marking added by YaCy)
TextSnippet ts = new TextSnippet(
- url.hash(),
+ url,
rawtestline,
true, // isMarked,
TextSnippet.ResultClass.SOURCE_METADATA, "");
@@ -144,7 +144,7 @@ public class TextSnippetTest {
// test with marking of query word
ts = new TextSnippet(
- url.hash(),
+ url,
rawtestline,
false, // isMarked,
TextSnippet.ResultClass.SOURCE_METADATA, "");
@@ -157,7 +157,7 @@ public class TextSnippetTest {
// test text with some numbers (english/german format)
rawtestline = "Test Version 1.83 calculates pi to 3,14 always";
ts = new TextSnippet(
- url.hash(),
+ url,
rawtestline,
false, // isMarked,
TextSnippet.ResultClass.SOURCE_METADATA, "");