BooCompiler.Tests.BooTestCaseUtil.GetTestCasePath C# (CSharp) Method

GetTestCasePath() public static method

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

Usage Example

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