Magic Lantern Java2D Runtime Engine Unit Tests - magic-lantern-studio/mle-documentation GitHub Wiki

This page describes how to build and run the Java2D Runtime Engine Unit tests.

Table of Contents

Runtime Engine Unit Tests

The Runtime Engine unit tests are implemented in the com.wizzer.mle.runtime.unittest package. To run these tests, the package must be imported into the Eclipse IDE. The package may be found in the "$MLE_HOME\Core\mlert\java\com.wizzer.mle.runtime" directory (Windows) or the "$MLE_HOME/Core/mlert/java/com.wizzer.mle.runtime.unittest" directory (Linux).

When the package is imported, the source should be automatically compiled without errors.

To run the tests, select the package in the "Project Explorer" and right-click with the mouse. In the pop-up menu, select "Run As->JUnit Test". This will create a Run Configuration and execute the tests.