Esempio n. 1
0
        public void FT_EffectsLabTest()
        {
            TestGeneratedSlideEffect(ZIndexRecolorTestSlide, PplFeatures.SepiaBackgroundEffect);
            TestGeneratedSlideEffect(ZIndexBlurTestSlide, PplFeatures.BlurBackgroundEffect);

            TestSlideEffect(BlurSelectedShapeTestSlide, PplFeatures.BlurSelectedEffect);
            TestSlideEffect(BlurSelectedShapeWithTextTestSlide, PplFeatures.BlurSelectedEffect);
            TestSlideEffect(BlurSelectedTextBoxTestSide, PplFeatures.BlurSelectedEffect);
            TestSlideEffect(BlurSelectedGroupTestSlide, PplFeatures.BlurSelectedEffect);

            TestGeneratedSlideEffect(BlurRemainderShapeTestSlide, PplFeatures.BlurRemainderEffect);
            TestGeneratedSlideEffect(BlurRemainderShapeWithTextTestSlide, PplFeatures.BlurRemainderEffect);
            TestGeneratedSlideEffect(BlurBackgroundTextBoxTestSlide, PplFeatures.BlurBackgroundEffect);
            TestGeneratedSlideEffect(BlurBackgroundGroupTestSlide, PplFeatures.BlurBackgroundEffect);

            // recolor
            TestGeneratedSlideEffect(RecolorSepiaTestSlide, PplFeatures.SepiaRemainderEffect);
            TestGeneratedSlideEffect(RecolorGothamTestSlide, PplFeatures.GothamRemainderEffect);
            TestGeneratedSlideEffect(RecolorBlackAndWhiteTestSlide, PplFeatures.BlackAndWhiteBackgroundEffect);
            TestGeneratedSlideEffect(RecolorGreyScaleTestSlide, PplFeatures.GreyScaleBackgroundEffect);

            // tinted
            PplFeatures.SetTintForBlurSelected(true);
            TestSlideEffect(TintBlurSelectedShapeTestSlide, PplFeatures.BlurSelectedEffect);

            PplFeatures.SetTintForBlurRemainder(true);
            TestGeneratedSlideEffect(TintBlurRemainderTextBoxTestSlide, PplFeatures.BlurRemainderEffect);
            TestGeneratedSlideEffect(TintBlurRemainderGroupTestSlide, PplFeatures.BlurRemainderEffect);

            PplFeatures.SetTintForBlurBackground(true);
            TestGeneratedSlideEffect(TintBlurBackgroundShapeWithTextTestSlide, PplFeatures.BlurBackgroundEffect);

            // other effects
            TestSlideEffect(MagnifyTestSlide, PplFeatures.MagnifyingGlassEffect);
            TestSlideEffect(TransparentTestSlide, PplFeatures.TransparentEffect);
        }