< Summary

Class:AssetPromiseKeeper_Gif_Tests.APK_Gif_ShouldWorkWhen
Assembly:AssetPromiseKeeper_Gif_Tests
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/AssetManager/Gif/Tests/APK_Gif_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/Gif/Tests/APK_Gif_ShouldWorkWhen.cs

#LineLine coverage
 1using AssetPromiseKeeper_Tests;
 2using DCL;
 3using DCL.Helpers;
 4
 5namespace AssetPromiseKeeper_Gif_Tests
 6{
 7    public class APK_Gif_ShouldWorkWhen : APKWithRefCountedAssetShouldWorkWhen_Base<AssetPromiseKeeper_Gif,
 8        AssetPromise_Gif,
 9        Asset_Gif,
 10        AssetLibrary_RefCounted<Asset_Gif>>
 11    {
 12        protected override AssetPromise_Gif CreatePromise()
 13        {
 814            string url = TestAssetsUtils.GetPath() + "/Images/gif1.gif";
 815            var prom = new AssetPromise_Gif(url);
 816            return prom;
 17        }
 18    }
 19}

Methods/Properties

CreatePromise()