AspectSharp.Tests.AspectEngineBuilderTestCase.BuildUsingLanguage C# (CSharp) Méthode

BuildUsingLanguage() private méthode

private BuildUsingLanguage ( ) : void
Résultat void
		public void BuildUsingLanguage()
		{
			String contents = "import AspectSharp.Tests.Classes in AspectSharp.Tests " + 
				" interceptors [" + 
				" \"key\" : DummyInterceptor " + 
				" ]" + 
				" mixins [" + 
				" \"key\" : DummyMixin " + 
				" ]" + 
				" " + 
				" aspect McBrother for DummyCustomer " + 
				"   include \"key\"" + 
				"   " + 
				"   pointcut method(*)" + 
				"     advice(\"key\")" + 
				"   end" + 
				"   " + 
				" end ";

			AspectEngineBuilder builder = new AspectLanguageEngineBuilder(contents);

			AspectEngine engine = builder.Build();
			AssertEngineConfiguration(engine);
		}