Remove left-over from old pR
@@ -44,7 +44,6 @@ import com.yahoo.search.query.profile.types.QueryProfileType;
import com.yahoo.search.result.Hit;
import com.yahoo.search.searchchain.Execution;
import com.yahoo.yolean.Exceptions;
-import org.json.JSONObject;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
@@ -57,24 +56,20 @@ import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
-import static org.junit.jupiter.api.Assertions.*;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertNotEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertNotSame;
+import static org.junit.jupiter.api.Assertions.assertNull;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.fail;
/**
* @author bratseth
*/
public class QueryTestCase {
- @Test
- void testIt() {
- JSONObject newroot = new JSONObject("{\"key\": 3}");
- var hit = new FastHit();
- hit.setField("data", (JsonProducer) s -> s.append(newroot));
- var field = hit.getField("data");
- if (field instanceof JsonProducer) {
- System.out.println((((JsonProducer) field).toJson()));
- }
- }
-
@Test
void testSimpleFunctionality() {
Query q = new Query(QueryTestCase.httpEncode("/sdfsd.html?query=this is a simple query&aParameter"));
