Skip to content

Commit 266b164

Browse files
committed
add javadoc
1 parent c342b05 commit 266b164

File tree

1 file changed

+5
-0
lines changed
  • opengrok-indexer/src/test/java/org/opengrok/indexer/web

1 file changed

+5
-0
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/web/UtilTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import java.io.ByteArrayInputStream;
2727
import java.io.IOException;
2828
import java.io.StringWriter;
29+
import java.io.Writer;
2930
import java.net.MalformedURLException;
3031
import java.net.URISyntaxException;
3132
import java.net.URL;
@@ -618,6 +619,10 @@ void getQueryParamsEmptyAndNormalValuesCombinedTest() throws MalformedURLExcepti
618619
assertThat(params.get("param4"), contains("value4"));
619620
}
620621

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+
*/
621626
@Test
622627
void testWriteHADNegative() throws Exception {
623628
StringWriter writer = new StringWriter();

0 commit comments

Comments
 (0)