public override void RenderAsHtml() { if (FullSeason) { YahooMaster.Calculate(TimeKeeper.Season); Logger.Info(" Generating Yahoo xml for full Season}"); } else { Logger.Info( " Generating Yahoo xml for Season {0} Week {1}", TimeKeeper.Season, TimeKeeper.Week); YahooMaster.Calculate( TimeKeeper.Season, TimeKeeper.PreviousWeek()); } YahooMaster.Dump2Xml(Logger); }
public void TestGenerateYahooXmlForEntireSeason() { var m = new YahooMaster( "Yahoo", "YahooOutput.xml" ); m.Calculate( "2015" ); m.Dump2Xml(); }
public void TestGenerateYahooXml() { var m = new YahooMaster( "Yahoo", "YahooOutput.xml" ); m.Calculate( season: "2016", week: "09" ); m.Dump2Xml(); }
public void TestGenYahooAllPositionsCurrentWeek() { var m = new YahooMaster( "Yahoo", "YahooOutput.xml" ); m.Calculate( "2014", "09" ); m.Dump2Xml(); Assert.IsTrue( File.Exists( m.Filename ) ); //TestAllPositionsBeastModeCurrentWeek(); TestAllPositionsYahooCurrentWeek(); //TestAllPositionsRantsCurrentWeek(); }
public override void RenderFullAsHtml() { YahooMaster.Calculate(TimeKeeper.Season); YahooMaster.Dump2Xml(Logger); }