Friday, September 25, 2020

XMage, Setting Client And Server to TestMode

Mage.Client, go to SessionHandler.java and edit

public static boolean isTestMode() {

	return true;
    //return session.isTestMode();
}

Mage.Server, run is with additional argument set, -testMode=true


$ mvn exec:java -Dexec.mainClass="mage.server.Main" -Dexec.args="-testMode=true"

Happy testing ^^

No comments: