/// @brief Helper method to process one line of the script file. /// /// @throw Throws a scriptException on failure /// /// @param testInfo The Info to populate from the script file. /// @param str The line as read from the file. private void ProcessLine(Info testInfo, string str) { str.Trim(); // Check for empty line or line starting with # comment indicator. testInfo.SetActive( str.Length > 0 && str[0] != '#'); if (testInfo.IsActive()) { Tokenizer t = new Tokenizer(str, m_nameDelimiter); if (t.HasToken()) { testInfo.SetId( t.Get() ); t++; // It is possible for the test to have only a name and no arguments. if (t.HasToken()) { this.processArgs( testInfo, t.Get() ); } } } }