File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
opengrok-indexer/src/test/java/org/opengrok/indexer/web Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 26
26
import java .io .ByteArrayInputStream ;
27
27
import java .io .IOException ;
28
28
import java .io .StringWriter ;
29
+ import java .io .Writer ;
29
30
import java .net .MalformedURLException ;
30
31
import java .net .URISyntaxException ;
31
32
import java .net .URL ;
@@ -618,6 +619,10 @@ void getQueryParamsEmptyAndNormalValuesCombinedTest() throws MalformedURLExcepti
618
619
assertThat (params .get ("param4" ), contains ("value4" ));
619
620
}
620
621
622
+ /**
623
+ * Test {@link Util#writeHAD(Writer, String, String)} for a file path that does not map to any repository.
624
+ * @throws Exception on error
625
+ */
621
626
@ Test
622
627
void testWriteHADNegative () throws Exception {
623
628
StringWriter writer = new StringWriter ();
You can’t perform that action at this time.
0 commit comments