AspectSharp.Lang.Tests.SemanticAnalizerTestCase.DuplicatePointcutsWithNameAndRetType C# (CSharp) Method

DuplicatePointcutsWithNameAndRetType() private method

private DuplicatePointcutsWithNameAndRetType ( ) : void
return void
		public void DuplicatePointcutsWithNameAndRetType()
		{
			String content = "aspect McBrother for X " +
				"  pointcut method(string Name) " +
				"  end " +
				" " + 
				"  pointcut method(String Name) " +
				"  end " +
				"end";

			Analize( CreateEngineConfiguration( content ) );
			Assert.IsTrue(_context.HasErrors);
			AssertOutput("Duplicated pointcut definition found;");
		}