在Eclipse中,JUnit测试运行程序将找到这个测试:
class Blah {
public static class Tests {
[Test] void testOne() {}
}}
但是它找不到这个测试
class Blah<T> {
public static class Tests {
[Test] void testOne() {}
}}
有人能解释一下为什么会出现这种情况吗?是否有可能以某种方式修复它?