< Summary

Class:DCL.Tutorial_Tests.TutorialStep_Mock
Assembly:TutorialControllerTests
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Tutorial/Tests/Helpers/TutorialStep_Mock.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:28
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
OnStepStart()0%110100%
OnStepExecute()0%330100%
OnStepPlayHideAnimation()0%330100%
OnStepFinished()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Tutorial/Tests/Helpers/TutorialStep_Mock.cs

#LineLine coverage
 1using DCL.Tutorial;
 2using System.Collections;
 3
 4namespace DCL.Tutorial_Tests
 5{
 6    public class TutorialStep_Mock : TutorialStep
 7    {
 8        public delegate void CustomOnStepStart();
 9        public CustomOnStepStart customOnStepStart;
 10
 11        public delegate IEnumerator CustomOnStepExecute();
 12        public CustomOnStepExecute customOnStepExecute;
 13
 14        public delegate IEnumerator CustomOnStepPlayAnimationForHidding();
 15        public CustomOnStepPlayAnimationForHidding customOnStepPlayAnimationForHidding;
 16
 17        public delegate void CustomOnStepFinished();
 18        public CustomOnStepFinished customOnStepFinished;
 19
 4020        public override void OnStepStart() { customOnStepStart(); }
 21
 4022        public override IEnumerator OnStepExecute() { yield return customOnStepExecute; }
 23
 4024        public override IEnumerator OnStepPlayHideAnimation() { yield return customOnStepPlayAnimationForHidding; }
 25
 4026        public override void OnStepFinished() { customOnStepFinished(); }
 27    }
 28}