/// <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();
 }
예제 #2
0
        /// <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));
            }
        }
 protected void PopulateCapture(string captureId)
 {
     captures = new CaptureListTesting();
     captures.PopulateCapture(true, captureId);
 }
 /// <summary>
 /// Populates the captures List with all captures in the database
 /// </summary>
 protected void PopulateAllCaptures()
 {
     captures = new CaptureListTesting();
     captures.PopulateAllCaptures(true);
 }