AspectSharp.Lang.Tests.SemanticAnalizerTestCase.DuplicatePointcutsWithNameAndRetType C# (CSharp) 메소드

DuplicatePointcutsWithNameAndRetType() 개인적인 메소드

private DuplicatePointcutsWithNameAndRetType ( ) : void
리턴 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;");
		}