< Summary

Class:DCL.SettingsCommon.SettingsControllers.BaseControllers.SpinBoxSettingsControlController
Assembly:SettingsControllers
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/Settings/SettingsControllers/BaseControllers/SpinBoxSettingsControlController.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:16
Line coverage:100% (2 of 2)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
RaiseOnOverrideIndicatorLabel(...)0%220100%
RaiseOnCurrentLabelChange(...)0%220100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/Settings/SettingsControllers/BaseControllers/SpinBoxSettingsControlController.cs

#LineLine coverage
 1using System;
 2
 3namespace DCL.SettingsCommon.SettingsControllers.BaseControllers
 4{
 5    /// <summary>
 6    /// This controller is in charge of manage all the base logic related to a SPIN-BOX CONTROL.
 7    /// </summary>
 8    public class SpinBoxSettingsControlController : SettingsControlController
 9    {
 10        public event Action<string[]> OnSetLabels;
 411        protected void RaiseOnOverrideIndicatorLabel(string[] labels) { OnSetLabels?.Invoke(labels); }
 12
 13        public event Action<string> OnCurrentLabelChange;
 214        protected void RaiseOnCurrentLabelChange(string newCurrentLabel) { OnCurrentLabelChange?.Invoke(newCurrentLabel)
 15    }
 16}