public void Parse_uspSearchCandidateResumes_NoWhitespace() { using (StringReader reader = new StringReader(Resources.AdventureWorks2014_dbo_uspSearchCandidateResumes)) using (TSQLTokenizer lexer = new TSQLTokenizer(reader)) { TokenComparisons.CompareStreamStartToList( GetuspSearchCandidateResumesTokens() .Where(t => !(t is TSQLWhitespace)).ToList(), lexer); } }
public void Parse_uspSearchCandidateResumes() { using (StringReader reader = new StringReader(Resources.AdventureWorks2014_dbo_uspSearchCandidateResumes)) using (TSQLTokenizer lexer = new TSQLTokenizer(reader) { IncludeWhitespace = true }) { TokenComparisons.CompareStreamStartToList( GetuspSearchCandidateResumesTokens(), lexer); } }
public void Parse_uspSearchCandidateResumes_NoWhitespace() { using (StringReader reader = new StringReader(Resources.AdventureWorks2014_dbo_uspSearchCandidateResumes)) using (TSQLTokenizer lexer = new TSQLTokenizer(reader)) { Assert.IsFalse(lexer.IncludeWhitespace); Assert.IsFalse(lexer.UseQuotedIdentifiers); TokenComparisons.CompareStreamStartToList( GetuspSearchCandidateResumesTokens() .Where(t => !(t is TSQLWhitespace)).ToList(), lexer); } }