Even after I have mentioned qualified name in genetests --testclass=Sample.tutorial.ATM, still getting class not found exception.

17 views
Skip to first unread message

nagandla lakshmi narayana

unread,
Jun 3, 2020, 9:29:41 AM6/3/20
to Randoop discussions
Hi,

My project is located in E:/ folder and the structure is 

Sample
  --  tutorial 
       -- ATM.Java

Once .class file generated am copying  ATM.class file and pasting over in D:\RandoopAlgoritham\randoop-4.2.3\randoop-4.2.3\bin and running below command.  May I know exactly how we should pass full qualified name to testclass parameter. 

1. Do you want me to change the .class Name from ATM to qulified name and run the command 

Please advice me please we are struggling alot to this. 


java -classpath D:\RandoopAlgoritham\randoop-4.2.3\randoop-4.2.3\bin;D:\RandoopAlgoritham\randoop-4.2.3\randoop-4.2.3\randoop-all-4.2.3.jar randoop.main.Main gentests --testclass=Sample.tutorial.ATM
Randoop for Java version 4.2.3.
Unable to load class "Sample.tutorial.ATM" due to exception: java.lang.ClassNotFoundException: Sample.tutorial.ATMWill explore 0 out of 1 classes
There are no operations to test. Exiting.
Model with hashcode 633070006:
  classTypes = [java.lang.Object]

Michael Ernst

unread,
Jun 3, 2020, 1:59:02 PM6/3/20
to nagandla lakshmi narayana, Randoop discussions
I'm sorry you are having trouble.  We would like to help you, but we cannot do so from this incomplete bug report.  Can you please provide all the details that were requested in the issue template and the bug reporting section of the manual?  This will enable us to reproduce the problem, fix it, and verify the fix.  Thanks!

Mike

--
You received this message because you are subscribed to the Google Groups "Randoop discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to randoop-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/randoop-discuss/7c209049-45bd-4707-9adc-a7cfadcf699d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages