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

DuplicateInterceptorsInPointcut() private method

private DuplicateInterceptorsInPointcut ( ) : void
return void
		public void DuplicateInterceptorsInPointcut()
		{
			String content = "aspect McBrother for X " +
				"  pointcut property(* Name) " +
				"    " +
				"    advice(Interceptors.SecurityInterceptor in MyAssembly) " +
				"    advice(Interceptors.SecurityInterceptor in MyAssembly) " +
				"    " +
				"  end " +
				"end";

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