de.hagenah.diplomacy.addins
Class TestAddIn

java.lang.Object
  extended by de.hagenah.diplomacy.addins.TestAddIn

public class TestAddIn
extends java.lang.Object

This add-in tests some game groups, a game group, or a game. If all necessary information is present then the turns are adjudicated and the result is compared with the original adjudication. If some information is missing it is determined which information is missing.


Constructor Summary
TestAddIn(javax.swing.JFrame parent, Preferences preferences, java.lang.Object obj)
          Each time the add-in is called a new object is created.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestAddIn

public TestAddIn(javax.swing.JFrame parent,
                 Preferences preferences,
                 java.lang.Object obj)
Each time the add-in is called a new object is created. This constructor should not return before the add-in has finished. It is executed by the event dispatching thread.

Parameters:
parent - A parent frame for dialog boxes
preferences - The preferences of the user
obj - The selected object in the tree:
  • a DipTurn, or
  • a DipGame, or
  • a DipGameGroup, or
  • a Map (String → DipGameGroup)