28 references to UnescapeAll
Microsoft.Build.Utilities.Core (9)
Microsoft.Build.Utilities.UnitTests (19)
EscapingUtilities_Tests.cs (19)
18Assert.Equal("", EscapingUtilities.UnescapeAll(""));
19Assert.Equal("foo", EscapingUtilities.UnescapeAll("foo"));
20Assert.Equal("foo space", EscapingUtilities.UnescapeAll("foo%20space"));
21Assert.Equal("foo2;", EscapingUtilities.UnescapeAll("foo2%3B"));
22Assert.Equal(";foo3", EscapingUtilities.UnescapeAll("%3bfoo3"));
23Assert.Equal(";", EscapingUtilities.UnescapeAll("%3b"));
24Assert.Equal(";;;;;", EscapingUtilities.UnescapeAll("%3b%3B;%3b%3B"));
25Assert.Equal("%3B", EscapingUtilities.UnescapeAll("%253B"));
26Assert.Equal("===%ZZ %%%===", EscapingUtilities.UnescapeAll("===%ZZ%20%%%==="));
27Assert.Equal("hello; escaping% how( are) you?", EscapingUtilities.UnescapeAll("hello%3B escaping%25 how%28 are%29 you%3f"));
29Assert.Equal("%*?*%*", EscapingUtilities.UnescapeAll("%25*?*%25*"));
30Assert.Equal("%*?*%*", EscapingUtilities.UnescapeAll("%25%2a%3f%2a%25%2a"));
32Assert.Equal("*Star*craft or *War*cr@ft??", EscapingUtilities.UnescapeAll("%2aStar%2Acraft%20or %2aWar%2Acr%40ft%3f%3F"));
52Assert.Equal(text, EscapingUtilities.UnescapeAll(EscapingUtilities.Escape(text)));
55Assert.Equal(text, EscapingUtilities.UnescapeAll(EscapingUtilities.Escape(text)));
58Assert.Equal(text, EscapingUtilities.UnescapeAll(EscapingUtilities.Escape(text)));
67Assert.Equal(text, EscapingUtilities.Escape(EscapingUtilities.UnescapeAll(text)));
70Assert.Equal(text, EscapingUtilities.Escape(EscapingUtilities.UnescapeAll(text)));
73Assert.Equal(text, EscapingUtilities.Escape(EscapingUtilities.UnescapeAll(text)));