< Summary

Class:AssetPromiseKeeper_Texture_Tests.APK_Texture_ShouldWorkWhen
Assembly:AssetPromiseKeeper_Texture_Tests
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/Texture/Tests/APK_Texture_ShouldWorkWhen.cs
Covered lines:3
Uncovered lines:0
Coverable lines:3
Total lines:19
Line coverage:100% (3 of 3)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
CreatePromise()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/Texture/Tests/APK_Texture_ShouldWorkWhen.cs

#LineLine coverage
 1using AssetPromiseKeeper_Tests;
 2using DCL;
 3using DCL.Helpers;
 4
 5namespace AssetPromiseKeeper_Texture_Tests
 6{
 7    public class APK_Texture_ShouldWorkWhen : APKWithRefCountedAssetShouldWorkWhen_Base<AssetPromiseKeeper_Texture,
 8        AssetPromise_Texture,
 9        Asset_Texture,
 10        AssetLibrary_Texture>
 11    {
 12        protected override AssetPromise_Texture CreatePromise()
 13        {
 814            string url = TestAssetsUtils.GetPath() + "/Images/atlas.png";
 815            var prom = new AssetPromise_Texture(url);
 816            return prom;
 17        }
 18    }
 19}

Methods/Properties

CreatePromise()