Within LegiTest client there are many class names that could be referenced by the automatically generated test file. At times, a user may accidentally use one of these names for a test’s name within the LegiTest designer. When this happens a compilation error may occur during build with an error similar to this: “<testName> is a method”. This is because method names take precedence over class names; so a class that has a static method called upon will use the form <class>.<method>. When a test is named the same as one of the referenced classes the compiler cannot differentiate between a reference to the class intended and the method generated.
Some examples are:
This is in no way a complete list, only a very small sampling of some names that will run into this problem.
The solution to this is to simply change the name of the test. Once changed, save the file, and rebuild your project.