• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HicServices / RDMP / 13155052063

05 Feb 2025 10:13AM UTC coverage: 57.45% (+0.01%) from 57.437%
13155052063

Pull #2125

github

JFriel
clone version
Pull Request #2125: Task/rdmp 265 version data loads

11328 of 21273 branches covered (53.25%)

Branch coverage included in aggregate %.

96 of 172 new or added lines in 8 files covered. (55.81%)

3 existing lines in 3 files now uncovered.

32228 of 54543 relevant lines covered (59.09%)

17098.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Rdmp.Core/CommandExecution/AtomicCommands/ExecuteCommandCloneLoadMetadata.cs
1
using Rdmp.Core.Curation.Data.DataLoad;
2
using Rdmp.Core.Curation.Data;
3

4
namespace Rdmp.Core.CommandExecution.AtomicCommands;
5

6
public class ExecuteCommandCloneLoadMetadata : BasicCommandExecution
7
{
8
    private readonly LoadMetadata _loadMetadata;
9
    private readonly IBasicActivateItems _activator;
NEW
10
    public ExecuteCommandCloneLoadMetadata(IBasicActivateItems activator,[DemandsInitialization("The LoadMetadata to clone")] LoadMetadata loadMetadata)
×
11
    {
12

NEW
13
        _loadMetadata = loadMetadata;
×
NEW
14
        _activator = activator;
×
NEW
15
    }
×
16

17
    public override void Execute()
18
    {
NEW
19
        base.Execute();
×
NEW
20
        var lmd = _loadMetadata.Clone();
×
NEW
21
        lmd.Name = lmd.Name + " (Clone)";
×
NEW
22
        lmd.SaveToDatabase();
×
NEW
23
        _activator.Publish(lmd);
×
24

NEW
25
    }
×
26
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc