private void Given_Script(string script) { using (var parser = OllyScriptParser.FromString(engine.Host, fsSvc.Object, script, ".")) { engine.Script = parser.ParseScript(); } }
private void Given_Parser(string script) { this.parser = new OllyScriptParser(new StringReader(script), "test", host.Object, fsSvc.Object); }
public void Setup() { this.parser = null; this.host = new Mock <IOdbgScriptHost>(); this.fsSvc = new Mock <IFileSystemService>(); }