Junit with Jbuilder9
1 posts in topic
Flat View  Flat View

Posted By:   Manish_Patel
Posted On:   Thursday, December 4, 2003 07:43 AM

I created a simple test case for one of my classes but I get the following error:

"TestAddressLocator.java": TestCase() is not public in junit.framework.TestCase; cannot be accessed from outside package at line 6, column 1

Anyone know how to resolve this?

Re: Junit with Jbuilder9

Posted By:   Patrick_Saunders  
Posted On:   Wednesday, January 7, 2004 09:52 PM

You must specify constructor of your class as such:


public procTest(String name) {

it's something specific to Jbuilder i think.
About | Sitemap | Contact