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 {