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