Example #1
0
        public void LoadByGuid()
        {
            IPlatformRepository iPlatformDAL = new PlatformRepository(this.Client, this.Database);

            IEnumerable <Platform> platforms = iPlatformDAL.FindAll();

            foreach (Platform platform in platforms)
            {
                Platform platformToCheck = iPlatformDAL.Find(platform.Guid);
                Assert.IsTrue(platformToCheck.Id > 0);
                Assert.IsNotNull(platformToCheck.Name);
            }
        }
        public void LoadByGuid()
        {
            IPlatformRepository iPlatformDAL = new PlatformRepository(this.Client, this.Database);

            IEnumerable<Platform> platforms = iPlatformDAL.FindAll();

            foreach (Platform platform in platforms)
            {
                Platform platformToCheck = iPlatformDAL.Find(platform.Guid);
                Assert.IsTrue(platformToCheck.Id > 0);
                Assert.IsNotNull(platformToCheck.Name);
            }
        }
Example #3
0
        public void GetPlatformSDK()
        {
            IPlatformRepository iPlatformDAL = new PlatformRepository(this.Client, this.Database);

            IEnumerable <Platform> platforms = iPlatformDAL.FindAll();

            foreach (Platform platform in platforms)
            {
                Platform platformSDK = iPlatformDAL.Find(platform.Id);
                Assert.IsTrue(platformSDK.Id > 0);
                Assert.IsNotNull(platformSDK.Name);
                Assert.IsNotNull(platformSDK.Url);
                Assert.IsNotNull(platformSDK.UrlTitle);
            }
        }
        public void GetPlatformSDK()
        {
            IPlatformRepository iPlatformDAL = new PlatformRepository(this.Client, this.Database);

            IEnumerable<Platform> platforms = iPlatformDAL.FindAll();

            foreach (Platform platform in platforms)
            {
                Platform platformSDK = iPlatformDAL.Find(platform.Id);
                Assert.IsTrue(platformSDK.Id > 0);
                Assert.IsNotNull(platformSDK.Name);
                Assert.IsNotNull(platformSDK.Url);
                Assert.IsNotNull(platformSDK.UrlTitle);
            }
        }