Пример #1
0
        public void indexMultiCloudImageSettingSimple()
        {
            List <MultiCloudImageSetting> mcis = MultiCloudImageSetting.index(multiCloudImageID);

            Assert.IsNotNull(mcis);
            Assert.IsTrue(mcis.Count > 0);
        }
Пример #2
0
        public void multiCloudImageSettingCloud()
        {
            List <MultiCloudImageSetting> mcis = MultiCloudImageSetting.index(multiCloudImageID);

            Assert.IsNotNull(mcis);
            Assert.IsTrue(mcis.Count > 0);
            Cloud instanceType = mcis[0].cloud;

            Assert.IsTrue(true);
        }
Пример #3
0
        public void multiCloudImageSettingImaeg()
        {
            List <MultiCloudImageSetting> mcis = MultiCloudImageSetting.index(multiCloudImageID);

            Assert.IsNotNull(mcis);
            Assert.IsTrue(mcis.Count > 0);
            Image image = mcis[0].image;

            Assert.IsTrue(true);
        }
Пример #4
0
        public void indexMultiCloudImageSettingFiltered()
        {
            List <Filter> filters = new List <Filter>();

            filters.Add(new Filter("cloud_href", FilterOperator.NotEqual, "/api/clouds/2432"));
            List <MultiCloudImageSetting> mcis = MultiCloudImageSetting.index(multiCloudImageID, filters);

            Assert.IsNotNull(mcis);
            Assert.IsTrue(mcis.Count > 0);
        }