< Summary

Class:MUNity.Database.Models.Simulation.Simulation
Assembly:MUNity.Database
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNityDatabase\Models\Simulation\Simulation.cs
Covered lines:0
Uncovered lines:18
Coverable lines:18
Total lines:62
Line coverage:0% (0 of 18)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:16
Method coverage:0% (0 of 16)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_SimulationId()100%10%
get_Name()100%10%
get_Phase()100%10%
get_LobbyMode()100%10%
get_LastStatusChange()100%10%
get_Password()100%10%
get_Roles()100%10%
get_Users()100%10%
get_Statuses()100%10%
get_AgendaItems()100%10%
get_PetitionTypes()100%10%
get_ListOfSpeakers()100%10%
get_CurrentResolutionId()100%10%
get_Resolutions()100%10%
get_PresentChecks()100%10%
.ctor()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNityDatabase\Models\Simulation\Simulation.cs

#LineLine coverage
 1using MUNity.Base;
 2using System;
 3using System.Collections.Generic;
 4using System.Linq;
 5using System.Security.Cryptography.X509Certificates;
 6using System.Text.Json.Serialization;
 7using System.Threading.Tasks;
 8
 9namespace MUNity.Database.Models.Simulation;
 10
 11public class Simulation
 12{
 13
 014    public int SimulationId { get; set; }
 15
 016    public string Name { get; set; }
 17
 018    public GamePhases Phase { get; set; }
 19
 020    public LobbyModes LobbyMode { get; set; }
 21
 022    public DateTime? LastStatusChange { get; set; }
 23
 24    /// <summary>
 25    /// The password is used for administration of the Simulation.
 26    /// </summary>
 027    public string Password { get; set; }
 28
 029    public ICollection<SimulationRole> Roles { get; set; }
 30
 031    public ICollection<SimulationUser> Users { get; set; }
 32
 33    // Chat vorerst nicht speichern.
 34    //public List<AllChatMessage> AllChat { get; set; }
 35
 036    public ICollection<SimulationStatus> Statuses { get; set; }
 37
 038    public ICollection<AgendaItem> AgendaItems { get; set; }
 39
 040    public ICollection<PetitionTypeSimulation> PetitionTypes { get; set; }
 41
 42    /// <summary>
 43    /// Die Redner in diesem Gremium.
 44    /// </summary>
 045    public MUNity.Database.Models.LoS.ListOfSpeakers ListOfSpeakers { get; set; }
 46
 047    public string CurrentResolutionId { get; set; }
 48
 049    public ICollection<Resolution.ResolutionAuth> Resolutions { get; set; }
 50
 051    public ICollection<SimulationPresents> PresentChecks { get; set; }
 52
 53
 054    public Simulation()
 055    {
 56        //Users = new List<SimulationUser>();
 57        //Roles = new List<SimulationRole>();
 58        //Statuses = new List<SimulationStatus>();
 59        // Legacy Code:
 60        //Requests = new List<SimSimRequestModel>();
 061    }
 62}