public bool Load(string directory, string mask, bool includeVariations) { DirectoryFiles lDirectoryFiles = new DirectoryFiles(directory, mask, false); foreach (string lFile in lDirectoryFiles) { if (!Load(new SGFCollection(lFile), includeVariations)) { return(false); } } return(true); }
public bool Load(string directory, string mask, bool continueOnError) { DirectoryFiles lDirectoryFiles = new DirectoryFiles(directory, mask, false); foreach (string lFile in lDirectoryFiles) { if (!Load(lFile, continueOnError)) { return(false); } } return(true); }
public static bool ExecuteTests(string directory, string mask, bool subDirectories) { DirectoryFiles lDirectoryFiles = new DirectoryFiles(directory, mask, subDirectories); bool lAllOk = true; foreach (string lFile in lDirectoryFiles) { if (!ExecuteTest(lFile, Path.GetFullPath(lFile))) { lAllOk = false; } } return(lAllOk); }
public bool Load(string directory, string mask, bool continueOnError) { DirectoryFiles lDirectoryFiles = new DirectoryFiles(directory, mask, false); foreach (string lFile in lDirectoryFiles) if (!Load(lFile, continueOnError)) return false; return true; }
public bool Load(string directory, string mask, bool includeVariations) { DirectoryFiles lDirectoryFiles = new DirectoryFiles(directory, mask, false); foreach (string lFile in lDirectoryFiles) if (!Load(new SGFCollection(lFile), includeVariations)) return false; return true; }
public static bool ExecuteTests(string directory, string mask, bool subDirectories) { DirectoryFiles lDirectoryFiles = new DirectoryFiles(directory, mask, subDirectories); bool lAllOk = true; foreach (string lFile in lDirectoryFiles) if (!ExecuteTest(lFile, Path.GetFullPath(lFile))) lAllOk = false; return lAllOk; }