Class GreenfootRunnerExpected

  • All Implemented Interfaces:
    java.io.Serializable

    public class GreenfootRunnerExpected
    extends java.lang.Exception
    No @RunWith(GreenfootRunner.class) or @ExtendWith(GreenfootRunner.class) statement has been found before class statement. This statement is used to indicate that world or actor behaviors are going to be verified while Greenfoot executes its act() methods. The test execution environment in Greenfoot uses it to initiate the necessary mechanisms and thus simulate the execution as if Greenfoot were interacting with a real user.
    Author:
    Francisco Guerra (francisco.guerra@ulpgc.es)
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GreenfootRunnerExpected

        public GreenfootRunnerExpected()