BooCompiler.Tests.BooTestCaseUtil.GetTestCasePath C# (CSharp) Méthode

GetTestCasePath() public static méthode

public static GetTestCasePath ( string sample ) : string
sample string
Résultat string
        public static string GetTestCasePath(string sample)
        {
            return Path.Combine(TestCasesPath, sample);
        }

Usage Example

Exemple #1
0
 public static string LoadSample(string fname)
 {
     using (StreamReader sr = File.OpenText(BooTestCaseUtil.GetTestCasePath(fname)))
     {
         return(sr.ReadToEnd());
     }
 }