Ejemplo n.º 1
0
        public virtual void ExecuteInReplSysArgv() {
            using (var app = new PythonVisualStudioApp()) {
                var project = app.OpenProject(@"TestData\SysArgvRepl.sln");

                using (var interactive = app.ExecuteInInteractive(project)) {
                    interactive.WaitForTextEnd("Program.py']", ">");
                }
            }
        }
Ejemplo n.º 2
0
        public virtual void ExecuteInReplSysArgvScriptArgs() {
            using (var app = new PythonVisualStudioApp()) {
                var project = app.OpenProject(@"TestData\SysArgvScriptArgsRepl.sln");

                using (var interactive = app.ExecuteInInteractive(project)) {
                    interactive.WaitForTextEnd(@"Program.py', '-source', 'C:\\Projects\\BuildSuite', '-destination', 'C:\\Projects\\TestOut', '-pattern', '*.txt', '-recurse', 'true']", ">");
                }
            }
        }
Ejemplo n.º 3
0
        public virtual void ExecuteInReplUnicodeFilename() {
            using (var app = new PythonVisualStudioApp()) {
                var project = app.OpenProject(PythonTestData.GetUnicodePathSolution());

                using (var interactive = app.ExecuteInInteractive(project)) {
                    interactive.WaitForTextEnd("hello world from unicode path", ">");
                }
            }
        }