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

InvalidPointcutDeclaration() private method

private InvalidPointcutDeclaration ( ) : void
return void
		public void InvalidPointcutDeclaration()
		{
			String content = "aspect McBrother for X " +
				"  pointcut property|propertyread(*) " +
				"  end " +
				"end";

			Analize( CreateEngineConfiguration( content ) );
			Assert.IsTrue(_context.HasErrors);
			AssertOutput("Meaningless declaration. A pointcut to a property can't be combined with property read or write. This is implied;");
		}