Exemplo n.º 1
0
        private void AssertParseConditionResult(ProjectFilePropertyExpressionParser parser, string source, bool expectedResult)
        {
            var result = parser.Parse <bool>(source, parser.ParseEqualityExpression);

            Assert.That(result, Is.EqualTo(expectedResult));
        }
 private void AssertParseStringResult(ProjectFilePropertyExpressionParser parser, string source, string expected)
 {
     var result = parser.Parse<string>(source, parser.ParseString);
     Assert.That(result, Is.EqualTo(expected));
 }
Exemplo n.º 3
0
        private void AssertParseStringResult(ProjectFilePropertyExpressionParser parser, string source, string expected)
        {
            var result = parser.Parse <string>(source, parser.ParseString);

            Assert.That(result, Is.EqualTo(expected));
        }
 private void AssertParseConditionResult(ProjectFilePropertyExpressionParser parser, string source, bool expectedResult)
 {
     var result = parser.Parse<bool>(source, parser.ParseEqualityExpression);
     Assert.That(result, Is.EqualTo(expectedResult));
 }