コード例 #1
0
 public static PlaymodeTestsControllerSettings CreateRunnerSettings(TestRunnerFilter filter) =>
 new PlaymodeTestsControllerSettings
 {
     filter         = filter,
     sceneBased     = false,
     bootstrapScene = null,
     resultFilePath = null,
     isBatchModeRun = false,
     originalScene  = null
 };
コード例 #2
0
 public static PlaymodeTestsControllerSettings CreateRunnerSettings(TestRunnerFilter filter)
 {
     return new PlaymodeTestsControllerSettings { 
         filter = filter,
         sceneBased = false,
         bootstrapScene = null,
         resultFilePath = null,
         isBatchModeRun = false,
         originalScene = null
     };
 }
コード例 #3
0
 protected override void RunTests(TestRunnerFilter filter)
 {
     foreach (TestResult result in base.newResultList)
     {
         if (filter.Matches(result))
         {
             result.resultType = TestResult.ResultType.NotRun;
         }
     }
     EditModeLauncher launcher = new EditModeLauncher(filter);
     launcher.AddEventHandler<WindowResultUpdater>();
     launcher.Run();
 }
コード例 #4
0
 public bool IsIncluded(TestRunnerFilter filter) =>
 ((filter == null) || filter.Matches(this.name));
コード例 #5
0
 public TestListElement GetPlaymodeTests(TestRunnerFilter filter) =>
 this.GetTests(TestPlatform.PlayMode);
コード例 #6
0
 public TestListElement GetEditmodeTests(TestRunnerFilter filter) =>
 this.GetTests(TestPlatform.EditMode);