Esempio n. 1
0
        public void GetGamesListByPlatform_Test()
        {
            GenreBusiness.Fill();
            var games = APIFunctions.GetGamesListByPlatform("6", "", "");

            Assert.IsNotNull(games);
        }
Esempio n. 2
0
        public void GetGameDetails_Test()
        {
            GenreBusiness.Fill();
            var access = "";
            var games  = APIFunctions.GetGameDetails("136", new Platform(), out access);

            Assert.IsNotNull(games);
        }
Esempio n. 3
0
        public void GetGameByName_Test()
        {
            GenreBusiness.Fill();
            var access = "";
            var games  = APIFunctions.GetGameByName("136", "Super Mario World", out access);

            Assert.IsNotNull(games);
        }
Esempio n. 4
0
        public void GetGameArtUrls_Test()
        {
            GenreBusiness.Fill();
            string box, title, gameplay = "";
            var    access = "";
            var    result = APIFunctions.GetGameArtUrls("136", out box, out title, out gameplay, out access);

            Assert.IsTrue(result);
            Assert.IsNotNull(box);
            Assert.IsNotNull(title);
            Assert.IsNotNull(gameplay);
        }