< Summary

Class:DCL.AssetPromiseKeeper_Mock
Assembly:AssetPromiseKeeper
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/Common/Mock/AssetPromiseKeeper_Mock.cs
Covered lines:2
Uncovered lines:1
Coverable lines:3
Total lines:18
Line coverage:66.6% (2 of 3)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
AssetPromiseKeeper_Mock(...)0%110100%
OnSilentForget(...)0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/Common/Mock/AssetPromiseKeeper_Mock.cs

#LineLine coverage
 1using System.Collections.Generic;
 2
 3namespace DCL
 4{
 5    public class Asset_Mock : Asset
 6    {
 7        public override void Cleanup() { }
 8    }
 9
 10    public class AssetPromiseKeeper_Mock : AssetPromiseKeeper<Asset_Mock, AssetLibrary_Mock, AssetPromise_Mock>
 11    {
 2612        public AssetPromiseKeeper_Mock(AssetLibrary_Mock library) : base(library) { }
 13
 614        protected override void OnSilentForget(AssetPromise_Mock promise) { base.OnSilentForget(promise); }
 15
 016        public Dictionary<object, AssetPromise_Mock> masterPromises => masterPromiseById;
 17    }
 18}