AjTalk.Tests.Compilers.Javascript.CompilerTests.CompileFileOut01 C# (CSharp) Method

CompileFileOut01() private method

private CompileFileOut01 ( ) : void
return void
        public void CompileFileOut01()
        {
            ChunkReader chunkReader = new ChunkReader(@"FileOut01.st");
            CodeReader reader = new CodeReader(chunkReader);
            CodeModel model = new CodeModel();

            reader.Process(model);

            this.compiler.Visit(model);
            this.writer.Close();
            string output = this.writer.ToString();

            // TODO more tests
            Assert.IsTrue(ContainsLine(output, "function Object()"));
        }