Skip to content

Commit 3804a68

Browse files
author
jossonsmith
committed
Fixed bug that TestSuite(String) does not initialize its member fTest
1 parent 3625fe2 commit 3804a68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sources/net.sf.j2s.java.junit/src/junit/framework/TestSuite.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public TestSuite(final Class theClass) {
8585
* Constructs an empty TestSuite.
8686
*/
8787
public TestSuite(String name) {
88+
fTests = new Vector(10);
8889
setName(name);
8990
}
9091

0 commit comments

Comments
 (0)