Class MainClassContainsMutableStaticFields

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.pdx.cs.joy.MainClassContainsMutableStaticFields
All Implemented Interfaces:
Serializable

Throws when the main method of a class with mutable static fields is invoked with InvokeMainTestCase.invokeMain(Class, String...). Main classes with mutable static fields have proven to be problematic because the values of the mutable fields are not reset in between tests. As a result, the values of these fields from previous tests might stick around. This has proven to be very confusing.
See Also: