Click here to Skip to main content
15,880,725 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I have to do performance testing.for that I have created one script in that I have to pass respective method name against which i have to do performance testing.
i have all the methods provided in the another test class.
and test class should have exactly one zero-argument constructor. This is the scenario.
problem is, whenever I try to pass that method name in the perftestclass it gives me an error like "create parameterized constructor to initialize it. And it is absolutely right.
but my testclass doesn't allow me to create a paramaterized constructor.
So my question is, is there any alternative for this?
please reply if anybody has solution...
Thank you...
Posted
Updated 4-Mar-12 19:08pm
v2
Comments
Dean Oliver 5-Mar-12 1:05am    
Your class will allow you to create another constructor because you created the test class.

1 solution

try initializing your testclass in non-parameterized constructor with NULL values. Maybe this will help
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900