Exemplo n.º 1
0
        public static IEnumerable <object[]> GetPageAndFeatureTemplatesForBuild(string framework, string language = ProgrammingLanguages.CSharp, string platform = Platforms.Uwp, string excludedItem = "")
        {
            IEnumerable <object[]> result = new List <object[]>();

            switch (framework)
            {
            case Frameworks.CodeBehind:
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language, platform, excludedItem);
                break;

            case Frameworks.MVVMBasic:
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language, platform, excludedItem);
                break;

            case Frameworks.MVVMLight:
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language, platform, excludedItem);
                break;

            case Frameworks.MVVMToolkit:
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language, platform, excludedItem);
                break;

            case Frameworks.CaliburnMicro:
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language, platform, excludedItem);
                break;

            case Frameworks.Prism:
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language, platform, excludedItem);
                break;
            }

            return(result);
        }
        public static IEnumerable <object[]> GetPageAndFeatureTemplatesForBuild(string framework, string language = ProgrammingLanguages.CSharp)
        {
            IEnumerable <object[]> result = new List <object[]>();

            switch (framework)
            {
            case "CodeBehind":
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language);
                break;

            case "MVVMBasic":
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language);
                break;

            case "MVVMLight":
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework, language);
                break;

            case "CaliburnMicro":
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework);
                break;

            case "Prism":
                result = BuildTemplatesTestFixture.GetPageAndFeatureTemplatesForBuild(framework);
                break;
            }

            return(result);
        }