コード例 #1
0
 internal override void Load(XmlNode testConfig, Context context)
 {
     GoalFilePath = context.ReadConfigAsString(testConfig, "GoalFile");
     SearchDirectory = context.ReadConfigAsString(testConfig, "SearchDirectory");
     Filter = context.ReadConfigAsString(testConfig, "Filter");
     Timeout = context.ReadConfigAsUInt32(testConfig, "Timeout");
     DeleteFile = context.ReadConfigAsBool(testConfig, "DeleteFile", true);
     IgnoreChildOrder = context.ReadConfigAsBool(testConfig, "IgnoreChildOrder", true);
     IgnoreComments = context.ReadConfigAsBool(testConfig, "IgnoreComments", true);
     ElementsToExclude = ParseElementExclusions(testConfig);
     AttributesToExclude = ParseAttributeExclusions(testConfig);
     StringsToSearchAndReplace = ParseReplacements(testConfig);
 }
コード例 #2
0
 internal override void Load(XmlNode testConfig, Context context)
 {
     GoalFilePath = context.ReadConfigAsString(testConfig, "GoalFile");
     SearchDirectory = context.ReadConfigAsString(testConfig, "SearchDirectory");
     Filter = context.ReadConfigAsString(testConfig, "Filter");
     Timeout = context.ReadConfigAsUInt32(testConfig, "Timeout");
     DeleteFile = context.ReadConfigAsBool(testConfig, "DeleteFile", true);
     Exclusions = ParseExclusions(testConfig);
 }