11 references to AssertTokenize
Microsoft.Build.Tasks.UnitTests (11)
VisualBasicTokenizer_Tests.cs (11)
16public void Empty() { AssertTokenize("", "", "", 0); }
18public void OneSpace() { AssertTokenize(" ", " \x0d", ".eol", 1); }
20public void TwoSpace() { AssertTokenize("  ", "  \x0d", ".eol", 1); }
22public void Tab() { AssertTokenize("\t", "\t\x0d", ".eol", 1); }
24public void TwoTab() { AssertTokenize("\t\t", "\t\t\x0d", ".eol", 1); }
26public void SpaceTab() { AssertTokenize(" \t", " \t\x0d", ".eol", 1); }
58public void EscapedIdentifier() { AssertTokenize("[Namespace]\xd", "Namespace\xd", "Identifier(Namespace)eol", 1); }
70public void EscapedIdentifierHasTypeOnTheOutside() { AssertTokenize("[MyString]$\xd", "MyString$\xd", "Identifier(MyString)Unrecognized($)", 1); }
159public void StringWithDoubledQuotesAsEscape() { AssertTokenize("\"\"\"\"\x0d", "\"\"\"\"\x0d", "StringLiteral(\"\"\"\")eol", 1); }
205AssertTokenize("\x0d\x0a", "\x0d\x0a", "eol", 1);
218AssertTokenize(source, source, expectedTokenKey, 1);