AspectSharp.Tests.InterceptorTests.InterceptorTestCase.PointcutsCombined C# (CSharp) Method

PointcutsCombined() private method

private PointcutsCombined ( ) : void
return void
		public void PointcutsCombined()
		{
			String contents = "import AspectSharp.Tests.Classes in AspectSharp.Tests " + 
				" " + 
				" aspect MyAspect for ComplexClass " + 
				"   " + 
				"   pointcut property(*)" + 
				"     advice(AspectSharp.Tests.Classes.LogInvocationInterceptor)" + 
				"   end" + 
				"   pointcut method(*)" + 
				"     advice(AspectSharp.Tests.Classes.LogInvocationInterceptor)" + 
				"   end" + 
				"   " + 
				" end ";

			AspectEngineBuilder builder = new AspectLanguageEngineBuilder(contents);
			AspectEngine engine = builder.Build();
			
			WrapAndInvokeEverything(engine);

			String[] messages = LogInvocationInterceptor.Messages;
			Assert.AreEqual( 8, messages.Length );
			// TODO: Assert messages in correct order
		}