Example #1
0
        public void DoWindowContents(Rect canvas)
        {
            var options = new Listing_Standard();

            options.Begin(canvas);
            options.CheckboxLabeled("Include RimTests' own test suite", ref RunOwnTests, "if enabled, RimTest will run its' own test suite as well as any mod test suites.");
            options.GapLine();
            if (options.ButtonText("Run tests now"))
            {
                RimTest.RunTests();
            }
            options.End();
        }
Example #2
0
 /// <summary>
 /// Said entry point
 /// </summary>
 public RimTestMod(ModContentPack content) : base(content)
 {
     Settings = GetSettings <RimTestSettings>();
     RimTest.RunTests();
 }