[Ignore] //bug ID : 446714 public void ExecuteFile_InvalidPath() { ScriptRuntime runTime = CreateRuntime(); // BUG : An invalid path throws an 'Microsoft.Scripting.SyntaxErrorException' string[] paths = StandardTestPaths.CreateBadPathCombinations(Path.GetTempPath()); foreach (string p in paths) { runTime.ExecuteFile(p + "foo.py"); } }
/// <summary> /// Test the StringPathContainer class /// </summary> /// <param name="args"></param> static void _Main(string[] args) { // Quick example using all the string path contents StandardTestPaths TestPaths = new StandardTestPaths(); string[] paths = StandardTestPaths.AllPaths; foreach (string testp in paths) { Console.WriteLine("The path {0}", testp); } }