Example #1
0
        public void GetAllProjects()
        {
            List <string> sdkProj   = ProjSearch.Find_Mgmt_SDKProjects();
            List <string> allRpDirs = ProjSearch.GetRPDirs();

            Assert.True(DoesParentDirsMatch(allRpDirs, sdkProj));
        }
        public void GetMgmtProjects()
        {
            string scopeToken = "compute";
            ProjectSearchUtility psu = new ProjectSearchUtility(this.TestAssetSdkForNetDirPath, null, scopeToken,
                string.Empty, string.Empty, string.Empty, SdkProjectType.All, SdkProjectCategory.MgmtPlane);

            List<string> sdkProj = psu.Find_Mgmt_SDKProjects();
            Assert.Single(sdkProj);

            List<string> testProj = psu.Find_Mgmt_TestProjects();
            Assert.Single(testProj);
        }