Esempio n. 1
0
        private static void AssertGetQuotedPairLength(string input, int startIndex, int expectedLength,
                                                      HttpParseResult expectedResult)
        {
            int             length = 0;
            HttpParseResult result = HttpRuleParser.GetQuotedPairLength(input, startIndex, out length);

            Assert.Equal(expectedResult, result);
            Assert.Equal(expectedLength, length);
        }