Exemplo n.º 1
0
        public void IfAssemblyIsWeaved_ThenWeaverDebuggerShouldBePossible()
        {
            // Arrange
            var assemblyPath = @"c:\???";

            Weaver = new ModuleWeaver();
            Weaver.AddClassFilter("???");
            Weaver.AddAdditionalAssemblyResolveFolder(Path.GetDirectoryName(assemblyPath));
            Weaver.WeaveToShadowFile(assemblyPath);
        }
        public void IfAssemblyIsWeaved_ThenWeaverDebuggerShouldBePossible()
        {
            const string assemblyPath = @"C:\Dev\So\Main\Source\Vescon.So\Vescon.So.Server.Business\bin\Debug\Vescon.So.Server.Business.dll";

            // Arrange
            Weaver = new ModuleWeaver();
            Weaver.AddClassFilter("Vescon.So.Server.Business.Services.Layout.CommandHandlerBase");
            //Weaver.AddMethodFilter("Vescon.So.Server.Services.Layout.PageIncrementalService.HandleSaveAttributeValuesCommand");
            Weaver.AddAdditionalAssemblyResolveFolder(Path.GetDirectoryName(assemblyPath));
            Weaver.WeaveToShadowFile(assemblyPath);
        }
        public void IfAssemblyIsWeaved_ThenWeaverDebuggerShouldBePossible()
        {
            const string assemblyPath = @"C:\Users\r.kornelius\Desktop\Vescon.So.Server.Jobs.General.dll";

            // Arrange
            Weaver = new ModuleWeaver();
            Weaver.AddClassFilter("Vescon.So.Server.Jobs.General.Translations.GeneralTranslations");
            //Weaver.AddMethodFilter("Vescon.So.Server.Services.Layout.PageIncrementalService.HandleSaveAttributeValuesCommand");
            Weaver.AddAdditionalAssemblyResolveFolder(Path.GetDirectoryName(assemblyPath));
            Weaver.WeaveToShadowFile(assemblyPath);
        }
        public void IfAssemblyIsWeaved_ThenWeaverDebuggerShouldBePossible()
        {
            const string assemblyPath = @"C:\Dev\So\Main\Source\Vescon.So\Vescon.So.Server.Business\bin\Debug\Vescon.So.Server.Business.dll";

            // Arrange
            Weaver = new ModuleWeaver();
            Weaver.AddClassFilter("Vescon.So.Server.Business.Services.Layout.CommandHandlerBase");
            //Weaver.AddMethodFilter("Vescon.So.Server.Services.Layout.PageIncrementalService.HandleSaveAttributeValuesCommand");
            Weaver.AddAdditionalAssemblyResolveFolder(Path.GetDirectoryName(assemblyPath));
            Weaver.WeaveToShadowFile(assemblyPath);
        }