/// <summary> /// Tests all defined length captures and tests for lag time, with sync and asyc settings /// </summary> /// <param name="motionSensorType"></param> public void TestCapture_BothSyncs(MotionSensorTypes motionSensorType) { this.motionSensorType = motionSensorType; captures = new CaptureListTesting(); captures.PopulateTimedCaptures(); RunTests(); }
/// <summary> /// Tests all captures in the database. Each setting is taken through its predefined range, with all captures being tested /// throughout those ranges. All other settings remain at their default value /// </summary> public void TestAllCaptures_SequentialSettingChanges(MotionSensorTypes motionSensorType) { captures = new CaptureListTesting(); captures.PopulateAllCaptures(true); MotionSensorSettingsList motionSensorSettingsList = new MotionSensorSettingsList(); motionSensorSettingsList.PopulateSequentialChange(); foreach (MotionSensorSettingsTest setting in motionSensorSettingsList.list) { captures.list.ForEach(x => TestMotion(x, motionSensorType, setting)); } }