PageRenderTime 7ms CodeModel.GetById 3ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/NRefactory/ICSharpCode.NRefactory.VB.Tests/Parser/SnippetParserTests.cs

http://github.com/icsharpcode/ILSpy
C# | 22 lines | 10 code | 2 blank | 10 comment | 0 complexity | b455dc6c818bd1556325d408f0bb6144 MD5 | raw file
 1// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 2// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 3
 4using ICSharpCode.NRefactory.VB.Ast;
 5using System;
 6using NUnit.Framework;
 7
 8namespace ICSharpCode.NRefactory.VB.Tests
 9{
10	[TestFixture]
11	public class SnippetParserTests
12	{
13//		[Test]
14//		public void InvalidExpressionSyntax()
15//		{
16//			// SD2-1584: ensure we don't crash on this invalid VB code
17//			SnippetParser parser = new SnippetParser();
18//			INode node = parser.Parse("i == 5");
19//			Assert.IsTrue(parser.Errors.Count > 0);
20//		}
21	}
22}