Exemple #1
0
        public ToolInstance(ToolDefinition theDefinition, TestExecution theExecution)
            : base(theDefinition, theExecution)
        {
            if (theDefinition.Prerequisite != null)
            {
                mPrerequisite = theExecution.DataValueRegistry.GetObject(theDefinition.Prerequisite.Name);
            }

            theExecution.RegisterWorker(this);
        }
Exemple #2
0
 public void SetObjectPosition(int row, int col, ToolDefinition tool)
 {
     // TODO: throw error or adjust position if value isn't null
     m_Array[row, col] = tool;
 }