[vogar] r294 committed - Fix getSuiteMethods to be consistent with classToJunitTests

4 views
Skip to first unread message

vo...@googlecode.com

unread,
Sep 3, 2013, 6:13:22 PM9/3/13
to voga...@googlegroups.com
Revision: 294
Author: b...@google.com
Date: Tue Sep 3 22:13:09 2013 UTC
Log: Fix getSuiteMethods to be consistent with classToJunitTests
http://code.google.com/p/vogar/source/detail?r=294

Modified:
/trunk/src/vogar/target/junit/Junit3.java

=======================================
--- /trunk/src/vogar/target/junit/Junit3.java Tue Apr 16 03:51:56 2013 UTC
+++ /trunk/src/vogar/target/junit/Junit3.java Tue Sep 3 22:13:09 2013 UTC
@@ -124,8 +124,7 @@
if (m.getParameterTypes().length == 0) {
out.add(TestMethod.create(testCaseClass, m));
} else {
- out.add(new ConfigurationError(testClass.getName()
+ "#" + m.getName(),
- new IllegalStateException("Tests may not
have parameters!")));
+ // TODO: warn
}
}
} else {
Reply all
Reply to author
Forward
0 new messages