Hello,
When I am doing my
unit testing it is giving me class not found exception.
I have checked for all classpaths but mystery remains same.
can anybody tell me this?
here is my program--
package com.comput.Das;
import junit.framework.*;
import junit.extensions.*;
import com.ZTC_Das;
public class UnitJ extends TestCase{
public UnitJ(
String arg1){
super(arg1);
}
public static void main(String ar[]){
junit.textui.TestRunner.run(suite());
}
public static UnitJ suite(){
return new UnitJ("com.ZTC_Das.class");
}
public void testString() {
try {
ZTC_Das objDML = new ZTC_Das();
String in="Hello World";
assertEquals("Hello World ",objDML.elxModifyString(in));
} catch(Exception ex){
System.out.println("Error Message="+ex);
}
}
}
Thanx in advance