dcsimg
The type Class is not generic; it cannot be parameterized with arguments
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sachin_kansal
Posted On:   Friday, June 20, 2008 07:56 AM

Hi All, I am getting this error when library is junit 4. The type Class is not generic; it cannot be parameterized with arguments <? extends TestCase> If I change the library to 3.8.1, the error changes to jtest.IndependentTestSuite cannot be resolved to a type Here is the code where the error is public static junit.framework.Test suite() { return new jtest.IndependentTestSuite( TestClientAddXMLRequestMsg.class, ,60000); } Thanks, Sachin    More>>

Hi All,

I am getting this error when library is junit 4.


The type Class is not generic; it cannot be parameterized with arguments <? extends TestCase>


If I change the library to 3.8.1, the error changes to
jtest.IndependentTestSuite cannot be resolved to a type


Here is the code where the error is


public static junit.framework.Test suite()

{

return new jtest.IndependentTestSuite(
TestClientAddXMLRequestMsg.class,
,60000);


}


Thanks,

Sachin

   <<Less
About | Sitemap | Contact