Am trying call a method from another class which is present in different files.
Main File :
public class Test extends AndroidTestCase {
mTestUtils = new TestUtils(this, TAG, OUTPUT_FILE);
Second File :
public class TestUtils {
public TestUtils(Context context, String tag, String outputFile) {
mContext = context;
mTag = tag;
mOutputFile = outputFile;
}
}
It throws Constructor undefined error. Any help would be appreciated.