public void ParseVariableDeclarations() { MethodElement method = ParserTestingUtils.GetMethod("..\\..\\Parser\\Parser.UnitTests\\TestFiles\\ShortCSharpFile.txt", "LaunchSrcML"); Assert.IsTrue(method.Body.Contains("waddow")); }
public void ParseStringLiterals() { MethodElement method = ParserTestingUtils.GetMethod("..\\..\\Parser\\Parser.UnitTests\\TestFiles\\ShortCSharpFile.txt", "LaunchSrcML"); Assert.IsTrue(method.Body.Contains("Testingphraseola")); }
public void ParseParameters() { MethodElement method = ParserTestingUtils.GetMethod("..\\..\\Parser\\Parser.UnitTests\\TestFiles\\ShortCSharpFile.txt", "GenerateSrcML"); Assert.IsTrue(method.Arguments.Contains("parameterFilename")); Assert.IsTrue(method.Arguments.Contains("String")); }