static TestApplicationJumpListService CreateTestService(TestNativeJumpList nativeJumpList, out TestJumpActionsManager jumpActionsManager)
        {
            jumpActionsManager = new TestJumpActionsManager();
            var applicationJumpListService = new TestApplicationJumpListService(nativeJumpList, jumpActionsManager);

            applicationJumpListService.Items.Clear();
            return(applicationJumpListService);
        }
 protected override void SetUpCore() {
     base.SetUpCore();
     ApplicationJumpListServiceTestsImageSourceHelper.RegisterPackScheme();
     NativeResourceManager.CompanyNameOverride = "DevExpress Tests";
     NativeResourceManager.ProductNameOverride = "DevExpress.Xpf.Core Tests";
     nativeJumpList = new TestNativeJumpList();
     jumpActionsManager = new TestJumpActionsManager();
     applicationJumpListService = new TestApplicationJumpListService(nativeJumpList, jumpActionsManager);
     Assert.IsNotNull(applicationJumpListService);
     applicationJumpListService.Items.Clear();
 }
Example #3
0
 protected override void SetUpCore()
 {
     base.SetUpCore();
     ApplicationJumpListServiceTestsImageSourceHelper.RegisterPackScheme();
     NativeResourceManager.CompanyNameOverride = "DevExpress Tests Long Path Test Long Path Test Long Path Test Long Path Test";
     NativeResourceManager.ProductNameOverride = "DevExpress.Xpf.Core Tests Long Path Test Long Path Test Long Path Test";
     NativeResourceManager.VersionOverride     = AssemblyInfo.Version;
     nativeJumpList             = new TestNativeJumpList();
     jumpActionsManager         = new TestJumpActionsManager();
     applicationJumpListService = new TestApplicationJumpListService(nativeJumpList, jumpActionsManager);
     Assert.IsNotNull(applicationJumpListService);
     applicationJumpListService.Items.Clear();
 }