예제 #1
0
        public void GetGamesListJSONByPlatform_Test()
        {
            GenreBusiness.Fill();
            PlatformBusiness.Fill();
            var games = APIFunctions.GetGamesListJSONByPlatform("6", "Snes");

            Assert.IsNotNull(games);
        }
예제 #2
0
 public static void InitXml()
 {
     XML.LoadXmlConfig();
     XML.LoadXmlGenres();
     XML.LoadXmlLabels();
     XML.LoadXmlPlatforms();
     XML.LoadXmlRoms();
     XML.LoadXmlRomStatus();
     XML.LoadXmlRomLabels();
     RomLabelBusiness.Fill();
     GenreBusiness.Fill();
     PlatformBusiness.Fill();
     RomStatusBusiness.Fill();
     RomLabelsBusiness.Fill();
     RomBusiness.Fill();
 }