Skip to content

Commit 16cefe8

Browse files
committed
Support for Surround SCM history - Added @throws to history test class.
1 parent a7d745a commit 16cefe8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/org/opensolaris/opengrok/history/SSCMHistoryParserTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
package org.opensolaris.opengrok.history;
2121

22+
import java.io.IOException;
2223
import org.junit.After;
2324
import org.junit.AfterClass;
2425
import static org.junit.Assert.assertEquals;
@@ -61,19 +62,21 @@ public void tearDown() {
6162

6263
/**
6364
* Test of parse method, of class GitHistoryParser.
65+
* @throws java.io.IOException
6466
*/
6567
@Test
66-
public void parseEmpty() throws Exception {
68+
public void parseEmpty() throws IOException {
6769
History result = instance.parse("");
6870
assertNotNull(result);
6971
assertTrue("Should not contain any history entries", 0 == result.getHistoryEntries().size());
7072
}
7173

7274
/**
7375
* Test of parsing output similar to that in Surround SCM own repository.
76+
* @throws java.io.IOException
7477
*/
7578
@Test
76-
public void ParseALaSSCM() throws Exception {
79+
public void ParseALaSSCM() throws IOException {
7780
// This is the new line that is generated by sscm (2011) history command
7881
String newLine = "\r\r\n";
7982

0 commit comments

Comments
 (0)