File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
test/org/opensolaris/opengrok/history Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 19
19
20
20
package org .opensolaris .opengrok .history ;
21
21
22
+ import java .io .IOException ;
22
23
import org .junit .After ;
23
24
import org .junit .AfterClass ;
24
25
import static org .junit .Assert .assertEquals ;
@@ -61,19 +62,21 @@ public void tearDown() {
61
62
62
63
/**
63
64
* Test of parse method, of class GitHistoryParser.
65
+ * @throws java.io.IOException
64
66
*/
65
67
@ Test
66
- public void parseEmpty () throws Exception {
68
+ public void parseEmpty () throws IOException {
67
69
History result = instance .parse ("" );
68
70
assertNotNull (result );
69
71
assertTrue ("Should not contain any history entries" , 0 == result .getHistoryEntries ().size ());
70
72
}
71
73
72
74
/**
73
75
* Test of parsing output similar to that in Surround SCM own repository.
76
+ * @throws java.io.IOException
74
77
*/
75
78
@ Test
76
- public void ParseALaSSCM () throws Exception {
79
+ public void ParseALaSSCM () throws IOException {
77
80
// This is the new line that is generated by sscm (2011) history command
78
81
String newLine = "\r \r \n " ;
79
82
You can’t perform that action at this time.
0 commit comments